|
12-13-2004, 07:56 AM | #1 |
Green Mole
Join Date: Mar 2004
Posts: 3
|
error when updating
I just upgraded to 1.85, which went fine. Now i am trying to update the links in my database and I am getting this error on every link:
Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/html/search/admin/spider.php on line 246 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/search/admin/spider.php on line 356 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/search/admin/spider.php on line 371 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/search/admin/spider.php on line 356 No link in temporary table Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/html/search/admin/limit_upd.php on line 227 |
12-13-2004, 08:11 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Update the database tables 1.8.3 -> 1.8.4 -> 1.8.5.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
12-13-2004, 08:22 AM | #3 |
Green Mole
Join Date: Mar 2004
Posts: 3
|
works like a charm Charter! thanks.
|
12-13-2004, 02:35 PM | #4 |
Green Mole
Join Date: Dec 2004
Posts: 5
|
I get the same errors after upgrade, the only thing I can see from your above statement is that in the 1.8.5 zip there is no update 1.8.3 sql file or did I get a bad dl?
|
12-13-2004, 07:21 PM | #5 | |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Quote:
If you're having problems upgrading, you may want to consider starting over from scratch rather than trying to upgrade your existing database. That might be easier in the long run. |
|
12-14-2004, 01:20 PM | #6 | |
Green Mole
Join Date: Dec 2004
Posts: 5
|
Quote:
|
|
12-14-2004, 01:37 PM | #7 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
If there is no update SQL file for a particular version, then there were no DB changes for that version.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
12-14-2004, 01:46 PM | #8 |
Green Mole
Join Date: Dec 2004
Posts: 5
|
Ok,
I got most of the errors to disappear but now I get this in the back-end Code:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/standard/public_html/admin/index.php on line 48 |
12-14-2004, 01:57 PM | #9 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Do "SHOW COLUMNS FROM table_name" and compare with the init_db.sql file. Make sure the prefix is set correctly in the connect.php file. Otherwise, in admin/index.php add:
PHP Code:
PHP Code:
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
12-14-2004, 02:07 PM | #10 |
Green Mole
Join Date: Dec 2004
Posts: 5
|
Sweet that did it, It was a broken table
mysql repair table engine; did the trick Thanks for the help Last edited by forsakenZen; 12-14-2004 at 02:10 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem updating to 1.8.8 | 1001studio | Troubleshooting | 0 | 04-04-2006 06:53 AM |
Updating the index (or lack thereof) | dhall5 | Troubleshooting | 2 | 02-23-2005 12:48 PM |
Site not updating - head requests? | guinessec | Troubleshooting | 5 | 12-15-2004 04:00 AM |
updating the index via the shell | liquidice | How-to Forum | 1 | 08-31-2004 11:58 AM |
"Update One Page" Updating The Whole Database | vinyl-junkie | Bug Tracker | 3 | 08-08-2004 05:02 PM |