EnglishHello everyone.
I run a small photo album on my own server, and when I had to reinstall everything after a crash,I thought I would try piwigo instead of gallery2
The installation was a breeze, it all installed first time, and there were no problems apart from a timezone issue in php which was easily sorted.
I am having trouble setting up ploader. I goto the login and enter my login details
http://www.ourpix.co.uk
admin username xxxx
admin password yyyy
(Obviously those are not my real login details,but I am entering them correctly when I try to use ploader)
I get...
piwigo login error
"connection to http://www.ourpix.co.uk failed"
The server I am using is on my LAN, and is visible to the web. It and runs on the latest version of apache22, php 5.3, activeperl 5.1 on windows 2003 server.
On my workstation, I have a hostname set in my hosts file so www.ourpix.co.uk resolves correctly to the web server and I can log in to the web front end quite happily using the details i try to enter when trying to start ploader.
Does anyone have any ideas where to start troubleshooting? I have piwigo running nicely, i just cannot add any pictures - I would be very sorry to fail at this stage!
Regards
John
PS I accidentally posted this in extensions.
Offline
Hi jar,
(you should subscribe to this topic to get email notification)
Related problem on piwigo.org:
* [Bugtracker, bug 925, open] Connection impossible when gallery is locked : is your gallery locked currently?
* [Forum, post 108967 by John Mann in topic 14970] pLoader for Windows, prepare and upload photos from your computer
* [Forum, topic 15137] piwigo login error (not resolved, workaround used)
* [Forum, post 108732 by plg in topic 15266] pLoader login error
Here is what I see on your Piwigo installation:
$ perl piwigo_remote.pl --base_url=http://www.ourpix.co.uk --user=plg --pass=***** --action=pwg.categories.getList
$VAR1 = '
Warning: get_class() expects parameter 1 to be object, boolean given in C:\\apache\\apache22\\siteourpix\\include\\ws_core.inc.php on line 527
Warning: get_class() expects parameter 1 to be object, array given in C:\\apache\\apache22\\siteourpix\\include\\ws_protocols\\json_encoder.php on line 61
Warning: get_class() expects parameter 1 to be object, array given in C:\\apache\\apache22\\siteourpix\\include\\ws_core.inc.php on line 272
Warning: get_class() expects parameter 1 to be object, array given in C:\\apache\\apache22\\siteourpix\\include\\ws_core.inc.php on line 282
Warning: get_class() expects parameter 1 to be object, array given in C:\\apache\\apache22\\siteourpix\\include\\ws_core.inc.php on line 282
Warning: get_class() expects parameter 1 to be object, array given in C:\\apache\\apache22\\siteourpix\\include\\ws_core.inc.php on line 272
Warning: get_class() expects parameter 1 to be object, array given in C:\\apache\\apache22\\siteourpix\\include\\ws_core.inc.php on line 282
{"stat":"ok","result":{"categories":[]}}';
malformed JSON string, neither array, object, number, string or atom, at character offset 1 (before "Warning: get_class()...") at piwigo_remote.pl line 279The problem is that Piwigo sends some warnings. Is it possible for you to decrease the error reporting level for PHP on your webserver?
Offline
jar wrote:
PS I accidentally posted this in extensions.
I had intentionally moved your topic to the "extensions" section of the forum :-) pLoader is a Piwigo extension.
Offline
Thankyou very much for he response and I am sorry I moved the post! I thought I had put it in the wrong group (I was very tired)
I set the line in php.ini to read
error_reporting = E_ALL & ~E_NOTICE
and restarted apache.
I get the same error but the apache error log is now telling me.
[Sat Sep 26 14:27:17 2009] [error] [client 127.0.0.1] File does not exist: C:/apache/apache22/sitejohnralston/piwigo
[Sat Sep 26 14:27:17 2009] [error] [client 127.0.0.1] File does not exist: C:/apache/apache22/sitejohnralston/piwigo
[Sat Sep 26 14:27:17 2009] [error] [client 192.168.7.7] Premature end of script headers: piwigo_remote.pl
[Sat Sep 26 14:27:17 2009] [error] [client 192.168.7.7] Use of uninitialized value $opt{"action"} in string eq at C:/apache/apache22/siteourpix/tools/piwigo_remote.pl line 78.\r
[Sat Sep 26 14:27:17 2009] [error] [client 192.168.7.7] Use of uninitialized value $opt{"action"} in string eq at C:/apache/apache22/siteourpix/tools/piwigo_remote.pl line 141.\r
[Sat Sep 26 14:27:17 2009] [error] [client 192.168.7.7] Use of uninitialized value $opt{"action"} in string eq at C:/apache/apache22/siteourpix/tools/piwigo_remote.pl line 167.\r
[Sat Sep 26 14:27:17 2009] [error] [client 192.168.7.7] Use of uninitialized value $opt{"action"} in string eq at C:/apache/apache22/siteourpix/tools/piwigo_remote.pl line 187.\r
[Sat Sep 26 14:27:17 2009] [error] [client 192.168.7.7] Use of uninitialized value $opt{"action"} in string eq at C:/apache/apache22/siteourpix/tools/piwigo_remote.pl line 203.\r
[Sat Sep 26 14:27:17 2009] [error] [client 192.168.7.7] Use of uninitialized value $opt{"action"} in string eq at C:/apache/apache22/siteourpix/tools/piwigo_remote.pl line 218.\r
[Sat Sep 26 14:27:17 2009] [error] [client 192.168.7.7] Use of uninitialized value $opt{"action"} in string eq at C:/apache/apache22/siteourpix/tools/piwigo_remote.pl line 237.\r
[Sat Sep 26 14:27:17 2009] [error] [client 192.168.7.7] Use of uninitialized value $opt{"action"} in string eq at C:/apache/apache22/siteourpix/tools/piwigo_remote.pl line 237.\r
I apologize for my lack of understanding but I am not very good with code. Is this still a problem with error reporting?
EDIT
I meant to say that I got the above messages when I ran piwigo_remote.pl from a web browser (the browser said there was a 500 internal server error, but the error above showed up in the logs)
If anyone can help me get past my problem of uploading photos that would be great!
John (jar)
Last edited by jar (2009-09-26 19:20:34)
Offline
piwigo_remote.pl is not a web page, it has to be run from the command line.
I would have liked to perform another test but, when I go to your website http://www.ourpix.co.uk/ I get a
Gallery requires short_open_tag to be on.
So I suppose you're currently testing Gallery and not Piwigo anymore :-/
Offline
Hi
I am indeed trying out the new gallery 3 beta.
I used to use gallery2, so I thought I would try out the new version as well.
I will switch back to the piwigo engine, and test when I get some time. Both systems have good points and not so good ones. :-)
John R
Offline