Announcement

#1 2017-08-06 01:10:04

sorabji
Member
nyc
2015-02-13
6

Random Photos link not working

Hello/Hi/Greetings,

Fresh install of latest piwigo. I imported from Menalto Gallery2 using the g2piwigo script. I enabled SEO friendly URLs with this code in the config file:

<?php
$conf['question_mark_in_urls'] = false;
$conf['php_extension_in_urls'] = false;
$conf['category_url_style'] = 'id-name';
$conf['picture_url_style'] = 'file';
?>

And this in the .htaccess:

AcceptPathInfo On
Options +MultiViews

Most everything looks fine except for the "random photos" link. It shows file not found, and there's nothing in Piwigo's error_log or any other error_log:

http://sorabji.com/pictures/index/list/ … 9287,10229

I noticed that if I change the URL to either of these I at least get a page of random photos, but clicking the thumbnails returns file not found:

http://sorabji.com/pictures/index.php?/ … 9287,10229

http://sorabji.com/pictures/index?/list … 9287,10229

The only possibly wacky thing I have done with this install is use mod_rewrite. The Piwigo files physically are in /public_html/p/pictures/ but this line in the httpd config file lets me use urls starting at http://sorabji.com/pictures/ :

RewriteRule ^/pictures(.*)$ /p/pictures/$1

The random photos link appears to be the only one of the "Explore" links that does not work. Unless mod_rewrite is the cause of this problem I'd like to keep the Piwigo files under /p/pictures/ with mod_rewrite enabled as shown.

Thanks. -mt

Piwigo version: 2.9.1
PHP version: 5.6.31
MySQL version: Ver 14.14 Distrib 5.6.35, for Linux (x86_64) using  EditLine wrapper
Piwigo URL: http://sorabji.com/pictures/

Offline

 

Board footer

Powered by FluxBB

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