[TYPO3-english] Change TYPO3_SITE_SCRIPT
Jan Bednarik
info at bednarik.org
Fri Apr 10 22:11:43 CEST 2009
Hey guys,
there's a web running on really bad hosting which I cannot do anything
about. The problem is that TYPO3_DOCUMENT_ROOT directory is different
from what it is supposed to be.
I cannot upload any file because:
Warning: move_uploaded_file() [function.move-uploaded-file]:
open_basedir restriction in effect.
File(/home/www/example.cz/subdomains/www/fileadmin/tiskove_zpravy/file.txt)
is not within the allowed path(s):
(/home/www/example.cz:/usr/local/lib/php) in
/srv3/www/example.cz/subdomains/www/t3lib/class.t3lib_div.php on line 3876
I was told by webhoster to change /home/www/example.cz to
/srv3/www/example.cz/. He also added /srv3/www/example.cz to
open_basedir list.
I didn't believe that so I've created PHP script that tried to create
file in /srv3/www/example.cz/ and it suceeded!
So now, I'd need to change TYPO3_DOCUMENT_ROOT from
/home/www/example.cz/subdomains/www to /srv3/www/example.cz/subdomains/www.
Is there any way? For the meantime, I will set it manually (not good).
--
Jan Bednarik
www.bednarik.org - web about Typo3 in czech
More information about the TYPO3-english
mailing list