[Typo3-dev] Getting Typo3 4.0
Erik Svendsen
erik at linnearad.no
Sat Oct 29 20:40:05 CEST 2005
Hello Bjarke,
> Thanks, but:
>
>> Go to the TYPO3 page on sourceforge > CVS.. there are instructions on
>> getting the CVS head there.
>>
> I expected to find 3.8, 3.9, 4.0 branches but only found HEAD. What
> version is HEAD?
>
>> But, TYPO3.8... mostly runs on PHP5. I have several stable
>> installations running on PHP5
>>
> When I try to log in to the backend of my newly installed and
> configured
> site I get the message below which looks as a PHP 4/5 problem:
> *Fatal error*: Cannot use string offset as an array in
> */home/web/Aktiviteter/fnks/dummy-3.8.0/typo3/t3lib/class.t3lib_div.ph
> p*
> on line *3179*
> --Bjarke
>
I'm not very skilled in PHP, but have noticed thar PHP 5.0.3 and TYPO3 3.8.0
has some problems with xml2array (and I think also with array). The lines
in class.t3lib_div.php looks like this (from line 3174)
// Read XML, parse it.
$xmlString = t3lib_div::getUrl($fileRef);
$xmlContent = t3lib_div::xml2array($xmlString);
// Set default LOCAL_LANG array content:
$LOCAL_LANG = array(); //Where you have the error
$LOCAL_LANG['default'] = $xmlContent['data']['default'];
I know some of these problems can be solved with upgrading to PHP 5.0.4.
Myself has both 5.0.4 and 5.0.5 running with no problems regarding the core.
But there are problem with TV and some extensions. The TV problem is easy
to patch. Reading bug list on php.net and changelog from 5.0.3 to 5.0.4 gives
indication about bugs regarding array() who has been corrected.
So maybe upgrading PHP to 5.0.5 is a better solution.
Else I think these problem is discussed on the lists (dev and english, and
maybe install). Maybe there are a patch for PHP 5.0.3.
WBR,
Erik Svendsen
www.linnearad.no
More information about the TYPO3-dev
mailing list