Announcement

#1 2016-12-31 02:31:22

sorabji
Member
nyc
2015-02-13
6

upgraded to 2.8.4

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

 

#2 2016-12-31 08:11:24

rvelices
Former Piwigo Team
2005-12-29
1960

Re: upgraded to 2.8.4

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

 

#3 2016-12-31 20:12:06

erAck
Only trying to help
2015-09-06
2020

Re: upgraded to 2.8.4

More precisely,

Code:

$conf['php_extension_in_urls'] = false

requires

Code:

Options +MultiViews

in your piwigo's .htaccess file. See also that post.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

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