[TYPO3-english] MySQL Warnings with PHP 5.2.9

Xavier Perseguers typo3 at perseguers.ch
Sat Mar 14 17:07:01 CET 2009


Hello,

>> Since I upgraded PHP to the latest version available on MacPorts, I 
>> get a huge list of PHP Warnings with TYPO3 4.2.6:
>>
>> Warning:  mysql_fetch_assoc(): supplied argument is not a valid MySQL 
>> result resource in 
>> /Users/xavier/Development/TYPO3/typo3_src-4.2.6/t3lib/class.t3lib_db.php 
>> on line 809
>>
> 
> Maybe while PHP was upgraded, it overwritten your php.ini and 
> overwritten your "error_reporting" setting you might have configured 
> with your last PHP version. This is just a quick guess came in my mind.

Yes, for sure, I reconfigured my php.ini but the problem is not that I 
don't know how to hide the warnings, hopefully I do and this is what I 
did but core should not issue warnings, furthermore with MySQL 
connections as it makes the use of FE/BE unusable without deactivating 
their report.

I'll investigate a bit more. Another person wrote me that he had the 
same problem. A patch seems to be needed... :-)

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-english mailing list