coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: strokesfan on August 21, 2004, 02:09:29 AM

Title: Upgrade errors
Post by: strokesfan on August 21, 2004, 02:09:29 AM
i had a friend try and help me upgrade...she told me to just download the newest one and upload over the other files and delete install.lock. She told me that she had done this a million times. Unfortunately for me, I didn't read the manual and I trusted her and I got database errors. Is there a way to fix it? The database seems to be intact. I put the gallery in debug mode and got these errors:

While executing query "SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = ''  ORDER BY pos" on 0

mySQL error: Unknown column 'thumb' in 'field list'


File: /home/virtual/site9/fst/var/www/html/hilary/pictures/include/functions.inc.php - Line: 105


http://www.flirtatious.org/hilary/pictures/index.php

Can anybody help me or would I have to redo the entire thing? :-( if I have to, I'll cry lol.
Title: Re: Upgrade errors
Post by: Nibbler on August 21, 2004, 02:27:58 AM
The files in /sql havent been updated to 1.3.2, upload them again making sure you overwrite them. Then run update.php
Title: Re: Upgrade errors
Post by: Joachim Müller on August 21, 2004, 03:24:55 AM
deleting install.lock is not a good idea. Put it back into place. If you don't have it anymore, delete install.php instead.

GauGau
Title: Re: Upgrade errors
Post by: strokesfan on August 21, 2004, 06:09:59 AM
Quote from: Nibbler on August 21, 2004, 02:27:58 AM
The files in /sql havent been updated to 1.3.2, upload them again making sure you overwrite them. Then run update.php

I did that and got this error:


Fatal error: Call to undefined function: is_image() in /home/virtual/site9/fst/var/www/html/hilary/pictures/index.php on line 610

I also deleted install.php like GauGau said to
Title: Re: Upgrade errors
Post by: Nibbler on August 21, 2004, 06:47:43 AM
The file /include/init.inc.php hasn't been updated to 1.3.2, upload it again making sure you overwrite it.
Title: Re: Upgrade errors
Post by: strokesfan on August 21, 2004, 07:01:21 AM
Yay thank you! Just one more thing...how do I get rid of this message? It's at the bottom:


Fatal error: Call to undefined function: getmicrotime() in /home/virtual/site9/fst/var/www/html/hilary/pictures/themes/water_drop/theme.php on line 813
Title: Re: Upgrade errors
Post by: Nibbler on August 21, 2004, 07:04:53 AM
The file /themes/water_drop/theme.php hasn't been updated to 1.3.2, upload it again making sure you overwrite it.

Noticed the pattern yet ?

You will keep getting problems if you don't overwrite all the files properly.
Title: Re: Upgrade errors
Post by: strokesfan on August 21, 2004, 07:17:43 AM
Yay it worked. Thanks so much for everything and being patient :)
Title: Re: Upgrade errors
Post by: Nibbler on August 21, 2004, 07:26:23 AM
Use the version checker here (http://www.flirtatious.org/hilary/pictures/versioncheck.php) to check all your files are up to date.