Announcement

#1 2012-07-11 22:43:16

mclausen
Member
Hamburg/ Germany
2012-07-11
11

no pics at all after upgrade to 2.4.1

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

 

#2 2012-07-12 19:46:36

flop25
Piwigo Team
2006-07-06
6931

Re: no pics at all after upgrade to 2.4.1

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)


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-07-12 22:35:42

mclausen
Member
Hamburg/ Germany
2012-07-11
11

Re: no pics at all after upgrade to 2.4.1

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

 

#4 2012-07-12 22:41:42

flop25
Piwigo Team
2006-07-06
6931

Re: no pics at all after upgrade to 2.4.1

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


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

 

#5 2012-07-13 09:54:10

mclausen
Member
Hamburg/ Germany
2012-07-11
11

Re: no pics at all after upgrade to 2.4.1

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

 

#6 2012-07-13 09:57:21

flop25
Piwigo Team
2006-07-06
6931

Re: no pics at all after upgrade to 2.4.1

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


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

 

#7 2012-07-13 23:37:20

mclausen
Member
Hamburg/ Germany
2012-07-11
11

Re: no pics at all after upgrade to 2.4.1

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

 

#8 2012-07-14 14:57:38

flop25
Piwigo Team
2006-07-06
6931

Re: no pics at all after upgrade to 2.4.1

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 ?


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

 

#9 2012-07-14 22:06:03

mclausen
Member
Hamburg/ Germany
2012-07-11
11

Re: no pics at all after upgrade to 2.4.1

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

 

#10 2012-07-15 12:53:06

flop25
Piwigo Team
2006-07-06
6931

Re: no pics at all after upgrade to 2.4.1

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?


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-07-16 22:44:24

mclausen
Member
Hamburg/ Germany
2012-07-11
11

Re: no pics at all after upgrade to 2.4.1

Hi flop25,

thanks for still following this thread.

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


Uploaded Images

Last edited by mclausen (2012-07-16 22:47:59)

Offline

 

#12 2012-07-17 09:30:04

flop25
Piwigo Team
2006-07-06
6931

Re: no pics at all after upgrade to 2.4.1

-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


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

 

#13 2012-07-17 21:47:31

mclausen
Member
Hamburg/ Germany
2012-07-11
11

Re: no pics at all after upgrade to 2.4.1

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

 

#14 2012-07-17 22:17:10

flop25
Piwigo Team
2006-07-06
6931

Re: no pics at all after upgrade to 2.4.1

okay very very weird all of that! never see that! I'm gonna call for some help ^^


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

 

#15 2012-07-17 22:54:44

mclausen
Member
Hamburg/ Germany
2012-07-11
11

Re: no pics at all after upgrade to 2.4.1

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

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact