Piwigo "Direct access not allowed."

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.17
What app is this about: Piwigo

Describe your issue

Hello everyone.

Looking for some advice here with Piwigo, my favourite photo library..!

Recently, when going to my Piwigo site: Del Jones Photography, there is a line of text at the top that says, “Direct access not allowed.” If you refresh the page, it’s fine.

I’ve no idea where to start with this one. Can anyone help?

Best wishes

Dj

Share relevant logs or error messages

None

SOLVED

Found the problem…

If I disable the plugin “Bot Protection”, the problem goes away. I discovered that the plug-in, for me, is faulty. If I try the settings, I get:

Warning: Constant BOT_PROTECTION_IP_LOG already defined in /var/www/piwigo__3/plugins/bot_protection/admin/bot_protection_admin.php on line 11

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 65014880 bytes) in /var/www/piwigo__3/plugins/bot_protection/admin/bot_protection_admin.php on line 132

It’s disabled for now, and the problem has gone away.

Best regards

Dj