Hello/Hi/Greetings,
I just upgraded from 2.7.4 to 2.8.4. Now every individual image page is returning a 404 file not found error. I thought this was a theme issue but it happens with every theme. I updated all themes and extensions, cleared all caches. The top page looks good but all links from this page go to 404 errors:
http://sorabji.com/foundphotos/
The problem seems to be that the .php extension is missing from the URLs. A link from the above page looks like this:
http://sorabji.com/foundphotos/index/ca … enes_1950s
If I add .php to /index I get the page as expected:
http://sorabji.com/foundphotos/index.ph … enes_1950s
Similarly, a link from the above page looks like this, returning a 404:
http://sorabji.com/foundphotos/picture/ … enes_1950s
If I add .php to /picture the page appears as expected.
How are these .php extensions being excised? Needless to say i did not have this problem before. Any insight greatly appreciated.
EDIT: nothing shows up in the error_log
Piwigo version: 2.8.4
PHP version: PHP: 5.6.29
MySQL version: 5.6.34
Piwigo URL: http://sorabji.com/foundphotos/
Last edited by sorabji (2016-12-31 02:32:35)
Offline
PHP extension (on by default) was probably removed through local configuration plug-in. This also requires a
Htaccess configuration. When you upgraded you probably removed the Htaccess config. Alternatively you can remove the lines you added in your local configuration.
Offline
More precisely,
$conf['php_extension_in_urls'] = false
requires
Options +MultiViews
in your piwigo's .htaccess file. See also that post.
Offline