[TYPO3-debian] SAFE MODE

Mark Grieveson dg135 at torfree.net
Mon May 28 05:26:15 CEST 2007


On Mon, 28 May 2007 01:19:11 +0200
Steffen Müller <typo3 at t3node.com> wrote:

> Hi Mark.
> 
> before you start to rip your system with packages from Sid...
> > However, when I try to run the typo3 install tool, I got the
> > following:
> >
> > Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect
> >
> 
> Is this the complete warning message or do you get additional infos
> like "The script whose uid is XXX is not allowed to access ..."?

No, it's not the complete message, but yes, it is in the format you
gave.

The first warning I get, as soon as I sign in to the install tool with
joh316, is:

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

There are several of these warnings (all slightly different in what
file it is citing that the action specified on line 2496 cannot access).

After attempting to enter the user name, password, and host of a mysql
user, on basic configuration, I get the following:

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

Those are the only two, in this case.

> 
> > It also frequently tells me that "No values were changed, so
> > nothing is updated!"
> 
> Frequently sounds imprecise. At what step of what action does what
> tell you this?
> 

With any change I attempt, I am given this message.  Trying to change
the initial password, or trying to enter a basic configuration, all
gives me this message. 

Other info:

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

As per the README.Debian file, I made sure that the following lines
were in php.ini, and uncommented:
extension=gd.so
extension=mysql.so

Also from the README.Debian file, I attempted to use the
program /usr/sbin/typo3-site-installer to fix the permissions, but,
alas, this program does not exist.

So, if you've any suggestions, I'm all ears.

Mark


More information about the TYPO3-debian mailing list