condorman17
Forum Replies Created
-
Thanks for your quick answer
It could be the id or username of the user
I found this code but I don’t know if it could be userfull .
<?php
if (is_user_logged_in()) {
$user = wp_get_current_user();
$userName = $user->user_login;
}
?>Forum: Plugins
In reply to: [PiwigoPress] Thanks to vpiwigo, new maintainer, new releaseHi Norbert,
In fact, with your message, I understand where the issue could come from.
My web hosting provider use modsecurity. Then I found in the log many messages :[Fri Nov 21 02:57:57 2014] [error] [client 150.65.150.103] ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file “/usr/local/apache2/conf/modsecurity/base_rules/modsecurity_crs_21_protocol_anomalies.conf”] [line “65”] [id “960009”] [rev “2.1.1”] [msg “Request Missing a User Agent Header”] [severity “NOTICE”] [tag “PROTOCOL_VIOLATION/MISSING_HEADER_UA”] [tag “WASCTC/WASC-21”] [tag “OWASP_TOP_10/A7”] [tag “PCI/6.5.10”] [hostname “www.gouyet.org”] [uri “/piwigo/ws.php”] [unique_id “VG6cJQoAdhEAAHN7zwIAAACw”]
When you query from a browser, you have headers in the HTTP query.
When you query with wget, you probably don’t add header and modsecurity block the query.
I temporary disable modsecurity and now I can see and select the pictures.
Please can you check if you can add headers and I will set again modsecurity to test.
Thanks a lot.Forum: Plugins
In reply to: [PiwigoPress] Thanks to vpiwigo, new maintainer, new releaseIn my case, they are on the same domain.
But for the moment, wordpress site URL in not at the final place.
I will change it soon when i finish to migrate from joomla (actual site) to wordpress.In my case: this url is not working :
https://www.gouyet.org/piwigo/&category=2but this one is OK :
https://www.gouyet.org/piwigo/index.php?/category/2And I have modrewrite activated with wordpress…
Forum: Plugins
In reply to: [PiwigoPress] Thanks to vpiwigo, new maintainer, new releaseIt was not working with the previous version.
And I get no categories with the previous version.Forum: Plugins
In reply to: [PiwigoPress] Thanks to vpiwigo, new maintainer, new releaseHi Norbert,
Thanks to help me.The first query with ws.php returns values.
https://www.gouyet.org/piwigo/ws.php?format=json&method=pwg.categories.getList&recursive=trueThe seconde one like :
GET ../wp-content/plugins/piwigopress/thumbnails_reloader.php?&url=https://www.gouyet.org/piwigo/&category=2gives no values.
Forum: Plugins
In reply to: [PiwigoPress] Thanks to vpiwigo, new maintainer, new releaseThanks to update the plugin.
I just do the update but on a new page, when I want to select a picture, I get the list of albums but no pictures are displayed when i click on “Get more”Piwigo 2.7.1
Piwigo : https://www.gouyet.org/piwigo/
Wordpress 4.0
Theme : Twenty FourteenForum: Plugins
In reply to: [PiwigoPress] New contributorGreat news because I just installed it on my WordPress 4.0 blog and no picture is catch from piwigo (demo site or personal site).