[TYPO3] system update - what would you recommend
H. Hahn
h.hahn at hahn-informatica.nl
Mon Aug 11 16:25:50 CEST 2008
Dear mr. Dmitry,
Sorry, I was incomplete. The session_start() function may require
certain parameters to be defined before. After all, it was called on
line 202, so Typo3 should have had plenty of time to initialise such
variables. The way it did so in Typu3 4.0.5 was such that it did not
cause problems in PHP 4.x and 5.0.5 (or so). In PHP 5.2.6 it seems to be
no longer accepted. And so is the way (the same way??) Typo3 4.2.1 does it.
So my assumption that it is likely not a Typo3 error, may not
necessarily be correct.
Could it possibly be an incompatibility between both Typo3 4.0.5 and
Typo3 4.2.1 on one hand, and PHP 5.2.6 on the other hand?
In other words, may PHP 5.2.6. have special requirements for
session_start() and/or parameters that must be set before this function
is called? If this is the case, other people must surely have had
similar problems!
H. Hahn
H. Hahn schreef:
> Dear mr. Dmitry,
>
> I have now set it to "1". But there is nothing new to that. The
> original default setting, "-1", also produced the error messages on
> the screen. I copied the messages into my first e-mail. I did not
> invent them myself!
>
> The messages as such (especially the first one) seems to be clear
> enough. The PHP function session_start() seemt to try an dwrite to
> some file in a directory where it is not allowed to do so. Or maybe I
> should say: where PHP 5.2.6 disallows it to do so.
>
> As an alternative, I made a little script, test_sess_start.php,
> containing only three lines:
>
> <?php
> session_start();
> ?>
>
> This resulted in exactly the same errors:
>
> *Warning*: session_start() [function.session-start
> <http://www.cheider.nl/cheider2007/fileadmin/scripts/function.session-start>]:
> SAFE MODE Restriction in effect. The script whose uid is 1152609 is
> not allowed to access /var/tmp/ owned by uid 0 in
> */usr/local/WWW/A/.5c2/p/pels4/htdocs/cheider2007/fileadmin/scripts/test_sess_start.php*
> on line *2*
>
> *Fatal error*: session_start() [<a
> href='function.session-start'>function.session-start</a>]: Failed to
> initialize storage module: files (path: ) in
> */usr/local/WWW/A/.5c2/p/pels4/htdocs/cheider2007/fileadmin/scripts/test_sess_start.php*
> on line *2*
>
> So changing the error reporting did not add anything to what I already
> know. It is only useful if extra info can be extracted. I have no idea
> whether or not this is possible. maybe it is, but how?
>
> It actually seems to be a PHP5.2.6 error, or an Apache error, but it
> is such a nasty error that the T3 BE doesn't work with it.
>
> In the meantime, I still cannot acces the backend! But I will have to,
> as I have to work further on the website. (It is already "on the air",
> but only partially.)
> H. Hahn
>
>
> Dmitry Dulepov [typo3] schreef:
>> H. Hahn wrote:
>>> Thankd so far, but is does not help me any further.
>>> The install tool (at /[SYS][displayErrors]/ suggests to set
>>> displayErrors to 0 and have the error messages sent a file defined
>>> in php.ini.
>>
>> Set it to 1 for now. You will see messages on the screen.
>>
More information about the TYPO3-english
mailing list