The selected album/picture does not exist ! The selected album/picture does not exist !
 

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

The selected album/picture does not exist !

Started by Lisa (Loving Lynam), January 24, 2005, 05:34:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lisa (Loving Lynam)

I am using version 1.2.0 I understand that this a common problem with this version. I am trying to upgrade to 1.3.2 I went to the link that was provided in another post, but I cannot seem to get the upgrade to work. I am not a very technical person, and really need a 1.2.3 type explanation. Can anyone help me?

Casper

Make a back-up of your gallery and database if you can.  Make a backup of your include/config.inc.php.

Get the 1.3.2 zip from http://prdownloads.sourceforge.net/coppermine/cpg1.3.2.zip?download

Unzip it on your computer.

Use the files enclosed to replace all the files on your server.  Make sure you don't overwritd the include/config.inc.php or install.lock.

Create a new folder(if it doesn't already exist), inside the 'albums' folder, called 'edit' and chmod it to the same as the albums folder.

When all the files have been replaced with the new ones, browse to your site/install.php.

That's it.
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

Lisa (Loving Lynam)

Thanks, I did all that, and it said updated. How do I know if it really did? I went to the configuration screen and it still says 1.2 does that mean it did not update?

Nibbler

You haven't replaced all the files on your server with those from the package, nor have you created an albums/edit directory.

Lisa (Loving Lynam)

I do not see an install.lock what is that? Think in terms as you are telling a blonde...lol I really dont have a clue. I did create the edit file...

Nibbler

I assume you are upgrading http://www.lovinglynam.com/gallery since you didn't post a link. Your edit directory should then be http://www.lovinglynam.com/gallery/albums/edit (right where that 404 page is right now). If you don;t have an install.lock then it doesn't matter, just make sure you overwrite all files except include/config.inc.php

Lisa (Loving Lynam)


Lisa (Loving Lynam)


Nibbler

OK, so your error message is:

Call to undefined function: is_image()

Search for that and you'll find out what's wrong.

Lisa (Loving Lynam)

I am not sure where to start looking and have no clue what to do when I find it...

Lisa (Loving Lynam)

is this what it is talking about?
   }
                $pic_url =  get_pic_url($picture, 'thumb');
                if (!is_image($picture['filename'])) {

If so, what do I do?

Nibbler

That function is not found because you have not uploaded all the files to the server, as a search will tell you in about 10 seconds flat.

Lisa (Loving Lynam)

Yeah I did a search before I posted, and one said I needed to upload the include file, but on the online manual it says not to... wasnt sure

Lisa (Loving Lynam)

Ok, I did the include folder and it is working now...you may want to have someone remove that part out of the instructions

Casper

The instructions are quite clear, at least to me. Here is what it says for upgrading from 1.2

QuoteExcept for the "albums" directory, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file, your anycontent.php file or the albums directory.

Where does it say not to do the include directory?

And this is important.  If there is no file called 'install.lock' in the include folder, make sure you delete the install.php file when finished.
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

Lisa (Loving Lynam)

Hmmm, got that finished, went to do www.lovinglynam.com/gallery and this is what I get Fatal error :
There was an error while processing a database query

Casper

What were you doing when you got this error.  I see the site fine.

If you can, go into config and turn on debug mode (near the bottom of the page), and see what happens and what error messages you get then.
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

Lisa (Loving Lynam)

Thanks, I have all settled now. Thanks for your help!