Pages: 1
Hello,
I have issues with my Piwigo installation.
I get Error message: "You are not authorised to access the requested page" when trying to save setting in administration. e.g. in "Configuration->Options->Display" clicking on "Activate icon "Display only recently posted photos"" and "Save settings" will generate this error massage and the change is not saved. Same error message is shown when updating e.g. user settings like "photos per page".
What could it be?
Recent changes:
- upgrade to 16.4.0
- subdomain change
Environment
Piwigo 16.4.0 Check for upgrade
Installed on 31 May 2025, 11 months 3 weeks 1 day ago
Operating system: Linux
Container info: (unofficial) Unknown
PHP: 8.4.21 (Show info) [2026-05-23 10:12:56]
MySQL: 10.11.16-MariaDB-ubu2204-log [2026-05-23 10:12:56]
Graphics Library: External ImageMagick 6.9.11-60
Cache size 0 Mo calculated 10 months ago Refresh
Activated plugin list 8
Batch Downloader
Extended Description
FCK Editor
Language Switch
LocalFiles Editor
Perso Footer
Personal Favicon
PWG Stuffs
Offline
Hi,
Fusac wrote:
Recent changes:
- upgrade to 16.4.0
- subdomain change
I don't know but I wonder if you shouldn't delete the old cookies
Offline
Hi,
thank you for answer.
I have deleted cache in Piwigo administration and testing in Private window in Firefox. Old cookies is not the cause.
The log in is also not working properly. After inserting log in data, same log in pages is loaded. If I reload the page, correct administration page is loaded.
Any Idea what could it be?
Offline
...seems the same is being handled in the https://piwigo.org/forum/viewtopic.php? … 27#p194727 and https://piwigo.org/forum/viewtopic.php?id=33431
Last edited by zorek (2026-05-27 19:09:44)
Offline
Hi,
adding below line
$conf['session_use_ip_address'] = false;
to
local/config/config.inc.php
helped to solve the issue for me.
It may be a bug in Piwigo. Please share it with developers.
Offline
Hi, this file does not exist in my installation - shall I create it with the one line mentioned in your comment?
I do not have access to the developers :). I hope they do browse these forums for issues.
Offline
I've tried to create the file with the content:
<?php>
$conf['session_use_ip_address'] = false;
<?>
...and my piwigo installation started to return HTTP 500
Offline
Hi,
the file local/config/config.inc.php shoudl be there after Piwigo installation. Adjust the file content to:
<?php
$conf['session_use_ip_address'] = false;
?>
Offline
Zorek: you php code is incorrect. Fusac gave the correct version.
You can use the LocalFilesEditor plugin to maintain the content of the said file.
Offline
Works, thanks for correcting my typos :). I am not that familiar with PHP.
The file was not there at all - adding it with the recommended content seems to have resolved the issue.
Thanks a lot!
Offline
Pages: 1