Project

General

Profile

Actions

Bug #15003

closed

Typo3 3.8 does not work with PHP 5.0.5

Added by Christian Welzel about 19 years ago. Updated almost 19 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-10-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

After an update to PHP 5.0.5 (our hoster did that) typo3 is not running anymore.
The update was from PHP 5.0.4.
There are many problems: the ext-manager is not working, i cannot edit Page headers and inserting of new pages also fails.
but i can insert new page content elements without problems...

(issue imported from #M1522)

Actions #1

Updated by Rupert Germann about 19 years ago

I can not confirm this - it works fine here on my local dev system (debian / TYPO3 3.8.0 / PHP 5.0.5).
Could you please post the error message?

Actions #2

Updated by Martin Kutschker about 19 years ago

Please, do as Rupert suggest and post the messages. TYPO3 is supposed to run on PHP 5.0.

Actions #3

Updated by Julian Bartels about 19 years ago

Known problem in php 5.0.5 is:
"Fatal error: Only variables can be passed by reference in..."
In Typo3 this problem occurs in t3lib/class.t3lib_timetrack.php, line 368:

$theLabel = $flag_tree ? end(t3lib_div::trimExplode('.',$data['key'],1)) : $data['key'];

If you "extract" the paramater:
$tmp = t3lib_div::trimExplode('.',$data['key'],1);
$theLabel = $flag_tree ? end($tmp) : $data['key'];
It works.

No other problems with this combination of php 5.0.5-3 (debian) and typo 3.8.0 found till now on my installation..

Reference:
http://www.woltlab.de/de/forum/thread.php?threadid=99093 (German!)
http://the-stickman.com/web-development/php/php-505-fatal-error-only-variables-can-be-passed-by-reference/ (English!)

Actions #5

Updated by Christian Welzel about 19 years ago

Unfortunately there where no error messages.
The mentioned problem with page header edit only reloaded the content of that frame (page content view) as if there where no get variables...
after setting the settings of my hoster hosteurope.de to

PHP-RegisterGlobals off
PHP-Magic-Quotes-GPC on
PHP-Zend-ZE1-Kompatibilität off
PHP-Register-Long-Arrays on
PHP-Session-Use-Trans-SID on
PHP-Allow-Call-Time-Pass-Reference on
PHP-MySQL-Secure-Login off

the backend worked as normal as before.
Unfortunalely i have not written down the settings before
changing them.

Actions #6

Updated by Martin Kutschker about 19 years ago

Strange.

Actions #7

Updated by Martin Kutschker almost 19 years ago

The problem in t3lib_timetrack.php that Julian reported has been fixed in CVS.

Christian, can I close this bug? We can reopen the bug or file an new one if you can give us more details about the PHP settings.

Actions #8

Updated by Christian Welzel almost 19 years ago

As i can not provide more info and the installation is running fine with the changes mentioned, you can close this bug.

Actions #9

Updated by Martin Kutschker almost 19 years ago

Closing the bug because no moe info is available.

Actions

Also available in: Atom PDF