Piwigo.org

You are not logged in. (Register / Login)

Announcement

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

sorabji
Member
Location: nyc
Registered: 2015-02-13
Posts: 5

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
Piwigo Team
Registered: 2005-12-29
Posts: 1947
Website

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
Member
Registered: 2015-09-06
Posts: 37

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.

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact