mysql_fetch_object()

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

mysql_fetch_object()

Post by cozbaldwin »

I'm sorry, I have a feeling the answer is somewhere in these forums, but I couldn't find a clear English answer.

I upgraded from 1.5.7 to 2.0.6.
It seems to have gone through ok -- but the last page of update.php says
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /XXXXXXXX/inc/PMF_DB/Mysql.php on line 119

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /XXXXXXXX/inc/PMF_DB/Mysql.php on line 119

| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

The database was updated successfully.
But... I go to my index.php in my browser and the page is blank. Probably because it cannot connect to the database?

Thanks for help, sorry if this is answered elsewhere.
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

... nothing?
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you see data in your database?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

Hi, thanks for the help!

Yes there is data in the database.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

can you please activate the DEBUG mode in inc/Init.php and tell me the error messages.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

it appears there is no change. Still a blank page when loading /index.php
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you have access to your error log?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

Thorsten wrote:Hi,

do you have access to your error log?

bye
Thorsten
I do -- but I'm not an expert so please forgive my ignorance.

I accessed via FTP to my host. Went into LOGS directory. Then into the directory for this website. Found error.log. Error log is empty.

There are some deeper directories so if this was not the correct error log to check, I apologize.
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

Does anyone have any additional suggestions?
Or ways I can help them come to conclusions? I don't know what you need me to paste here, so just let me know and I will.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

are the connection values correct in inc/data.php? Are the correct values in the database table faqconfig?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

Thorsten wrote:Hi,

are the connection values correct in inc/data.php? Are the correct values in the database table faqconfig?

bye
Thorsten
data.php is all correct.

values in the table faqconfig appear correct, but which one of those values could cause a blank page if it was wrong? Does it matter that I have a prefix on my tables? Or does "%s" represent the prefix in your commands? Where is %s defining the prefix because maybe that is wrong?
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

can you send me a dump of your database created by phpMyAdmin? I'll heck your database on my test systems.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

Thorsten wrote:Hi,

can you send me a dump of your database created by phpMyAdmin? I'll heck your database on my test systems.

bye
Thorsten
I'm sorry I dont know what that is or how to do it.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you have someone for this job?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cozbaldwin
Posts: 52
Joined: Wed Mar 08, 2006 3:24 pm

Post by cozbaldwin »

Thorsten wrote:Hi,

do you have someone for this job?

bye
Thorsten
No, I handle everything on my own.

I did a backup of my database before trying to upgrade. I think i'll just try and install the new version like new, reload my old tables, and try to put my templates back in order.
Post Reply