[TYPO3] PHP Warning: mysql_free_result(): supplied argument is nota valid MySQL result resource in/usr/local/typo3/t3lib/class.t3lib_db.php

Osipov Dan dosipov at phillyburbs.com
Sat Jan 5 23:40:18 CET 2008


What version of MySQL are you using?

________________________________

From: typo3-english-bounces at lists.netfielders.de on behalf of erasmo at erasmix.net
Sent: Sat 1/5/2008 2:58 PM
To: typo3-english at lists.netfielders.de
Subject: [TYPO3] PHP Warning: mysql_free_result(): supplied argument is nota valid MySQL result resource in/usr/local/typo3/t3lib/class.t3lib_db.php



Hello,

I was just forced to upgrade from Fedora Core 4 to Fedora 8. I have a backup of my
old T3 site (3.1? 3.5?) and I'm trying to bring it up on T3 4.1. Here are the steps
I followed:

0) Restored the T3 database
1) Downloaded the src package.
3) Updated the syminks on my website directory:

-rwxrwxr-x  1 erasmo nobody     46 2008-01-04 20:50 clear.gif
drwxrwxr-x 16 erasmo nobody   4096 2008-01-04 23:22 fileadmin
-rwxrwxr-x  1 erasmo nobody    134 2008-01-04 20:52 _.htaccess
lrwxrwxrwx  1 erasmo nobody     26 2008-01-04 20:55 index.php -> /usr/local/typo3/index.php
lrwxrwxrwx  1 erasmo nobody     45 2008-01-04 20:56 media -> /usr/local/typo3/typo3/sysext/cms/tslib/media
-rwxrwxr-x  1 erasmo nobody    310 2008-01-04 20:52 README.txt
lrwxrwxrwx  1 erasmo nobody     51 2008-01-04 20:58 showpic.php -> /usr/local/typo3/typo3/sysext/cms/tslib/showpic.php
lrwxrwxrwx  1 erasmo nobody     22 2008-01-04 21:00 t3lib -> /usr/local/typo3/t3lib
lrwxrwxrwx  1 erasmo nobody     39 2008-01-04 21:01 tslib -> /usr/local/typo3/typo3/sysext/cms/tslib
lrwxrwxrwx  1 erasmo nobody     22 2008-01-04 21:00 typo3 -> /usr/local/typo3/typo3
drwxrwxr-x  4 erasmo nobody   4096 2008-01-04 23:22 typo3conf
drwxrwxr-x  8 erasmo nobody 126976 2008-01-04 23:54 typo3temp
drwxrwxr-x 18 erasmo nobody   4096 2008-01-04 23:22 uploads

4) Pointed my browser to <my_website>/typo3/install as described on the install/upgrade
guide and followed the instructions. It all went well, I got all check marks, but
now I can't login (<my_websyte>/typo3). The login screen says incorrect password,
despite the fact I've changed the password for the admin user multiple times amd
I've verified I'm using the right password.


I looked in the apache error_log file and I find:

[Sat Jan 05 09:57:15 2008] [error] [client 74.6.22.34] PHP Warning:  mysql_fetch_assoc():
supplied argument is not a valid MySQL result resource in /usr/local/typo3/t3lib/class.t3lib_db.php
on line 796
[Sat Jan 05 09:57:15 2008] [error] [client 74.6.22.34] PHP Warning:  mysql_fetch_assoc():
supplied argument is not a valid MySQL result resource in /usr/local/typo3/t3lib/class.t3lib_db.php
on line 796
[Sat Jan 05 09:57:15 2008] [error] [client 74.6.22.34] PHP Warning:  mysql_fetch_assoc():
supplied argument is not a valid MySQL result resource in /usr/local/typo3/t3lib/class.t3lib_db.php
on line 796
[Sat Jan 05 09:57:15 2008] [error] [client 74.6.22.34] PHP Warning:  mysql_fetch_assoc():
supplied argument is not a valid MySQL result resource in /usr/local/typo3/t3lib/class.t3lib_db.php
on line 796
[Sat Jan 05 09:57:15 2008] [error] [client 74.6.22.34] PHP Warning:  mysql_fetch_assoc():
supplied argument is not a valid MySQL result resource in /usr/local/typo3/t3lib/class.t3lib_db.php
on line 796
[Sat Jan 05 09:57:15 2008] [error] [client 74.6.22.34] PHP Warning:  mysql_fetch_assoc():
supplied argument is not a valid MySQL result resource in /usr/local/typo3/t3lib/class.t3lib_db.php
on line 796
[Sat Jan 05 09:57:15 2008] [error] [client 74.6.22.34] PHP Warning:  mysql_free_result():
supplied argument is not a valid MySQL result resource in /usr/local/typo3/t3lib/class.t3lib_db.php
on line 823


I appreciate any ideas.


Thanks,

Erasmo.




More information about the TYPO3-english mailing list