[SOLVED] can't get thumbnails to rebuild
|
LindsayN
Joined: 2009-10-19
Posts: 8 |
Posted: Mon, 2009-10-19 22:12
|
|||
|
a few days ago all the thumbnails disappeared. The album structure is still all there but none of the pictures or thumbnails show up. I have tried rebuilding the thumbnails multiple times and each time it hangs at a different point. I tried uninstalling and reinstalling all the graphics toolkits and cleared the database cache with no change. I attached the immediate debug results, but it is huge and doesn't seem to point to anything specific to me. My website is http://www.sailboatfish.com/gallery2/main.php. I don't know what else to do. Thanks for any and all help,
|
||||
| Login or register to post comments |

Posts: 11001
Uninstall GD and NetPBM and try again with only ImageMagick installed.
Also try clearing your cache:
FAQ: How can I clear cached data?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
I already tried that.
Posts: 11001
If you PM me (click Write to author) login details and leave it in debug mode I can take a closer look and see if there is any error message that gives more detail.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
do you want me to change the debug to immediate? Currently it is buffered, but that doesn't show anything for rebuilding thumbnails.
Posts: 11001
Just leave it in buffered.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 11001
hmmmm, I'll see if I can get someone else looking at this, but I'm not seeing anything sticking out at me.
Can you check a few things, though I think we'd be seeing other problems if these were the case:
--Double check permissions on g2data and it's sub-directories and files to make sure the user the web server runs as can write to it.
--Can you post a link to phpinfo:
FAQ: How do I create a phpinfo page?
--Check that the baseUri at the bottom of config.php is the URL for Gallery 2
Right now, I've tried different toolkits, disabled most plugins and I'm still not getting an error that sticks out. Are you able to view the error logs on the server? If so can you see if there are any entries?
Also, let's try immediate debugging to see if that gets any more information.
I'm thinking it's a resource limitation on the server, but can't tell for sure. If you try rebuilding the thumbs on just an album the progress bar just stops and no output is generated, if you upload just a small jpg, no thumbnail is generated, well at least nothing is displayed, but there are no errors. Which tells me Gallery is generating the images, but not displaying them for some reason.
Just curious, have you edited any sort of .htaccess file?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
the creator lmn has rwx, everyone else is just rx. I assume that is okay since I can see that it creates alot of files in the cache directory.
http://www.sailboatfish.com/gallery2/phpinfo.php
baseUri was nothing. I changed it to sailboatfish.com/gallery2/ and nothing seems different.
sorry no access to the server error logs.
done.
the only htaccess file I edited is the main one to redirect sailboatfish.com to sailboatfish.com/gallery2/main.php
I am glad that I didn't miss anything too obvious and appreciate your help.
Posts: 11001
That seems right since it does appear to be able to create and delete stuff and doesn't toss errors while doing that, but let's just double check something. Change your phpinfo file you create to have this:
<?php print "PHP runs under the user: [" . system('whoami') . "]<br>"; phpinfo(); ?>That will print the user name that PHP is run under and we can double check that.
Also, browse under g2data/albums and see if there are actually images under those directories.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
I changed the phpinfo and it seems the user is different than the owner. So should I try to change the permissions to 777 or get my host to change the owner to the one phpinfo is using? I am kinda confused cause how could this have worked at all earlier if the owner is different?
there are definitely images under those directories.
Posts: 11001
You host made changes? I don't know. I've seen it time and again, a perfectly working install of Gallery just stop working. The host almost always claims they didn't change anything, yet after fixing permissions things start working again.
I'd contact your host to make sure that how ever they want it setup that the web server MUST be able to change ALL directories and files under your g2data directory. Though if it was not able to write to them, we should be seeing other errors. And if it wasn't able to read from it we should be seeing other errors. Also, if it was able to read from those directories we should still be seeing your photos.
So in short, I'm still confused as to why it's not working. If your host can verify permissions and things are still screwy, if you want you can PM me FTP (or SSH) login details and I can see if there's something else that might be causing this.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
sent you the login details cause nothing is working still. Thanks again,
Lindsay
Posts: 11001
Got it, haven't had a chance to check it out. Will try to get in there tonight.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
I have no idea what is going wrong here. I am almost to the point of completely reinstalling gallery to see if that would fix it. Do you think that would fix it? Thanks,
Lindsay
Posts: 11001
You can try that. I do have time right now and I'm trying to log in via FTP. Except that's now saying invalid password.
I know it's been a few days so I wouldn't blame you if you changed those credentials.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 11001
Got your site working and upgraded. Since your host has obviously oversold your server things run very slowly, but things are working. I pretty much just changed 2 things in config.php
1) Took it out of debug mode
2) changed the storage type from mysqlt to mysqli
Because your server is overloaded (just an educated guess) I am only able to rebuild thumbs & resizes by going to Edit Album > Album (tab). First rebuilding the thumbs, then rebuilding the resizes.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 8
Wow thanks for doing all that for me! I will definitely have to donate for this, thank you soo much. I have not been very happy with this provider (lack of terminal and generally slow response) do you have any suggestions for a better provider? I guess that is what I get for trying to save some money. Oh well. Thanks again,
Lindsay
Posts: 11001
For hosts, here's my token answer. It's purely my opinion.
I make a remark about Dreamhost (I personally wouldn't touch them, but there are others who use them and don't have problems)
http://gallery.menalto.com/node/88391#comment-310594
You do get what you pay for.
I currently use Pair and have been very happy with them. I have grown tired of sharing though and am working on moving to a quality VPS (www.linode.com)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here