[TYPO3-shop] sql warnings

Christina cvf at cvfront.dk
Tue Oct 23 10:00:40 CEST 2007


Hi Franz,

After adding this sentence to my localconf.php file
$TYPO3_CONF_VARS['SYS']['sqlDebug'] = '1';


I now receive the SQL debug output in my browser window when I visit a 
ttproducts single view page (see below)
Here is a link: 
http://instrulog.cvfront.dk/index.php?id=97&tx_ttproducts_pi1[backPID]=97&tx_ttproducts_pi1[product]=20&cHash=28202efa25

Can you identify what causes the problem?

Thanks in advance,
Christina

Franz Holzinger skrev:
> Hello Christina,
> 
>> (The warning messages have been pasted in at the end of this message)
>>
>> http://instrulog.cvfront.dk/index.php?id=97&tx_ttproducts_pi1[backPID]=97&tx_ttproducts_pi1[product]=20&cHash=28202efa25
>>
>> Any ideas on how to solve the issues that causes the warning? or just
>> how to remove the warnings from the site (as they do not seem to cause
>> any errors)?
>>
> These warning messages do not give enough information. You must activate
> the SQL debug output in the install tool.
> 
> - Franz
> 
>> Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL
>> result resource in /home/typo3/typo3_src-4.0.2/t3lib/class.t3lib_db.php
>> on line 801
>>
>> Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL
>> result resource in /home/typo3/typo3_src-4.0.2/t3lib/class.t3lib_db.php
>> on line 801
>>
>> Warning: Cannot modify header information - headers already sent by
>> (output started at
>> /home/typo3/typo3_src-4.0.2/t3lib/class.t3lib_db.php:801) in
>> /home/typo3/typo3_src-4.0.2/typo3/sysext/cms/tslib/class.tslib_fe.php on
>> line 2830


More information about the TYPO3-project-tt-products mailing list