Announcement

#1 2022-10-16 06:01:06

Nigel-Aves
Member
2015-09-22
63

after updating to 13 and PHP 8.0 no 2nd level albums will display

Hello/Hi/Greetings,

First, I use a helper called Virtualmin / Webmin for maintaining my server. This has the ability to backup and restore web sites and all files needed. This has saved me in the past when I have managed to do a brain dead change. Restoring always puts the web site back to just how it was.

SO.

I upgrade the site to PIWIGO 13, turned back on the plugins, tested the page and everything worked.

I then switched to php8.0 - This worked perfectly for all my Joomla sites and one of my PIWIGO sites.

When I went in to test, the front page opened correctly, but as soon as I clicked an album to get to the 2nd lever albums all that happens is I get the message;

"Not Found
The requested URL was not found on this server."

A typical 2nd level URL wis displayed as :

https://gallery-adult.soft-focus-imagin … ey-implied

BUT, if I make it

https://gallery-adult.soft-focus-imagin … ey-implied

(same issue happens with photo-page. Have to add a .php before ? mark

I spent an hour or two trying to work out what was wrong. The only real difference between the site that worked and this one, was I was not using permalinks on the site that worked. But I have 500 odd permalinks and it looks like the only way to delete them is one by one.

So I decided to go back to the original. Deleted the web site (by Virtualmin) and then restored the web site from a backup (Oct1).

Problem is, exactly the same error is happening  even though I'm now using PHP7.4 and PIWIGO 12

And no matter what I try, I just can not see what is wrong.

If anyone has any idea as to what could have happened and how to fix I'll be very grateful.

Kind Regards - Nigel Aves.


Piwigo 13.0.0 Check for upgrade
Installed on 29 September 2015, 7 years 2 weeks 2 days ago
Operating system: Linux
PHP: 7.4.32 (Show info) [2022-10-15 21:50:52]
MySQL: 8.0.30-0ubuntu0.20.04.2 [2022-10-15 21:50:52]
Graphics Library: External ImageMagick 6.9.10-23
Cache size 21027.72 Mo   calculated 1 hour ago Refresh
Activated plugin list33
Add < head > element
Additional Pages
Admin Tools
Advanced Menu Manager
AStat.2
Automatic Size
Contact 1 menu
Contact Form
Crypto Captcha
Custom Contact Link
Exif View
FCK Editor
Fotorama
Grum Plugins Classes.3
GuestBook
Header Manager
Image Preview
LocalFiles Editor
Menu Random Photo
Mobile Theme for Tablets
Permalink Generator
Perso Footer
Personal Plugin
PHP Captcha for Piwigo
prevnext
PWG Stuffs
rightClick
RV sitemap
Social Buttons
Stop Spammers
Take A Tour of Your Piwigo
VideoJS
Write Metadata

WARNING - This is very much an adult orientated web site
Piwigo URL: https://gallery-adult.soft-focus-imagining.com/

Offline

 

#2 2022-10-16 06:08:45

Nigel-Aves
Member
2015-09-22
63

Re: after updating to 13 and PHP 8.0 no 2nd level albums will display

and just after writing this I remembered a couple of settings (that I've had for years) that I used in "LocalFiles Editor"

$conf['question_mark_in_urls'] = false;
$conf['php_extension_in_urls'] = false;

changed to:

$conf['question_mark_in_urls'] = true;
$conf['php_extension_in_urls'] = true;

and at least it's working again .... expletive expletive expletive! :)

Last edited by Nigel-Aves (2022-10-16 06:31:55)

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact