[TYPO3-install] SAFE MODE
Mark Grieveson
dg135 at torfree.net
Sun May 27 22:12:46 CEST 2007
> Here is some more detail:
> From phpinfo():
> OTHER: PHP_VERSION : 4.4.4-8+etch3
> Configuration File (php.ini) Path /etc/php4/apache2/php.ini
>From /etc/php4/apache2/php.ini:
> safe_mode = Off
> Also, from /etc/php5/apache2/php.ini:
> safe_mode = Off
> The error from the install tool reads:
> Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect.
> The script whose uid is 0 is not allowed to
> access /var/lib/typo3-dummy/typo3temp owned by uid 33
> in /usr/share/typo3/typo3_src-4.0/t3lib/class.t3lib_div.php on line
> 2496
> Line 2496 of class.t3lib_div.php reads:
> if (mkdir($theNewFolder,
> octdec($GLOBALS['TYPO3_CONF_VARS']['BE']['folderCreateMask']))){
> Thanks for your feedback. All ideas appreciated.
> Mark
Some further info:
I changed the php.ini file so that
extension=gd.so
extension=mysql.so
was no longer commented out. It still is not working, though.
However, it's now given me a new error:
Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The
script whose uid is 0 is not allowed to
access /var/lib/typo3-dummy/typo3conf owned by uid 33
in /usr/share/typo3/typo3_src-4.0/t3lib/class.t3lib_div.php on line 2412
Warning: fopen(/var/lib/typo3-dummy/typo3conf/localconf.php.TMP.php)
[function.fopen]: failed to open stream: No such file or directory
in /usr/share/typo3/typo3_src-4.0/t3lib/class.t3lib_div.php on line 2412
It's the first I've heard of line 2412, which has nothing particularly
enlightening when I view it.
The other thing the README.Debian file had in it was to "Execute the
typo3-site-installer to fix the permissions at [sic] it is described
above."
Naturally, this file does not exist.
The Debian specific mailing list, which I also posted to, suggested I
upgrade typo3 via lenny or sid repositories. The sid ones seemed to
have too many problems, but the lenny ones installed okay. However,
there was no TYPO3 Install Tool to be found when I tried the lenny
version. So, I went back to Etch. And, while I got the TYPO3 Install
Tool going, I still could not get typo3 installed.
Yikes. There must be a way to get this going.
Again, all suggestions are appreciated.
Mark
More information about the TYPO3-install
mailing list