upgrade's?? upgrade's??
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

upgrade's??

Started by itchy, November 21, 2004, 11:32:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

itchy

Hi my gallery www.pgacnortheast.co.uk)
I need to find out, what version I am using? if its out of date how do I upgrade it without messing things up such as layout .css no right click code etc.

itchy

sorry add /gallery/  to that link.

Casper

You are using version 1.2.1, and yes you should upgrade to 1.3.2.

There are instructions in the 1.3.2 download, docs folder, on how to modify your custom theme to work with 1.3.x versions.

Any other mods you made, that are not included in the newer version, will have to be re-applied.  No right click will need to be re-done, although that's a waste of time in the opinion of just about every dev member and supporter I know.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

itchy

Yeah I'm not too bothered about the no right click, something I do want to do is stop hotlinking from sites that I dont give exception to. Is there a way of doing this or a mod that allows it?

Casper

Yes, you can use an .htaccess file to stop hotlinking.

There are a few threads about that discuss it, do a search for .htaccess
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

itchy

OK, I upgraded all the files as it states in the instructions, retained config_inc then modified phpbb_inc so they both had correct database info. Also retained all the albums directory and created the 'edit' directory within it. Ran the update.php which said all done, went to the actual gallery and guess what.
CRITICAL ERROR
THERE WAS AN ERROR WHILE PROCESSING A DATABASE QUERY.

Now what, any ideas?
When I uploaded the new files I just done an overwrite of the existing files except the files above and also the lang directory I deleted and rewrote in full due to the note on the instructions.
Bizarre thing is the theme has been retained along with no right click??

itchy

OK this is bizarre, some pages work and some dont, mainly any that involve showing the fronts off each album, things such as last uploads and upload approval work fine. got into config and switched debug on. Heres the error on the first page.
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'

Nibbler

You didnt replace your sql directory. Delete the directory, re-upload it, and run update.php again. Also use the versioncheck.php to check if you missed anything else.

itchy

Done as you said, it resolved the error and generated another 10 errors. I give up, it wont work so I'll just leave it as it was originally.  >:(

Unless there is a way for me to put a fresh install of the latest version on and import my albums??

Joachim Müller

I recommend usage of versioncheck.php - you will have to use the version of phpbb.inc.php that comes with the cpg1.3.2 package as well and re-apply your bbs settings there.
If you replace all files from your cpg1.2.x package with the ones from the 1.3.2 package, upgrade should be very easy. Also make sure to upload the theme files and use one of the standard themes that come with the cpg1.3.2 package temporarily in case you have a custom theme. There are instructions how to upgrade your custom theme as well (I suggest you do that later once your gallery is fully upgraded to cpg1.3.2, using the standard themes).

Joachim