View Full Version : A lot of images cannot be found and no thumbs
August 15th, 2008, 11:46 AM
When I go to rebuild image sizes, I get a lot of this:
getimagesize(/home/mysite/public_html/gallery/files/20348-img_2380_703660.jpg) [function.getimagesize]: failed to open stream: No such file or directory in [path]/admincp/vba_gallery_admin.php on line 1992
When I scan the database, it shows 2100+ files missing, when physically, they are there on the file system. Perms are 777 and ownership is correct.
When you go to the gallery home, all images that do show are full size instead of thumbnails.
August 15th, 2008, 01:01 PM
Please post both paths in the statement above and actually links to show what you mean. Possibly it looks to me also like your using the safe mode restriction is that correct? Does your server actually have safe mode on?
August 15th, 2008, 02:35 PM
Please post both paths in the statement above and actually links to show what you mean. Possibly it looks to me also like your using the safe mode restriction is that correct? Does your server actually have safe mode on?Here is a link to PHP Info (http://www.clubtouareg.com/info.php) for this server. It does not look like Safe Mode is on.
Where do I find the option to check if my system is using using the safe mode restriction?
Attached are two screen shots. The first is file on server.gif (http://www.photopost.com/forum/attachment.php?attachmentid=3397&d=1218824653) which shows you the directory information where the file actually exists. It also shows you the server path to the files directory. The second is scan database.gif (http://www.photopost.com/forum/attachment.php?attachmentid=3398&d=1218824663) which shows the output of the Scan Database function.
When I click on this entry in the attached images it takes me to this page:
Touareg Accident - Club Touareg Photo Gallery (http://www.clubtouareg.com/gallery/showimage.php?i=1945)
As you can see the image is not showing up. When I try to access the image directly from the server I get a 404 error. Here is the link:
So for some reason it seems like the server is not able to see the files even thought they are there. I checked the rights and owner of the file and it all seems proper.
Any suggestions on what could be causing this issue?
August 15th, 2008, 06:52 PM
I would suggest under vbgallery maintenance in admin menu vbgallery section try making sure you set down the bottom the switch to where safe mode storage is off.
August 16th, 2008, 10:49 AM
Thanks for your help Chuck.
We ended up finding the issue. Somehow some of the files were actually missing and we had to pull them from a backup. Also, we had some files that were actually on the server but did not exist in the database so it was making it hard to figure out what was going on.
August 16th, 2008, 01:14 PM
Oh yes that can kill tons of things ;)
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.