Announcement

#1 2012-04-13 17:41:20

SPDY455
Member
2012-04-13
7

Failed to Open Stream Error only on new uploads

Brand new install of Piwigo through the NetInstall Script.

Uploading pictures fine and they are all working, until I add one new photo in a new folder, then I get these errors:


Warning: getimagesize(./upload/2012/04/13/thumbnail/TN-20120413083607-d9e12a0a.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/content/15/7654315/html/gallery/themes/stripped_black_bloc/themeconf.inc.php on line 54

Warning: Cannot modify header information - headers already sent by (output started at /home/content/15/7654315/html/gallery/themes/stripped_black_bloc/themeconf.inc.php:54) in /home/content/15/7654315/html/gallery/include/page_header.php on line 103

If I delete this one picture in the new folder, the error goes away and all of Piwigo runs fine.

Offline

 

#2 2012-04-13 18:17:07

flop25
Piwigo Team
2006-07-06
7037

Re: Failed to Open Stream Error only on new uploads

Hello

some tips for your next post : a hello, a mention of the extensions enabled or before posting just try to disable plugins and use a default theme.
Because the errors comes from the theme. Ho and the version of piwigo too
You're lucky I'm the author.  So : What's wrong with path : /upload/2012/04/13/thumbnail/TN-20120413083607-d9e12a0a.jpg ? what's your version of the theme -and piwigo-?

Best regards

Last edited by flop25 (2012-04-13 18:19:14)


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2012-04-13 18:28:11

SPDY455
Member
2012-04-13
7

Re: Failed to Open Stream Error only on new uploads

Thank you very much.  I apologize if my first post came across as rude.  I really think this Piwigo product is amazing, and I hope that i can get this issue worked out.

I am so new with this Piwigo that I'm not able to clearly think through the troubleshooting process.  Your simple solution of trying a default theme appears to have resolved my issue.  I am no longer getting the error messages. 

I was using the Stripped and Stripped & Columns themes. 

Thank you very much for your help and patience.  I will also read up cause I don't know how to find the version of Piwigo I am using.  I installed through the netinstall on Piwigo.org and I don't know where to find that information.

Thanks!

Offline

 

#4 2012-04-13 19:05:56

SPDY455
Member
2012-04-13
7

Re: Failed to Open Stream Error only on new uploads

Update: I was able to load two more albums with many photos without issue.  Now, if I add just one more picture in one more album, I don't get an error, but the thumbnails do not show at all.  I can click on the empty box where the thumbnail should be, and it will display the full image.

I will check the forum for more information about this new issue.

Offline

 

#5 2012-04-13 19:09:54

flop25
Piwigo Team
2006-07-06
7037

Re: Failed to Open Stream Error only on new uploads

Okay you seems to have a problem about thumbnail generations : could you go on the first page in the administration and tell us your version of piwigo and imagemagic etc


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2012-04-13 19:11:45

SPDY455
Member
2012-04-13
7

Re: Failed to Open Stream Error only on new uploads

Excellent, thank you.    Below is what is posted.  Also, I have a phpinfo page located here:
http://mainetraditionalkarate.com/test.php

Piwigo version

        Piwigo 2.3.4
        Check for upgrade
        Subscribe Removed Email Address to Piwigo Announcements Newsletter

Environment

        Operating system: Linux
        PHP: 5.2.17 (Show info) [2012-04-13 10:10:32]
        mysql: 5.0.92-log [2012-04-13 10:10:32]
        Graphics Library: External ImageMagick 5.5.6

Database

        2539 photos (first photo added on Friday 13 April 2012)
        24 albums including 0 physical and 24 virtual (1730 associations)
        0 tags (0 associations)
        2 users
        0 groups
        0 comments
        0 rates

Last edited by SPDY455 (2012-04-13 19:14:01)

Offline

 

#7 2012-04-13 19:12:50

flop25
Piwigo Team
2006-07-06
7037

Re: Failed to Open Stream Error only on new uploads

you might want to censor your email no ?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2012-04-13 19:19:06

SPDY455
Member
2012-04-13
7

Re: Failed to Open Stream Error only on new uploads

Yes, thank you.

Offline

 

#9 2012-04-16 13:56:44

SPDY455
Member
2012-04-13
7

Re: Failed to Open Stream Error only on new uploads

UPDATE:

I have been away over the last few days.  Thinking through this issue.  Originally, when I posted these pictures in the newest album, they were all available in full format, but no thumbnails.  I tried to regenerate thumbnails in batch manager and that did not work. 

This morning, I changed the image file names before I uploaded them.  They used to be in a 4 digit format, i.e. 0001.jpg, 0231.jpg and so on.  I changed them to a 3-digit to eliminate the extra zero in front of them all.

I also uploaded the photos in about 25 images at a time (there are 300 total in the folder).  This seemed to help.  So at one point I tried to upload 70 at one time.   They uploaded, but none of the thumbnails were there, but this time thumbnail regeneration worked. 

So far, all photos are available.  It may have been because i uploaded more than 1,000 at one time last Friday, and/or it could have been the file name format.

Thank you for all your help.

Offline

 

#10 2012-04-16 14:27:56

flop25
Piwigo Team
2006-07-06
7037

Re: Failed to Open Stream Error only on new uploads

I seriously thunk it's due to the very large number of photos you tried to upload : many servers have limitations, so be less 'optimistic' the next times ^^


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#11 2012-05-15 12:51:45

SPDY455
Member
2012-04-13
7

Re: Failed to Open Stream Error only on new uploads

Just an Update -- Over time I have continued to get the "Failed to Open Stream error".  Sometimes I am able to use Batch Manager to recreate the thumbnails and other times I have to delete the album and try again.

Recently, I tried the pLoader.  It has worked 100% of the time without fail.  This is a great tool and has saved me alot of time.  Thanks.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact