Thumbnail files not being created since server switch Thumbnail files not being created since server switch
 

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

Main Menu

Thumbnail files not being created since server switch

Started by nickels55, February 07, 2008, 03:24:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nickels55

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.

Stramm

Check permissions and ownership of the picture files and folders.

nickels55

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

nickels55

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.

nickels55

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.

nickels55

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.

Stramm