Announcement

#1 2012-05-31 20:39:45

NWS
Member
Seattle, WA
2011-04-02
175

[resolved] Can't upload photos inside Piwigo admin

This is something that just started happening. I can upload photos using Ploader but cannot upload photos from the admin page.

The photos actually do upload to the correct album and are viewable, but no thumbnails are created. Using the browser uploader I get this error:

Warning: filesize() [function.filesize]: stat failed for ././upload/2012/05/31/thumbnail/TN-20120531143326-05bb15b1.jpg in /homepages/23/d275617611/htdocs/northwestscenescapesnet/gallery/admin/include/image.class.php on line 268

Warning: getimagesize(././upload/2012/05/31/thumbnail/TN-20120531143326-05bb15b1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /homepages/23/d275617611/htdocs/northwestscenescapesnet/gallery/admin/include/functions_upload.inc.php on line 536

Warning: filesize() [function.filesize]: stat failed for ././upload/2012/05/31/thumbnail/TN-20120531143326-05bb15b1.jpg in /homepages/23/d275617611/htdocs/northwestscenescapesnet/gallery/admin/include/functions_upload.inc.php on line 537

Warning: Cannot modify header information - headers already sent by (output started at /homepages/23/d275617611/htdocs/northwestscenescapesnet/gallery/admin/include/image.class.php:268) in /homepages/23/d275617611/htdocs/northwestscenescapesnet/gallery/include/page_header.php on line 103



Using the flash uploader the photos are there but no thumbnail is created. I do not get the error either. Using Piwigo 2.3.4. All plugins are updated. Like I said this just started happening. I hadn't added any photos for a couple of weeks until today, but everything had worked fine before. The image is only 146k.

Last edited by NWS (2012-05-31 20:40:42)

Offline

 

#2 2012-05-31 20:57:29

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7201

Re: [resolved] Can't upload photos inside Piwigo admin

on admin home

what Graphics Library use you ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2012-05-31 21:07:29

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Can't upload photos inside Piwigo admin

It shows this, but I'm not sure when or how that got there. I've never installed it.

Graphics Library: External ImageMagick 6.6.0-4

It's not something I've noticed before.

Last edited by NWS (2012-05-31 21:10:26)

Offline

 

#4 2012-05-31 21:17:22

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7201

Re: [resolved] Can't upload photos inside Piwigo admin

Can you test

1/ Go too Administration -> Plugins -> Manage
active [extension by Piwigo Team] LocalFiles Editor

2/ Go too Administration -> Plugins -> localfileditor -> tab 'local'
paste

$conf['graphics_library'] = 'gd';


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2012-05-31 21:23:53

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Can't upload photos inside Piwigo admin

Thanks a million! That worked great! Absolutely no problem uploading with either flash or browser uploader.

Last edited by NWS (2012-05-31 21:24:27)

Offline

 

#6 2012-05-31 22:32:59

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7201

Re: [resolved] Can't upload photos inside Piwigo admin

what your hosting ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#7 2012-05-31 22:37:25

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: [resolved] Can't upload photos inside Piwigo admin

Can you tell us what your web hosting provider is? I'm 96% sure you're on 1and1, but please confirm.

It seems we have a problem with ImageMagick 6.6.0-4 (which is the version provided with the current stable version of Debian, the most popular Linux distro on web servers). We have it on piwigo.org server and we don't meet any specific problem.

Maybe it's a problem of ImageMagick 6.6.0-4 + specific photos. Can you send me a photo by email on "plg" (same domain name as this website) ?

Offline

 

#8 2012-05-31 22:51:11

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Can't upload photos inside Piwigo admin

plg wrote:

Can you tell us what your web hosting provider is? I'm 96% sure you're on 1and1, but please confirm.

It seems we have a problem with ImageMagick 6.6.0-4 (which is the version provided with the current stable version of Debian, the most popular Linux distro on web servers). We have it on piwigo.org server and we don't meet any specific problem.

Maybe it's a problem of ImageMagick 6.6.0-4 + specific photos. Can you send me a photo by email on "plg" (same domain name as this website) ?

Yes it's 1and1. Linux hosting.

I have to run out for a little while but will send you the photo I had troubles uploading as soon as I get home.

Thanks for the help!

Last edited by NWS (2012-05-31 22:52:09)

Offline

 

#9 2012-06-01 01:19:56

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Can't upload photos inside Piwigo admin

I emailed you the photo I was having issues with. Let me know if you got it alright.

Offline

 

#10 2012-06-01 09:44:25

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: [resolved] Can't upload photos inside Piwigo admin

I tried your 116KB photo 900x615 pixels and I met no problem :-/

Offline

 

#11 2012-06-01 20:52:17

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Can't upload photos inside Piwigo admin

Okay, thanks. Well today I can upload it with no problems but anything over 2 megs I get errors. I don't have access to the php.ini file on the server and the one I wrote (which previously fixed the issue) doesn't work now. 1and1 must have done something or whatever. It sort of renders Piwigo useless at this point as far as uploading through the admin page. Not the fault of Piwigo. Definitely still useable just not quite as convenient to upload photos.

I have another hosting company and just chatted with them about accessing the php.ini file and they do allow editing that and they told me that I shouldn't have any issues using Piwigo and uploading from the admin page so I think I'm going to move my gallery there if I don't run into the issues of the database not importing correctly. This host uses the GD graphics package as well as ImageMagik so it seems I shouldn't have any major issues once it's transferred.

Offline

 

#12 2012-06-06 12:16:24

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: [resolved] Can't upload photos inside Piwigo admin

If you want to use ImageMagick on 1and1, you must insert this line in you local configuration file:

putenv('MAGICK_THREAD_LIMIT=1');


P@t

Offline

 

#13 2012-06-06 15:44:20

NWS
Member
Seattle, WA
2011-04-02
175

Re: [resolved] Can't upload photos inside Piwigo admin

Thanks P@t. Not sure which graphics library I should use.

I'm still having issues with uploading. I've tried on 3 hosts (1and1, IPage, and piwigo.com). Varying sorts of issues uploading on all 3. It's totally frustrating. But I've come to the conclusion either it's a configuration issue on two of the hosts, or an issue somewhere on my ISP or my own computer and doubt I'll ever figure it out. Plg tried to duplicate the issue I had on piwigo.com but had no problems using my account.

I see no reason to quit using piwigo just because of upload issues so I guess I'll just use PLoader to do any hi-resolution uploads since I've never had any problems with it. for lower-res photos (less than 2 megs) I can use the admin panel in piwigo.

Would like to thank everyone who has tried to help me solve this issue.

Last edited by NWS (2012-06-06 15:45:20)

Offline

 

Board footer

Powered by FluxBB

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