Bug 257166 - Unable to create a new album or upload photos when server use https
Summary: Unable to create a new album or upload photos when server use https
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Piwigo (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 16:39 UTC by Emmanuel Lacour
Modified: 2023-02-25 09:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Lacour 2010-11-17 16:39:55 UTC
Version:           1.5.0 (using KDE 4.4.5) 
OS:                Linux

Setup:

- debian sid
- kde from experimental
- kipi/digikam compiled from source (1.5.0)
- gallery 2.3.1 over https

Everything works fine with GalleryRemote, but with the kipi plugin, via digikam, I can list albums, list some phots in some albums (but not all), but I cannot create albums (Failed to create new album) or upload images.



Reproducible: Always

Steps to Reproduce:
I can give privatly a test accoun to my gallery.

I configured the url https://my.domain/gallery2/main.php with proper login/password and gallery "2" selected. I see all albums and click on one. Then I click on "New album", fill a non existent name in Title, click on "Ok".

Actual Results:  
Failed to create new album. In fact, it is not created.

Expected Results:  
New album created.

I enabled php error logging, gallery debugging, echoed POST values, but nothing interresting was found.
Comment 1 Emmanuel Lacour 2010-11-17 16:51:55 UTC
I just saw that for the fact that listing images failed in some albums and not others, is a permission issue. If I leave everyone show this album and images, I can show them in the kipi plugin. So it seems that I'm not properly authenticated against gallery2. But in fact I am at least correctly authenticated for the root because if I use another user with less rights, I see less albums. Maybe a problem with the authcookie (first connexion ok, then authentication lost?)
Comment 2 Emmanuel Lacour 2010-11-17 20:54:52 UTC
I just tested without ssl (http instead of https) and it works!

So there seems to be sessions problems with https (but Java galleryRemote works).
Comment 3 caulier.gilles 2011-12-21 10:07:49 UTC
Emmanuel,

This file still valid using kipi-plugins 2.4 ?

Gilles Caulier
Comment 4 caulier.gilles 2012-09-21 07:57:12 UTC
Emmanuel,

This file still valid using kipi-plugins 2.9 ?

Gilles Caulier
Comment 5 caulier.gilles 2015-05-19 10:17:01 UTC
Emmanuel,

This file still valid using kipi-plugins 4.10.0 ?

Gilles Caulier
Comment 6 Emmanuel Lacour 2015-05-19 11:23:36 UTC
Le 19/05/2015 12:17, Gilles Caulier a écrit :
>
> --- Comment #5 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Emmanuel,
>
> This file still valid using kipi-plugins 4.10.0 ?
>
>

unfortunatly, I no longer use digikam, so I cannot answer :(
Comment 7 caulier.gilles 2015-06-29 17:52:25 UTC
New Kipiplugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 8 caulier.gilles 2015-07-04 09:15:02 UTC
GalleryExport tool is not maintained since a while and Gallery project is dead.
Use PiwigoExport tool instead.
Gilles Caulier