Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-07-20 08:21:34

beamar
Member
Registered: 2012-07-20
Posts: 16

no pics loading / 9 photos were not generated

trying out your software and am running into some issues....

Piwigo version•Piwigo 2.4.1
Environment•Operating system: FreeBSD
•PHP: 5.2.17 (Show info) [2012-07-20 01:17:05]
•mysql: 5.5.20 [2012-07-20 01:17:05]
•Graphics Library: GD bundled (2.0.34 compatible)


would like to point out this is not a self hosted server. It's a shared PHP, so I can not edit the php.ini file.


I have tried uploading image via flash/web/ploader/FTP.


When i select an image and tell it to resize them via the admin panel, I get "9 photos were not generated". When I go to the album, I can see the org. file size that I uploaded, but none of the resized ones. Not sure why it's not letting me resize.


currently my local config looks like:

<?php
$conf['graphics_library'] = 'gd';
$conf['enable_i_log'] = true;
$conf['show_exif'] = false;
$conf['use_exif'] = false;


?>


I'm not sure where to local the log files. I looked in _data and don't see them in there.


Any ideas?

Offline

#2 2012-07-20 08:46:17

ddtddt
Piwigo Team
Location: Quetigny - France
Registered: 2007-07-27
Posts: 6075

Re: no pics loading / 9 photos were not generated

CHMOD the directory ?


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-07-20 11:53:49

flop25
Piwigo Team
Registered: 1970-01-01
Posts: 3391
Website

Re: no pics loading / 9 photos were not generated

Hi
could we also have a link ? thx


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

#4 2012-08-03 03:04:14

beamar
Member
Registered: 2012-07-20
Posts: 16

Re: no pics loading / 9 photos were not generated

just upgraded to the newest version, same prob.


http://www.vidawedding.com/pics/



I believe i have al the folder permissions set correctly.

Last edited by beamar (2012-08-03 03:04:54)

Offline

#5 2012-08-03 06:03:34

beamar
Member
Registered: 2012-07-20
Posts: 16

Re: no pics loading / 9 photos were not generated

without posting my whole log file, here are most of the errors.

WARN 301??


012-08-02T20:01:20-05:00 WARN 301 ././galleries/EngagementPhotos/0002.JPG /pics/i.php?/galleries/EngagementPhotos/0002-th.JPG
2012-08-02T20:02:03-05:00 WARN 301 ././galleries/EngagementPhotos/0002.JPG /pics/i.php?/galleries/EngagementPhotos/0002-sq.JPG&b=1343955723&ajaxload=true



there are a lot ones like above. Most just about every picture.

Offline

#6 2012-08-03 11:22:30

rvelices
Piwigo Team
Registered: 2005-12-29
Posts: 1556
Website

Re: no pics loading / 9 photos were not generated

I can see many errors

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/vidaweddin/domains/vidawedding.com/public_html/pics/admin/include/image.class.php on line 674

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '././upload/2012/07/19/20120719235720-39f8a8b5.jpg' is not a valid JPEG file in /home/vidaweddin/domains/vidawedding.com/public_html/pics/admin/include/image.class.php on line 674

When I try to downloqd directly the file http://www.vidawedding.com/pics/upload/ … f8a8b5.jpg , I also get a bizarre redirect ....

Offline

#7 2012-08-03 12:18:21

mol
Member
Location: germany
Registered: 2010-05-26
Posts: 106
Website

Re: no pics loading / 9 photos were not generated

beamar wrote:

•Graphics Library: GD bundled (2.0.34 compatible)

would like to point out this is not a self hosted server. It's a shared PHP, so I can not edit the php.ini file.




Any ideas?

yes. one problem i think your memory_limit is lmited to 64MB, and the GDLib  imagecreatefromjpeg() function needs more than 64MB Server Ram to convert Pictures with 12Megapixel. 
More about this Problem you can read here : http://piwigo.org/forum/viewtopic.php?id=20105 and here : http://piwigo.org/forum/viewtopic.php?id=20044

Offline

#8 2012-08-03 12:52:07

pewe
Member
Registered: 2012-03-16
Posts: 361

Re: no pics loading / 9 photos were not generated

As you have no access to the server php.ini file, you could try changing the memory limit by adding your own changes using the method I outlined here (this has been covered various times on the forum and seems to work for most people).

http://piwigo.org/forum/viewtopic.php?p … 52#p132052

Offline

#9 2012-08-07 02:51:49

beamar
Member
Registered: 2012-07-20
Posts: 16

Re: no pics loading / 9 photos were not generated

So I was told imagemagick was installed, but I don't see it in the phpinfo.


Is there anything special I need to do to use it??

I did set this in my config:

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


but still getting this:

Environment•Operating system: FreeBSD
•PHP: 5.2.17 (Show info) [2012-08-06 19:52:22]
•mysql: 5.5.20 [2012-08-06 19:52:22]
•Graphics Library: GD bundled (2.0.34 compatible)



server admin was asking me if I have the path right, is there somewhere I could set this?

Offline

#10 2012-08-07 03:20:24

pewe
Member
Registered: 2012-03-16
Posts: 361

Re: no pics loading / 9 photos were not generated

PHPinfo does not show details of IM - as far as I know (mine certainly doesn't.

I would add - It seems that one frustrating 'problem' Piwigo has relates to the use of the Graphics Library.

I have asked for an explanation of how Piwigo decides what Gaphics Library to use when both IM and GD are installed on the server as altering the config does not always work - I have yet to get an answer.

I have 3 installations of Piwigo on the same server.

After a clean install of all 3, one installation used IM, and two decided to use GD - all with the standard config file installed and no mods done.

I tried altering the config of the GD versions to IM by adding

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

and it did not work, it still used GD.

However  with the version using IM, adding

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

does work and it changes to  use it.

So I am not sure what is going on.

Offline

#11 2012-08-08 02:25:11

beamar
Member
Registered: 2012-07-20
Posts: 16

Re: no pics loading / 9 photos were not generated

Environment•Operating system: FreeBSD
•PHP: 5.2.17 (Show info) [2012-08-07 19:19:46]
•mysql: 5.5.20 [2012-08-07 19:19:46]
•Graphics Library: External ImageMagick 6.7.3-4

Still same error, won't make pics.



Any ideas??

Offline

#12 2012-08-08 02:37:34

beamar
Member
Registered: 2012-07-20
Posts: 16

Re: no pics loading / 9 photos were not generated

nvm, forgot I deleted all the old photos and not the DB.


so was showing files that weren't there.



switching to IM seemed to work!

Offline

#13 2012-08-08 02:56:15

pewe
Member
Registered: 2012-03-16
Posts: 361

Re: no pics loading / 9 photos were not generated

what did you enter for the path for IM in your config?

Offline

#14 2012-08-11 04:29:31

beamar
Member
Registered: 2012-07-20
Posts: 16

Re: no pics loading / 9 photos were not generated

I just tried to upload some more photos and now it went to GD for some reason????



$conf['ext_imagick_dir'] = '';     is what i used for the dir...

Offline

#15 2012-08-11 06:24:24

beamar
Member
Registered: 2012-07-20
Posts: 16

Re: no pics loading / 9 photos were not generated

blah, just played with the code some, a little rusty on my coding. but no luck.


for sure seems to be a bug.


from the coding it looks like it should be reading from the config file to use whatever you tell it. which is doesn't seem to be doing :/

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013