Currently, you have GD, Imagick or External ImageMagick as graphics library?
How much memory for PHP? (on Piwigo admin homepage, click on the "show info" link next to PHP version and then search "memory_limit")
Offline
plg wrote:
mandarin wrote:
plg wrote:
Do you have a link to give us?
Here's the link: http://marmalade.techtangerine.com/pixe … capebreton
http://marmalade.techtangerine.com/pixe … 638-th.jpg tells me "dir create error". Can you make sure Piwigo can write in _data ? and in _data/i ?
I have checked via FTP and it seems Piwigo can write to these directories.
FYI, inside the the i folder, there is a subfolder named galleries, in which there is another subfolder named after the album, but it is completely empty.
Offline
The memory_limit
is
64M
I changed the Graphics Library to GD as stated in one of your other posts, but I am not sure if its still that, I am trying everything I can - how can I find out?
Just seen it
•Graphics Library: GD bundled (2.0.34 compatible)
Last edited by skpManiac (2012-06-25 23:21:33)
Offline
mandarin wrote:
FYI, inside the the i folder, there is a subfolder named galleries, in which there is another subfolder named after the album, but it is completely empty.
Do you run suExec or suPHP?
Offline
plg wrote:
mandarin wrote:
FYI, inside the the i folder, there is a subfolder named galleries, in which there is another subfolder named after the album, but it is completely empty.
Do you run suExec or suPHP?
and what are the exact permissions on _data/i/galleries and sub-folders? (I'm waiting for something like 600 or rwxr--r--d
Offline
mandarin wrote:
plg wrote:
mandarin wrote:
Here's the link: http://marmalade.techtangerine.com/pixe … capebretonhttp://marmalade.techtangerine.com/pixe … 638-th.jpg tells me "dir create error". Can you make sure Piwigo can write in _data ? and in _data/i ?
I have checked via FTP and it seems Piwigo can write to these directories.
FYI, inside the the i folder, there is a subfolder named galleries, in which there is another subfolder named after the album, but it is completely empty.
NOW HERE'S AN INTERESTING DEVELOPMENT....
I noticed that the i folder and its sub-folders were created by the webhost/Piwigo (Owner:web Group: web), and not me. So I deleted the i folder and recreated it from FTP. I also recreated the subfolder via FTP and now my gallery is working!
Such things have often happened with other installations as well (such as the web analytics tool Piwik) and I wonder whether it is in some way related to PHP safe mode. Only the developers may know the answer.
Offline
mandarin wrote:
[...] PHP safe mode [...]
Even if it is planned for removal by PHP developers, I will give a try with Piwigo in PHP Safe mode
Offline
Even though I have added that i.log code
the display reference shows this
// enable log for i derivative script
$conf['enable_i_log'] = false;
Is that normal?
Sorry I cant be more helpful with this :/
Added
I have managed to upload another photo to the Commissioned section, but any I put in Portraits & Studio are rejected, so I thought maybe the ampersand (&) was the issue but its not - this just gets stranger :/
Last edited by skpManiac (2012-06-26 00:57:19)
Offline
I commented out the line
//$this->add_command('sampling-factor', '4:2:2' );
in
/admin/include/image.class.php
And all of the image sizes were generated
Hello,
I have the same problem and gd workaround fixed the issue.
I enabled the i.log and tried the commands from there on the command line:
2012-06-26T11:51:43+03:00 convert "/home/user/public_html/piwigo/galleries/EURO2012/RUSCZE/IMG_6189.jpg" -filter Lanczos -resize 144x108! -strip -quality 95 -interlace line -sampling-factor 4:2:2 "/home/user/public_html/piwigo/_data/i/galleries/EURO2012/RUSCZE/IMG_6189-th.jpg"
2012-06-26T11:51:43+03:00 perf IMG_6189.jpg 1600 1200 1920000 IMG_6189-th.jpg 144 108 15552 0.9 725 | 442 0 281 0
user@host [~/public_html/piwigo]# convert "/home/user/public_html/piwigo/galleries/EURO2012/RUSCZE/IMG_6189.jpg" -filter Lanczos -resize 144x108! -strip -quality 95 -interlace line -sampling-factor 4:2:2 "/home/user/public_html/piwigo/_data/i/galleries/EURO2012/RUSCZE/IMG_6189-th.jpg"
convert: invalid argument for option `4:2:2': -sampling-factor.
user@host [~/public_html/piwigo]# perf IMG_6189.jpg 1600 1200 1920000 IMG_6189-th.jpg 144 108 15552 0.9 725
-jailshell: perf: command not found
user@host [~/public_html/piwigo]#
"perf" is not a command line but a detailed summary of performances for resize.
This is highly interesting:
convert: invalid argument for option `4:2:2': -sampling-factor.
What is your version of ImageMagick?
convert --version
Offline
Hello,
too old version:
convert --version
Version: ImageMagick 6.2.8 05/08/12 Q16 file:/usr/share/ImageMagick-6.2.8/doc/index.html
Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC
Allready opened a ticket with the hosting company, but would appreciate any workaround (except the gd) if possible for temp use of this version of imagemagick.
Thanks!
summerborn wrote:
Allready opened a ticket with the hosting company, but would appreciate any workaround (except the gd) if possible for temp use of this version of imagemagick.
Thanks!
just do [Forum, post 131408 by Peter Keegan in topic 19680] 2.4 thumbnails do not display
Offline
Thank you very much indeed! :)
Now chaissing the hosting company :)
Ok we have now a guilty parameter - bizarre is that output of convert should be logged in i.log but obviously it does not work ...
Offline