WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums


MySQL errors

Version:
printPrint


MySQL errors
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 10/03/04 - 11:40 AM:
quote post
#1
Just randomly got this MySQL error. I was on the site, it was fine and dandy -- I made no changes, didn't add/change anything... I come back 5-10 mins later, and:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/dw/public_html/wsngallery/classes/database.php on line 72
...on the Gallery index page.

Edit: Also.... can't upload any images to the site; though, seem to be able to view them all pretty well.

Edited by dreamweaver on 10/03/04 - 12:00 PM
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 10/03/04 - 01:02 PM:
quote post
#2
Update: After discussing it and searching, for those who might be having the same problem... the problem seems to be likely down to the hosts; so, I've contacted them now.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5726
Posted 10/03/04 - 05:55 PM:
quote post
#3
Actually, that error is usually not due to a host -- you are advised to follow the instructions in the manual when you get such an error. It's the specific "table returned -1" explanation in the debug output of the page (with the query that breaks being a perfectly good query that'll run in phpmyadmin on any other site) that indicates a database problem the host will likely have to solve.
dreamweaver
Experienced
Avatar

Usergroup:
Joined: May 05, 2004
Total Topics: 12
Total Posts: 53
Posted 10/04/04 - 06:48 AM:
quote post
#4
That's what I meant.

Anyhow, the problem seems to have dissapeared. I sent an email to the host, and haven't actually got one back. I imagine the problem dissapeared somehow, but not sure if they had anything to do with it yet.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.