Announcement

#1 2016-05-06 18:15:29

TheFuzz4
Guest

New install pictures not showing up

Howdy Everyone,

So my old gallery install died and was not recoverable so I fitured now is as good a time to migrate over to Piwigo as any lol.  I really like this interface and everything.  I also love the shotwell integration and I was able to upload around 1500 pictures with no issue.  However now when I'm trying to upload new pictures.  Shotwell shows that everything worked however there is no evidence of any of the pictures on the site itself.  I can see that the album I told it to create was generated but there is nothing else there. 

I looked in the logs but I can't see anything exciting going into there that looks like its processing the photos. 

I'm running on Centos7 with the latest php and httpd as well as the current version of piwigo.

When uploading I'm hitting the server directly since I host it here in my house so I'm not going through my firewall to upload which I think will break since the plugin doesn't seem to like https :).  No biggie I have no issue with hitting the server directly.  If there are other logs besides

/var/www/html/piwigo/_data/logs

That I can look at please let me know and I'll gladly share whatever to help troubleshoot this. 

Thank you all for your help with this and I look forward to getting all of my family pics back online.

 

#2 2016-05-06 20:16:21

flop25
Piwigo Team
2006-07-06
7037

Re: New install pictures not showing up

Hello
sounds like an issue for the shotwell plugin itself ; if you upload directly is everything ok?


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 2016-05-07 02:14:41

TheFuzz4
Guest

Re: New install pictures not showing up

Yep uploading through the web interface is working like a champ.  WTH wonder whats going on with the shotwell plugin for piwigo.  Worked fine one day and now nada.

 

#4 2016-05-07 10:51:00

flop25
Piwigo Team
2006-07-06
7037

Re: New install pictures not showing up

check the server log, think of what was updated between the last upload and now and post on https://github.com/guillaumev/piwigoshotwell


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 2016-05-08 17:51:43

TheFuzz4
Guest

Re: New install pictures not showing up

In regards to the server log are you referring to the one that is under the _data dir on the piwigo host? 

When I tailed that log file during the upload it didn't log a thing.

I'll also post in the github as well.  Thank you so much for your help with this.

 

#6 2016-05-08 17:52:58

flop25
Piwigo Team
2006-07-06
7037

Re: New install pictures not showing up

TheFuzz4 wrote:

In regards to the server log are you referring to the one that is under the _data dir on the piwigo host?

no the server itself ; apache or nginx In fact everything under var/log


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 2016-05-09 21:10:20

TheFuzz4
Guest

Re: New install pictures not showing up

Thank you @flop25 for your help with this.  I've posted a new issue on github here [Github] piwigoshotwell issue #2

and here is what I see in my logs

[Mon May 09 13:07:36.152515 2016] [:error] [pid 2729] [client 192.168.1.129:28824] PHP Warning:  md5_file(): Filename cannot be empty in /var/www/html/piwigo/admin/include/functions_upload.inc.php on line 170
[Mon May 09 13:07:36.154990 2016] [:error] [pid 2729] [client 192.168.1.129:28824] PHP Warning:  getimagesize(): Filename cannot be empty in /var/www/html/piwigo/admin/include/functions_upload.inc.php on line 221
[Mon May 09 13:07:50.428391 2016] [:error] [pid 2730] [client 192.168.1.129:28982] PHP Warning:  md5_file(): Filename cannot be empty in /var/www/html/piwigo/admin/include/functions_upload.inc.php on line 170
[Mon May 09 13:07:50.431760 2016] [:error] [pid 2730] [client 192.168.1.129:28982] PHP Warning:  getimagesize(): Filename cannot be empty in /var/www/html/piwigo/admin/include/functions_upload.inc.php on line 221
[Mon May 09 13:08:08.824437 2016] [:error] [pid 2731] [client 192.168.1.129:29175] PHP Warning:  md5_file(): Filename cannot be empty in /var/www/html/piwigo/admin/include/functions_upload.inc.php on line 170
[Mon May 09 13:08:08.832002 2016] [:error] [pid 2731] [client 192.168.1.129:29175] PHP Warning:  getimagesize(): Filename cannot be empty in /var/www/html/piwigo/admin/include/functions_upload.inc.php on line 221
[Mon May 09 13:08:27.125643 2016] [:error] [pid 2727] [client 192.168.1.129:29208] PHP Warning:  md5_file(): Filename cannot be empty in /var/www/html/piwigo/admin/include/functions_upload.inc.php on line 170
[Mon May 09 13:08:27.156576 2016] [:error] [pid 2727] [client 192.168.1.129:29208] PHP Warning:  getimagesize(): Filename cannot be empty in /var/www/html/piwigo/admin/include/functions_upload.inc.php on line 221


I can't really think of anything thats changed recently with this so not sure what caused it to think that the filename is empty.

 

#8 2016-08-04 21:11:53

troffasky
Member
2015-06-13
13

Re: New install pictures not showing up

I have this issue too. I tried to upload a batch of 16 pictures and only one appeared. No subsequent attempt to upload pictures has worked. Everything looks fine from Shotwell. I am baffled by this [not least because I didn't make any changes to the server configuration in the middle of the upload :-S].

Last edited by troffasky (2016-08-04 21:13:27)

Offline

 

#9 2016-08-04 21:24:48

troffasky
Member
2015-06-13
13

Re: New install pictures not showing up

Getting down and dirty with a packet capture...I can see that the server returns 200/OK, but the actual content of the reply is:

    <br />\n
    <b>Warning</b>:  md5_file(): Filename cannot be empty in <b>/var/www/gallery4/admin/include/functions_upload.inc.php</b> on line <b>170</b><br />\n
    <br />\n
    <b>Warning</b>:  getimagesize(): Filename cannot be empty in <b>/var/www/gallery4/admin/include/functions_upload.inc.php</b> on line <b>221</b><br />\n
    forbidden file type

Is the forbidden file type the cause of the message ["Filename cannot be empty..."] or a symptom?

Offline

 

#10 2016-08-04 22:14:50

troffasky
Member
2015-06-13
13

Re: New install pictures not showing up

After some digging [no thanks to Shotwell - why is it so hard to see the filename or other useful information about a picture?] it appears that the one picture that uploaded from the batch was the smallest file of the lot. That immediately lead me to php.ini. I increased upload_max_filesize and post_max_size [not sure which one it was that did it] and lo and behold everything has uploaded fine now.

Offline

 

#11 2016-08-04 22:25:14

troffasky
Member
2015-06-13
13

Re: New install pictures not showing up

flop25 wrote:

check the server log, think of what was updated between the last upload and now and post on https://github.com/guillaumev/piwigoshotwell

I'm not 100% convinced that this is actually the home of the Piwigo plugin for Shotwell.
It says "You need to have the pwg.images.addSimple" and I don't, and it works fine.
It also says "Does not send photo tags, author, description to the service", but I found that tags and description are added fine.

Offline

 

Board footer

Powered by FluxBB

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