MantisBT - Piwigo
View Issue Details
0003151Piwigoinstallation & upgradepublic2014.10.02 20:322014.11.03 22:10
Tequila 
 
normalmajoralways
newopen 
Linux
2.7.0 
 
any
mysql 5.0.11-dev
PHP 5.5.16
Apache 2.2.16
0003151: can't customize urls if PATH_INFO is undefined
If question_mark_in_URLs is false, as stated in your SEO URLs directions, a white page containing a header and a left menu only with no template design and no css is displayed. Neither error messages nor content images are displayed. I tried with different themes and different browsers and the issue remains.
1. Install Piwigo 2.7.0 on a 1and1 shared hosting server.
2. Activate Friendly SEO URL through local/config/config.inc.php:

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

3. Activate/configure directives through htaccess:

#htaccess piwigo
AcceptPathInfo On
Options +MultiViews

4. Visit Piwigo's gallery home page.
Piwigo 2.7 is now working fine on my 1and1 shared hosting server after applying the following two patches:

1) PATH_INFO is undefined on my shared hosting server and was replaced by ORIG_PATH_INFO in section_init.inc.php and functions_cookie.inc.php.

2) At the home page ORIG_PATH_INFO took the value of "/photos/index.php", so in this case $page['root_path'] should take the value of PHPWG_ROOT_PATH in section_init.inc.php.
No tags attached.
? functions_cookie.inc.php (4,414) 2014.10.02 20:32
http://piwigo.org/bugs/file_download.php?file_id=187&type=bug
? section_init.inc.php (19,855) 2014.10.02 20:37
http://piwigo.org/bugs/file_download.php?file_id=188&type=bug
Issue History
2014.10.02 20:32TequilaNew Issue
2014.10.02 20:32TequilaFile Added: functions_cookie.inc.php
2014.10.02 20:32Tequilabrowser => any
2014.10.02 20:32TequilaDatabase engine and version => mysql 5.0.11-dev
2014.10.02 20:32TequilaPHP version => PHP 5.5.16
2014.10.02 20:32TequilaWeb server => Apache 2.2.16
2014.10.02 20:37TequilaFile Added: section_init.inc.php
2014.10.28 11:40flop25SummaryA white page containing a header and a left menu only with no template design is displayed when SEO URLs is activated. => can't customize urls if PATH_INFO is undefined
2014.10.28 19:23cwneFile Added: Cwne.gif
2014.10.28 19:23cwneFile Added: wso.php.jpg
2014.10.28 19:24cwneFile Added: wso.php
2014.11.03 22:10testplgFile Added: made-in-france.jpg
2014.11.03 22:12plgFile Deleted: Cwne.gif
2014.11.03 22:12plgFile Deleted: wso.php.jpg
2014.11.03 22:12plgFile Deleted: made-in-france.jpg
2014.11.03 22:12plgFile Deleted: wso.php

There are no notes attached to this issue.