Bug #47990
closedFE Error when Upgrading from 4.5.x to 4.5.26
0%
Description
Hello Core Team,
I was upgrading my TYPO3 4.5.16 to 4.5.26 but it throws an error in FE:
The error:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/p.querner/public_html/xxxx/typo3_src-4.5.26/typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php on line 854 Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/p.querner/public_html/xxxx/typo3_src-4.5.26/typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php on line 854 Parse error: syntax error, unexpected T_STRING in /home/p.querner/public_html/xxxx/typo3_src-4.5.26/typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php on line 854 >
In line 854 of said file is this:
throw new \TYPO3\CMS\Extbase\Persistence\Generic\Exception\InconsistentQuerySettingsException('Missing storage page ids.', 1365779762);
I changed it to
throw new TYPO3_CMS_Extbase_Persistence_Generic_Exception_InconsistentQuerySettingsException('Missing storage page ids.', 1365779762);>
And it seems to be working fine. (5 minutes testing, FE and BE)
Please have a closer look at this, because I dont know why exactly it caused the problem. My guess is because of namespace which isnt available in PHP 5.2.
I did not test the code on PHP 5.3 systems.