Closed GoogleCodeExporter closed 8 years ago
Original comment by anthony....@gmail.com
on 19 Apr 2011 at 5:49
Hello,
you gallery returned the following error while trying to connect through the
web service api :
{"stat":"fail",err:400,message:"Unknown request format"
could you please provide your piwigo version and also, if possible, give me a
test account (via email to anthony.dahanne@gmail.com)
thanks
Original comment by anthony....@gmail.com
on 20 Apr 2011 at 2:51
Hi
Piwigo 2.2.0
login: anthony
pass: regal
Original comment by per%pp-p...@gtempaccount.com
on 20 Apr 2011 at 4:48
hello,
trying to login in, I still have the same response.
I also tried with Jiwigo (the java desktop client), same thing.
I think the problem is related to your piwigo installation.
ask your question on their forum, they should get back to you.
here is the detail :
request
POST /galleri//ws.php HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=iso-8859-1
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.1) Gecko/20090715
Firefox/3.5.1
Host: sbfgalleri.web.surftown.se
Content-Length: 56
method=pwg.session.login&username=anthony&password=regal
response :
HTTP/1.1 400 Unknown request format
Date: Sat, 23 Apr 2011 14:50:00 GMT
Server: Apache/2.2.6 mod_auth_kerb/5.3 PHP/5.2.17 mod_fcgid/2.3.5
X-Powered-By: PHP/5.2.17
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: pwg_id=6ksrldfgc8tqrfbhrk663hhhj2; path=/galleri/; HttpOnly
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain; charset=utf-8
{"stat":"fail","err":400,"message":"Unknown request format"}
Original comment by anthony....@gmail.com
on 23 Apr 2011 at 2:53
one more thing; I also tried with this script:
#!/usr/bin/perl
use LWP::UserAgent;
my %conf = (
base_url => 'http://sbfgalleri.web.surftown.se/galleri/',
username => 'anthony',
password => 'regal',
image_path => '/tmp/voiture.jpg',
category => 98
);
my $ua = LWP::UserAgent->new;
$ua->cookie_jar({});
$ua->post(
$conf{base_url}.'/ws.php',
{
method => 'pwg.session.login',
username => $conf{username},
password => $conf{password},
}
);
same thing (err 400); so it confirms something is wrong with your gallery (at
least the web services)
Original comment by anthony....@gmail.com
on 23 Apr 2011 at 3:02
Original comment by anthony....@gmail.com
on 30 Apr 2011 at 3:29
closing this issue, I remember the problem was fixed in Piwigo.
if the problem is still there, please re open the issue
Original comment by anthony....@gmail.com
on 18 Jun 2011 at 4:16
Original issue reported on code.google.com by
per%pp-p...@gtempaccount.com
on 14 Apr 2011 at 10:20