Announcement

  •  » Beta testing
  •  » Lightroom plug-in beta testing - invitation

#181 2011-02-22 18:04:41

Friesian
Guest

Re: Lightroom plug-in beta testing - invitation

Hello alloyphoto,

I have installed the new version, but it don't work.
Now I can't publish my photos.
Another Error:

"Error code403
Forbidden"

I've send you the log-file

regards

 

#182 2011-02-22 18:14:02

alloyphoto
Member
alloyphoto.com
2010-11-09
157

Re: Lightroom plug-in beta testing - invitation

Friesian wrote:

"Error code403
Forbidden"

There seems to be an issue with your Piwigo installation or with the configuration of your HTTP server. The API request returns the HTTP error 403 (Forbidden) when trying to access the following URL: http://diskstation/piwigo/ws.php

If you are unsure about how to fix this I would recommend asking help from the Piwigo team.

Offline

 

#183 2011-02-22 18:16:09

Gotcha
Former Piwigo Team
Pourrières (83) [FR]
2007-03-14
604

Re: Lightroom plug-in beta testing - invitation

Friesian wrote:

Hello alloyphoto,

I have installed the new version, but it don't work.
Now I can't publish my photos.
Another Error:

"Error code403
Forbidden"

I've send you the log-file

regards

Check the configuration of your service of publication (Lightroom).

Offline

 

#184 2011-02-22 18:18:00

alloyphoto
Member
alloyphoto.com
2010-11-09
157

Re: Lightroom plug-in beta testing - invitation

Friesian wrote:

"Error code403
Forbidden"

Another possible cause of this issue is the incorrect or incomplete URL for your Piwigo installation.

Offline

 

#185 2011-02-22 18:41:01

Friesian
Guest

Re: Lightroom plug-in beta testing - invitation

I've checked the configuration, it's all ok.
The Plugin can create categories, so the connection is ok.
But when I try to publish my photos, the error message is coming.

So there is any problem to publish the photos, I think.

 

#186 2011-02-22 19:07:48

alloyphoto
Member
alloyphoto.com
2010-11-09
157

Re: Lightroom plug-in beta testing - invitation

Friesian wrote:

I've checked the configuration, it's all ok.
The Plugin can create categories, so the connection is ok.
But when I try to publish my photos, the error message is coming.

So there is any problem to publish the photos, I think.

Before publishing photos the plug-in invokes the pwg.getVersion method. According to your log file, this causes the error. Could someone from the Piwigo team comment on this please? Could it be the  getVersion method is not available for some reason?

Last edited by alloyphoto (2011-02-22 20:49:26)

Offline

 

#187 2011-02-22 19:12:31

alloyphoto
Member
alloyphoto.com
2010-11-09
157

Re: Lightroom plug-in beta testing - invitation

I reviewed the Piwigo  source code and found that getVersion returns a "Forbidden" error if the show_version option in Piwigo configuration is turned off. I believe all you need to do is edit your configuration and enable the "show version" option.

Last edited by alloyphoto (2011-02-22 19:18:30)

Offline

 

#188 2011-02-22 21:45:56

Friesian
Guest

Re: Lightroom plug-in beta testing - invitation

alloyphoto wrote:

I reviewed the Piwigo  source code and found that getVersion returns a "Forbidden" error if the show_version option in Piwigo configuration is turned off. I believe all you need to do is edit your configuration and enable the "show version" option.

Where can I change the "show version" option?

 

#189 2011-02-22 21:56:58

alloyphoto
Member
alloyphoto.com
2010-11-09
157

Re: Lightroom plug-in beta testing - invitation

Friesian wrote:

Where can I change the "show version" option?

That I don't know. I am hoping someone from the Piwigo team would be able to provide an answer.

Offline

 

#190 2011-02-22 22:25:24

Gotcha
Former Piwigo Team
Pourrières (83) [FR]
2007-03-14
604

Re: Lightroom plug-in beta testing - invitation

Friesian wrote:

alloyphoto wrote:

I reviewed the Piwigo  source code and found that getVersion returns a "Forbidden" error if the show_version option in Piwigo configuration is turned off. I believe all you need to do is edit your configuration and enable the "show version" option.

Where can I change the "show version" option?

In [ Administration >> Plugins >> LocalFiles Editor > Local Configuration ] (first page)
Add this code :

Code:

// show_version : shall the version of Piwigo be displayed at the
// bottom of each page ?
$conf['show_version'] = true;

Offline

 

#191 2011-02-22 23:43:26

MiniKeb
Member
2011-02-11
4

Re: Lightroom plug-in beta testing - invitation

alloyphoto wrote:

I added another fix for the issue with creating the album hierarchy when using album sets. Build #381 is available for download.

Thank you very much, I'll try that tomorrow!
Thanks again

Offline

 

#192 2011-02-23 00:06:59

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13820

Re: Lightroom plug-in beta testing - invitation

Hum... I think I should modify the code and replace

Code:

if ($conf['show_version'])

by

Code:

if ($conf['show_version'] or is_admin())

Admins can see the version number in the administration, why couldn't they see it in the web API!

Offline

 

#193 2011-02-23 00:10:00

alloyphoto
Member
alloyphoto.com
2010-11-09
157

Re: Lightroom plug-in beta testing - invitation

plg wrote:

Admins can see the version number in the administration, why couldn't they see it in the web API!

Pierrick, I could be wrong, but I think the pwg.getVersion method can be invoked by a non-authenticated user and that was the main reason behind protecting the returned value with a configuration option. If you make it available to authenticated users only, then the checking of the "show version" option can go away.

Last edited by alloyphoto (2011-02-23 00:11:57)

Offline

 

#194 2011-02-23 00:15:05

alloyphoto
Member
alloyphoto.com
2010-11-09
157

Re: Lightroom plug-in beta testing - invitation

Pierrick, you are right. If the user is authenticated as admin, then it shouldn't matter how the configuration option is set. Your solution would work perfectly.

Offline

 

#195 2011-02-23 00:21:32

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13820

Re: Lightroom plug-in beta testing - invitation

Offline

 
  •  » Beta testing
  •  » Lightroom plug-in beta testing - invitation

Board footer

Powered by FluxBB

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