PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Script Installation

Reply
 
Thread Tools
Old 12-12-2004, 05:38 AM   #1
mirdin
Green Mole
 
Join Date: Apr 2004
Posts: 14
upgrade from 1.8.3 -> 1.8.5 problems

I upgraded from 1.8.3 to 1.8.5, I configured config.php and connect.php, made the db changes for 1.8.4 and 1.8.5 and have overwritten all files.

When doing a search I get this error : sites_days_upd missing. (which was dropped in 1.8.4)
I added the table again to get things to work, but I haven't been able to figure out where the update went wrong.

Perhaps a file hasn't been overwritten?
Which file(s) in 1.8.3 contain a sites_days_upd query?
mirdin is offline   Reply With Quote
Old 12-12-2004, 09:14 AM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
PhpDig checks the presence of tables in config.php. It's the very last statement in that file. I don't see that sites_days_upd is being referenced in 1.8.5 in the config file, so I'm not sure why you're getting that error.

If you run both update_db_to_1_8_4.sql and update_db_to_1_8_5.sql to update your database, you shouldn't have a problem like this.

BTW, I'm in the process of upgrading right now to 1.8.5, so this is the blind leading the blind!
vinyl-junkie is offline   Reply With Quote
Old 12-12-2004, 10:08 AM   #3
mirdin
Green Mole
 
Join Date: Apr 2004
Posts: 14
Quote:
Originally Posted by vinyl-junkie
PhpDig checks the presence of tables in config.php. It's the very last statement in that file. I don't see that sites_days_upd is being referenced in 1.8.5 in the config file, so I'm not sure why you're getting that error.

If you run both update_db_to_1_8_4.sql and update_db_to_1_8_5.sql to update your database, you shouldn't have a problem like this.
Thanks for the help, I fixed it.
The files in /includes were not overwritten for some reason, so I still had the old config.php in there.
mirdin is offline   Reply With Quote
Old 12-12-2004, 11:06 AM   #4
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Quote:
Originally Posted by mirdin
Thanks for the help, I fixed it.
The files in /includes were not overwritten for some reason, so I still had the old config.php in there.
You bring up an interesting point here, because I've had the same thing happen to me at times.

A good rule of thumb if you're upgrading like this is to just delete all the contents of the folders prior to uploading a new version. That way, you know you have all the right stuff in place.

Another tip: Don't delete the folders themselves because if you do, you'll have to go reset the folder permissions all over again when you re-create them. That can trip you up if you're not careful.
vinyl-junkie is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
<!-- phpdigInclude --> and <!-- phpdigExclude --> doesn`t work Paka76 How-to Forum 0 12-06-2005 06:44 AM
New Upgrade CrazyCanuck Script Installation 9 07-26-2004 06:23 PM
Instructions for use <!-- phpdigExclude --> and <!-- phpdigInclude --> maquido How-to Forum 1 06-02-2004 04:36 AM
statistic problems since upgrade from 1.6.5 to 1.8 shinji Troubleshooting 8 03-06-2004 07:24 AM
Problems with html coments <!-- --> uruloki Troubleshooting 2 10-24-2003 05:40 AM


All times are GMT -8. The time now is 10:34 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.