Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Thumbnail files not being created since server switch  (Read 3466 times)

0 Members and 1 Guest are viewing this topic.

nickels55

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Thumbnail files not being created since server switch
« on: February 07, 2008, 03:24:58 pm »

I just changed web hosts, and now my one gallery isn't working. There are no errors, the files just aren't created. Instead of the preview there is just the filename. If I right click on the filename to see where coppermine is looking, there is no file in that spot.

For example:
xxxxx.myservername.com/albums/jan08/normal_VA0190BL.jpg
(missing/not created on upload)
and
xxxxx.myservername.com/albums/jan08/thumb_VA0190BL.jpg
(missing/not created on upload)
These are missing because these files were not automatically created when I uploaded the file.
 
However the full size photo shows up:
xxxxx.myservername.com/albums/jan08/VA0190BL.jpg
But there is a catch! The full size image only shows up if I ftp the photos to the server and batch add them.
If I add them by single upload using the web browser, none of the previews or full image is created.

I am sure this is a result of switching servers, something didn't move correctly or is missing.
What is interesting is that I have another gallery on my server in a different folder, and it continues to function normally.
The host can probably fix it for me, but I was hoping someone here may know what is going on.

Thanks for any info. If it will help I will give the url for this gallery so you can see what is happening.
On a side note, batch uploading looks for directories in the folder "albums" not "albums/userpicts" - I am not sure if this makes any difference.
« Last Edit: February 07, 2008, 10:02:57 pm by Stramm »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Thumbnail files not being created since server switch
« Reply #1 on: February 07, 2008, 03:40:40 pm »

Check permissions and ownership of the picture files and folders.

nickels55

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Thumbnail files not being created since server switch
« Reply #2 on: February 07, 2008, 04:00:16 pm »

The permissions are fine - all the folders are "755"
Logged

nickels55

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Thumbnail files not being created since server switch
« Reply #3 on: February 07, 2008, 04:15:26 pm »

UPDATE:
I think that this info will help troubleshoot the problem.

Remember how I said these files were missing:
xxxxx.myservername.com/albums/jan08/normal_VA0190BL.jpg
xxxxx.myservername.com/albums/jan08/thumb_VA0190BL.jpg

Well, these files appeared after a long delay, but they had the wrong permissions (640).

Another test, same results. The files take forever to appear in the folder so something is messing up the auto image preview creation, and when they are created they have the wrong permissions. If I don't upload the file to the server (use browser upload method) it seems that it doesn't work at all.
Logged

nickels55

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Thumbnail files not being created since server switch
« Reply #4 on: February 07, 2008, 04:53:54 pm »

Sorry about all the posts.... can't you edit posts on this forum?

Anyway, I've narrowed it down to the files being generated getting the incorrect permissions, everything else is fine.
So what do I do to make sure the preview files get the correct 644 permission instead of 640? I submitted a ticket to my host, maybe they'll figure it out.
Logged

nickels55

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Thumbnail files not being created since server switch
« Reply #5 on: February 07, 2008, 08:58:38 pm »

PROBLEM SOLVED

The setting was under Config -> 'Files and thumbnails advanced settings'.  I
changed it so new directories will be 755 and new files 644.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Thumbnail files not being created since server switch
« Reply #6 on: February 07, 2008, 10:02:50 pm »

Thanks for coming back and posting your solution.
Pages: [1]   Go Up
 

Page created in 0.174 seconds with 20 queries.