Hi all,
after I went through all the hurdles of getting piwigo from Windows XP transferred to Windows 7 ( see: http://de.piwigo.org/forum/viewtopic.php?id=315) I wanted to update my installation to the current stable version of piwigo.
At this point I could see all of my picture fine. Thumbnails as well as bigger pics.
I upgraded from piwigo 2.1 to 2.4.1
After adjusting the timezone (why is this still a problem for piwigo in Germany??**) and updating some plugins everything works fine except:
I see only the frame of the pics but no contents.
No thumbnails no lage pics.
I went through this forum: http://piwigo.org/forum/viewtopic.php?id=19680
And tried to follow all the hints:
I added $conf['enable_i_log'] = true, in config.inc.php
-> But I do NOT get an i.log file in _data/tmp
I found this in the apache error log:
Invalid drive specification
This seems to be written for each time any picture shall be displayed on a piwigo web page
I installed ImageMagick
... and found out that the command convert --version on an existing terminal windows shows:
Invalid drive specification
On a newly started window I get the expected information on ImageMagick
So I added
$conf['graphics_library'] = 'ext_imagick';
to conf.inc.php
but this does not change anything.
It also does not show up in the admin page.
And - by the way I have
1 (2) anomalie :
The value of $conf['use_exif'] is not correct because it's not supported (my translation from German)
Correction: $conf['use_exif'] must be set to "false".
So I added
$conf['use_exif'] = false;
The result was instead of two anomalies of the same kind - I am now left with only one of them. (Still the same text).
Summary:
I get the frame of thumbnails - but no pics
When clicking I get initially the frame of the bigger pic and then only the textual links backweard and forward. But no pic!
I see error messages in the apache error log which might lead to a wrong graphics library but I do not know how to change it correctly.
And I did not manage to create the i.log error log file in piwigo.
**
Here's the warning for the timezone problem: (not part of my problem posted here)
Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in ...\htdocs\piwigo\include\smarty\libs\Smarty_Compiler.class.php on line 400
Last edited by mclausen (2012-07-12 08:57:33)
Offline
hello
timezone see the forum
what's your environment ? php version and graphic library
Do you know if PHP is in safe_mode?
Do you know if PHP is runned through suExec or suPHP?
edit : sry I didn't read the part about Windows...
Last edited by flop25 (2012-07-12 19:53:23)
Offline
Hi flop25
my problem is partly solved!...
I am getting the thumbnails and the preview pictures - but still not the normal size pictures.
The thumbnail pictures show up really slowly. Seems they get created while I am calling up the page ??
Picture size settings are set to default.
CPU is not busy and thre's still 2GB left free
here are my current setting:
Version von Piwigo
Piwigo 2.4.1
Prüfe, ob eine neue Version verfügbar ist.
Melde me an für den Piwigo-Newsletter
Server-Daten
Betriebssystem: WINNT ---> actually Windiws 7 (64)
PHP: 5.4.4 (Info anzeigen) [2012-07-12 22:13:54]
mysql: 5.5.25 [2012-07-12 22:13:54]
Grafikbibliothek: External ImageMagick 6.7.8-2
---> this is the catch: The graphic library did not show up until I actually rebooted the system! Starting/ stopping apache did not help!
I still get this anomalie:
Anomalie Korrektur
Der Wert $conf['use_exif'] ist nicht korrekt, weil Exif nicht unterstützt wird $conf['use_exif'] muss auf "false" in Ihrer Server-Datei local/config/config.inc.php gesetzt werden
Gehen Sie zu das Forum oder das Wiki für weitere Informationen
Sorry for the German text
Here's the entry in /config.inc.php
$conf['show_exif'] = false;
$conf['enable_i_log'] = true;
Still no i.log...
safe_mode? - how do I check for that?
Last edited by mclausen (2012-07-12 22:38:58)
Offline
conf exif is totally unrelated ; we will see that later
So you finally get pictures, let's try to use the action to generate the resized pictures, in the Batch manager
Offline
flop25 wrote:
...
So you finally get pictures, let's try to use the action to generate the resized pictures, in the Batch manager
Ok - I'll check for the possibilities in the Batch Manager - expecting this will be self describing how to convert ~ 2500 pictures into all the new sizes - true?
Otherwise - please leave me a note where I can find the documentation.
I'll check this evening.
Any idea why I had to install ImageMagick?
Is this a prerequisite when running piwigo on Windows 7?
Thanks for the help!
-Matthias
Last edited by mclausen (2012-07-13 09:57:56)
Offline
mclausen wrote:
Ok - I'll check for the possibilities in the Batch Manager - expecting this will be self describing how to convert ~ 2500 pictures into all the new sizes - true?
yes easy to understand ^^
just checkbox to select the size you want to generate, click Apply and see if there is any error returned
Offline
So I did use the Batch system...
.. very intuitive
Here are the setting of the picture sizes:
I used ploader to upload all (95%) of my pictures.
In ploader I defined:
Thumbnail 120
Normal size: 800X600
Big-Size was never used...
Since I had 'strange error messages when converting many picture - like
I converted just ONE pic:
The action is:
Aktion
klein mittel groß (small medium big)
der 1 ausgewählten Fotos (for ONE Photo)
... generating photos
Error Message: 2 photos were not generated
After the reboot of the system I suddenly get the i.log going ...
Here it is for just this one action:
2012-07-13T20:55:59+00:00 convert "D:\WWW-Server\htdocs\piwigoMatthias\upload\2012\01\22\20120122223017-2948f537.jpg" -filter Lanczos -resize 576x432! -strip -quality 75 -interlace line -sampling-factor 4:2:2 "D:\WWW-Server\htdocs\piwigoMatthias\_data\i\upload\2012\01\22/20120122223017-2948f537-sm.jpg" 2>&1
2012-07-13T20:55:59+00:00 perf 20120122223017-2948f537.jpg 800 600 480000 20120122223017-2948f537-sm.jpg 576 432 248832 0.6 1583 | 1238 0 340 4
2012-07-13T20:56:01+00:00 convert "D:\WWW-Server\htdocs\piwigoMatthias\upload\2012\01\22\20120122223017-2948f537.jpg" -filter Lanczos -resize 792x594! -quality 75 -interlace line -sampling-factor 4:2:2 "D:\WWW-Server\htdocs\piwigoMatthias\_data\i\upload\2012\01\22/20120122223017-2948f537-me.jpg" 2>&1
2012-07-13T20:56:01+00:00 perf 20120122223017-2948f537.jpg 800 600 480000 20120122223017-2948f537-me.jpg 792 594 470448 0.6 1567 | 1196 0 367 4
Checking the file system:
D:\WWW-Server\htdocs\piwigoMatthias\_data\i\upload\2012\01\22/20120122223017-2948f537-sm.jpg
exists!
The thumbnails as well as the 800x600 pictures seems to be created on the fly - and they are not cached. When I return to the same pic the next day it seems to be created again (not 10% sure..)
Here are the picture sizes I configured:
Größe nach dem Upload anpassen
Maximale Breite Pixel
Maximale Höhe Pixel
Bildqualität %
Bildqualität/Bildgröße
✔ quadratisch 120 x 120 Pixel, zuschneiden bearbeiten
✔ Vorschaubild 144 x 144 Pixel bearbeiten
[X]winzig 240 x 240 Pixel bearbeiten
[X]sehr klein 432 x 324 Pixel bearbeiten
[X]klein 576 x 432 Pixel bearbeiten
[X]mittel 792 x 594 Pixel bearbeiten
[X]groß 1008 x 756 Pixel bearbeiten
[ ]besonders groß 1224 x 918 Pixel bearbeiten
[ ]sehr groß 1656 x 1242 Pixel bearbeiten
Second test converting just ONE picture
quadratisch Vorschaubild winzig sehr klein klein mittel groß (selected all (7) of these)
Mehrfache Bildgrößen generieren
0/0 5/5
5 photos were not generated
i.log:
2012-07-13T21:17:05+00:00 convert "D:\WWW-Server\htdocs\piwigoMatthias\upload\2011\07\30\20110730214203-81794af4.jpg" -crop 600x600+100+0 -filter Lanczos -resize 120x120! -strip -quality 75 -interlace line -sampling-factor 4:2:2 "D:\WWW-Server\htdocs\piwigoMatthias\_data\i\upload\2011\07\30/20110730214203-81794af4-sq.jpg" 2>&1
2012-07-13T21:17:05+00:00 perf 20110730214203-81794af4.jpg 800 600 480000 20110730214203-81794af4-sq.jpg 120 120 14400 0.6 1441 | 1246 0 0 191 4
2012-07-13T21:17:06+00:00 convert "D:\WWW-Server\htdocs\piwigoMatthias\upload\2011\07\30\20110730214203-81794af4.jpg" -filter Lanczos -resize 240x180! -strip -quality 75 -interlace line -sampling-factor 4:2:2 "D:\WWW-Server\htdocs\piwigoMatthias\_data\i\upload\2011\07\30/20110730214203-81794af4-2s.jpg" 2>&1
2012-07-13T21:17:06+00:00 perf 20110730214203-81794af4.jpg 800 600 480000 20110730214203-81794af4-2s.jpg 240 180 43200 0.6 1427 | 1223 0 200 4
2012-07-13T21:17:08+00:00 convert "D:\WWW-Server\htdocs\piwigoMatthias\upload\2011\07\30\20110730214203-81794af4.jpg" -filter Lanczos -resize 432x324! -strip -quality 75 -interlace line -sampling-factor 4:2:2 "D:\WWW-Server\htdocs\piwigoMatthias\_data\i\upload\2011\07\30/20110730214203-81794af4-xs.jpg" 2>&1
2012-07-13T21:17:08+00:00 perf 20110730214203-81794af4.jpg 800 600 480000 20110730214203-81794af4-xs.jpg 432 324 139968 0.6 1496 | 1208 0 283 4
2012-07-13T21:17:09+00:00 convert "D:\WWW-Server\htdocs\piwigoMatthias\upload\2011\07\30\20110730214203-81794af4.jpg" -filter Lanczos -resize 576x432! -strip -quality 75 -interlace line -sampling-factor 4:2:2 "D:\WWW-Server\htdocs\piwigoMatthias\_data\i\upload\2011\07\30/20110730214203-81794af4-sm.jpg" 2>&1
2012-07-13T21:17:09+00:00 perf 20110730214203-81794af4.jpg 800 600 480000 20110730214203-81794af4-sm.jpg 576 432 248832 0.6 1538 | 1208 0 325 4
2012-07-13T21:17:11+00:00 convert "D:\WWW-Server\htdocs\piwigoMatthias\upload\2011\07\30\20110730214203-81794af4.jpg" -filter Lanczos -resize 792x594! -quality 75 -interlace line -sampling-factor 4:2:2 "D:\WWW-Server\htdocs\piwigoMatthias\_data\i\upload\2011\07\30/20110730214203-81794af4-me.jpg" 2>&1
2012-07-13T21:17:11+00:00 perf 20110730214203-81794af4.jpg 800 600 480000 20110730214203-81794af4-me.jpg 792 594 470448 0.6 1661 | 1242 0 415 4
The following files have been generated:
20110730214203-81794af4-2s.jpg
20110730214203-81794af4-me.jpg
20110730214203-81794af4-sm.jpg
20110730214203-81794af4-sq.jpg
20110730214203-81794af4-th.jpg
20110730214203-81794af4-xs.jpg
Cheers
Matthias
Offline
so the files are there but it says Not generated? Are the files correct : no 0ko, and the good dimension?
and only one of seven has been processed ?
Offline
So I converted all of my pictures and got: '11895 photos were not generated'
None the less all of the pictures are there. So it seems to be ok.
So we can concentrate on: Why do I actually get this error message?
There are still three open issues whcih might be related:
There's still the exif anomalie:
Der Wert $conf['use_exif'] ist nicht korrekt, weil Exif nicht unterstützt wird.
But - as mentioned before- I have already set exif to false...
Second I get the following error message from apache:
[Sat Jul 14 05:14:05 2012] [error] [client 127.0.0.1] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in D:\\WWW-Server\\htdocs\\piwigoMatthias\\i.php on line 74, referer: http://localhost/piwigoMatthias/admin.php?page=batch_manager
I think I did not get this message before I installed wordpress on that machine. But I am not 100% positive about that.
Last not least I tried to use the local photo upload:
Die GD Library ist nicht auf dem Server installiert -> GD library is not installed.
And no window shows up.
No - its not installed - but do I have to?
Since I am always using ploader for uploading this would not really harm me.
But - in the end I'd like to get a fully bugfree version of piwigo installed.
A nice side effevt of creating all the pictures was that the file space used on the htdocs disk was actualle LESS then before. I had expected it the othr way 'round.
Cheers
Matthias
Last edited by mclausen (2012-07-14 22:06:35)
Offline
about timezone
[Forum, post 115421 by plg in topic 16354] Errors
about conf exif, that's weird : did you use localfiles editor to edit local/config/config.inc.php? what's exactly in? Thx
what do you means by "the local photo upload"? It's the web form, inside your Piwigo?
Offline
Hi flop25,
thanks for still following this thread.
flop25 wrote:
about timezone
[Forum, post 115421 by plg in topic 16354] Errors
yes - it does work now for me!!
php.ini
date.timezone = "Europe/Berlin";
unfortunately the example shows:
Code:
date.timezone = America/Los_Angeles
which is not correct. (quotes)
flop25 wrote:
about conf exif, that's weird : did you use localfiles editor to edit local/config/config.inc.php? what's exactly in? Thx
/config.inc.php looks like this:
$conf['show_exif'] = false;
$conf['enable_i_log'] = true;
$conf['graphics_library'] = 'ext_imagick';
-yes I have used the system editor and not the localfiles editor.
flop25 wrote:
what do you means by "the local photo upload"? It's the web form, inside your Piwigo?
I have added a screendum to make sure we are talking about the same thing.
Beware: I am using: $conf['graphics_library'] = 'ext_imagick';
Last question:
When I use ploader - it seems that the additional files do net get created automaticvally.
Are there any settings I am missing to make this happen?
Here's the location of the newly uploaded files:
http://clausen.homeip.net/piwigoMatthia … tegory/121
Thanks fpr your patience and help.
-Matthias
Last edited by mclausen (2012-07-16 22:47:59)
Offline
-about timezone ; great
-about local/config/config.inc.php : use localfiles editor, veru usefull with syntax check and backup files. In this case, you might have forgotten the initial <?php and final ?>
-about Ploader, open a new thread I can't help you on that
Offline
flop25 wrote:
-about local/config/config.inc.php : use localfiles editor, veru usefull with syntax check and backup files. In this case, you might have forgotten the initial <?php and final ?>
<?php
//
// this file is created here:
// D:\WWW-Server\Apache\Apache-2-2-15\htdocs\piwigoMatthias\local\config
//
$conf['smtp_host'] = 'a.b.de';
$conf['smtp_user'] = 'account@domain.de';
$conf['smtp_password'] = 'password';
$conf['gallery_url'] = 'http://mydomain.de/index.php';
//
//MCl
//
$conf['show_exif'] = false;
$conf['enable_i_log'] = true;
$conf['graphics_library'] = 'ext_imagick';
?>
... from localfiles editor
Should be OK shouldn't it?
... but still: Der Wert $conf['use_exif'] ist nicht korrekt, weil Exif nicht unterstützt wird
Any idea about: Die GD Library ist nicht auf dem Server installiert when trying to upload files from within piwigo?
flop25 wrote:
-about Ploader, open a new thread I can't help you on that
Well - it's not a real problem - I can do that manually - if I only knew that 'normally' the other size of pictures should be generated automatically - I would open a new thread...
Cheers
Matthias
Offline
okay very very weird all of that! never see that! I'm gonna call for some help ^^
Offline
Thanks for the help!
It looks like the error message when I generated additional picture sizes was due to the time/ date problem.
Now I get this message:
50 photos were generated - success!
-Matthias
Offline