Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Problems viewing uploaded images  (Read 4899 times)

0 Members and 1 Guest are viewing this topic.

Jamie Lee

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Problems viewing uploaded images
« on: December 11, 2005, 12:47:30 am »

First of all I'd like to mention I have no knowledge of PHP, so please forgive any ignorance of mine. My webhost offers Coppermine as a script it can automatically install for me. Well, I just had my webhost upgrade my installation to 1.4, and right from the get-go it started giving me several problems.

I received this error during the upgrade:

Quote
Warning: rename(/home/s8164534/public_html/artgallery/images/nopic.jpg,/home/s8164534/public_html/artgallery/images/thumb_nopic.jpg): No such file or directory in /tmp/cpanel_phpengine.1134256961.3099151.69134809734 on line 1513

Warning: rename(/home/s8164534/public_html/artgallery/images/private.jpg,/home/s8164534/public_html/artgallery/images/thumb_private.jpg): No such file or directory in /tmp/cpanel_phpengine.1134256961.3099151.69134809734 on line 1514
CREATE TABLE `cpg_favpics` ( `user_id` INT( 11 ) NOT NULL , `user_favpics` TEXT NOT NULL , PRIMARY KEY ( `user_id` ) ) COMMENT = 'Stores the server side favourites' - Table 'cpg_favpics' already exists

As far as I can tell everything in my gallery seems to be working just fine with the sole exception of when I try to actually view an uploaded image, which you can see the problems it gives me at http://www.shatteredmoonlight.com/artgallery/displayimage.php?album=9&pos=7

Does anyone know what I can do to fix this?
« Last Edit: December 11, 2005, 02:15:50 am by TranzNDance »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Problems viewing uploaded images
« Reply #1 on: December 11, 2005, 12:55:23 am »

Seems it wasn't properly upgraded. I ran the update.php script and it fixed the issue. For some reason, it changed the theme to classic. You can change it in Config. I'm guessing you were using a custom theme that hadn't been manually updated. Instructions are in the docs folder.
Logged

Jamie Lee

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Problems viewing uploaded images
« Reply #2 on: December 11, 2005, 01:17:56 am »

Ahh, okay. I changed it to one of the other themes and it works fine that way now. However, I'm getting another problem elsewhere. When I try to upload an image from my hard drive I'm getting an error telling me that it's "impossible to move", and when I try to upload from a URL it says "cannot create write file."
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Problems viewing uploaded images
« Reply #3 on: December 11, 2005, 02:15:33 am »

That's a different issue that goes under a different category, as we have a one question per thread policy.

Please repost your question in a new thread and I'll mark this thread as solved.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.