Hello,
I have suddenly become unable to log in to my Piwigo hosting server through the Lightroom Piwigo Export plugin, which I have used for over a decade. It was working fine two weeks ago, but when I tried to upload some additional images to my site, I found that the upload information fields were blank. When i filled them in, I got the puzzling message, "API Handler Missing" below that was the additional information "Unable to access your Piwigo hosting service. ws.php API script missing."
My hosting service does not know what that message means and says it is nothing on their end. Is this 1) A Piwigo Export Plugin issue? 2) A Lightroom Classic issue? 3) A Piwigo issue?
Iʻd much appreciate some info on what is an API Handler and where I might begin to troubleshoot.
Thanks,
Jan B.
Piwigo 13.6.0 Check for upgrade
Installed on 17 January 2015, 8 years 3 months 1 day ago
Operating system: Linux
PHP: 7.4.33 (Show info) [2023-04-18 22:23:22]
MySQL: 5.5.5-10.2.44-MariaDB-log [2023-04-18 15:23:22]
Graphics Library: ImageMagick 6.9.10-68
Cache size 1106.57 Mo calculated 1 month ago
Piwigo URL: http://janbecket.net/piwigo
Offline
There should be a file ws.php in your Piwigo directory that registers the API methods with the web service and seems to be missing (or not accessible by the web server).
Offline
Yes, the file is there, in my Piwigo directory. It looks like a text file that contains various settings. Where do you suggest I go from here?
Offline
If you are saying a "text" file with various settings this sounds strange.
The file should start like below. If this is not the case something is broken in your piwigo installation.
<?php
// +-----------------------------------------------------------------------+
// | This file is part of Piwigo. |
// | |
// | For copyright and license information, please view the COPYING.txt |
// | file that was distributed with this source code. |
// +-----------------------------------------------------------------------+
define ('PHPWG_ROOT_PATH', './');
define ('IN_WS', true);
Offline
It should simply be this file https://github.com/Piwigo/Piwigo/blob/13.x/ws.php
If you point your browser to your instance's ws.php, the result should be something like
<rsp stat="fail"> <err code="501" msg="Missing "method" name"/> </rsp>
And apparently it is. So more likely a Lightroom plugin problem.
Offline