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.
Steps to reproduce: 1. Install Piwigo 2.7.0 on a 1and1 shared hosting server.
2. Activate Friendly SEO URL through local/config/config.inc.php:
Additional information: Piwigo 2.7 is now working fine on my 1and1 shared hosting server after applying the following two patches:
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.
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.
**Reported by Tequila on 2 Oct 2014 18:32**
**Version:** 2.7.0
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.
**Steps to reproduce:** 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';
?>
1. Activate/configure directives through htaccess:
# htaccess piwigo
AcceptPathInfo On
Options +MultiViews
1. Visit Piwigo's gallery home page.
**Additional information:** 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.
[Piwigo Bugtracker #3151](http://piwigo.org/bugs/view.php?id=3151)
<!-- github-sync-id:97226892 -->
I have to apply the same patch every time I upgrade Piwigo to the latest version which is a tedious and risky process. So, this time when I upgraded my gallery to v2.9..5 I researched for a more appropriate method and found the following patch recommendation from mevdschee:
if (isset($_SERVER['ORIG_PATH_INFO'])) $_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];
I applied this patch to the following scripts and Piwigo is now working fine again on my 1and1 (IONOS) shared hosting server:
Regarding the home page issue, I also learnt that I should include "/index.php/" at the end of the home page URL for $_SERVER['ORIG_PATH_INFO'] to get the proper value. So, gallery is linked as "/piwigo/index.php/" (using a trailing slash in my URL) on the website menu and I included the following script line in local/config/config.inc.php.
$conf['gallery_url'] = '/piwigo/index.php/';
This way, server delivers $_SERVER['ORIG_PATH_INFO'] properly on the home page and no additional patch is needed.
Thanks for your great work, you have a fantastic web application.
Hello,
This is Tequila from Mexico.
I have to apply the same patch every time I upgrade Piwigo to the latest version which is a tedious and risky process. So, this time when I upgraded my gallery to v2.9..5 I researched for a more appropriate method and found the following patch recommendation from [mevdschee](https://github.com/mevdschee):
`if (isset($_SERVER['ORIG_PATH_INFO'])) $_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];`
I applied this patch to the following scripts and Piwigo is now working fine again on my 1and1 (IONOS) shared hosting server:
i.php
/include/common.inc.php
/include/ functions_cookie.inc.php
/include/section_init.inc.php
Regarding the home page issue, I also learnt that I should include "/index.php/" at the end of the home page URL for $_SERVER['ORIG_PATH_INFO'] to get the proper value. So, gallery is linked as "/piwigo/index.php/" (using a trailing slash in my URL) on the website menu and I included the following script line in local/config/config.inc.php.
`$conf['gallery_url'] = '/piwigo/index.php/';`
This way, server delivers $_SERVER['ORIG_PATH_INFO'] properly on the home page and no additional patch is needed.
Thanks for your great work, you have a fantastic web application.
<!-- github-comment-id:515650070 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Reported by Tequila on 2 Oct 2014 18:32
Version: 2.7.0
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.
Steps to reproduce: 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';
?>
htaccess piwigo
AcceptPathInfo On
Options +MultiViews
Additional information: Piwigo 2.7 is now working fine on my 1and1 shared hosting server after applying the following two patches:
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.
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.
Piwigo Bugtracker #3151
Hello,
This is Tequila from Mexico.
I have to apply the same patch every time I upgrade Piwigo to the latest version which is a tedious and risky process. So, this time when I upgraded my gallery to v2.9..5 I researched for a more appropriate method and found the following patch recommendation from mevdschee:
if (isset($_SERVER['ORIG_PATH_INFO'])) $_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO'];I applied this patch to the following scripts and Piwigo is now working fine again on my 1and1 (IONOS) shared hosting server:
i.php
/include/common.inc.php
/include/ functions_cookie.inc.php
/include/section_init.inc.php
Regarding the home page issue, I also learnt that I should include "/index.php/" at the end of the home page URL for $_SERVER['ORIG_PATH_INFO'] to get the proper value. So, gallery is linked as "/piwigo/index.php/" (using a trailing slash in my URL) on the website menu and I included the following script line in local/config/config.inc.php.
$conf['gallery_url'] = '/piwigo/index.php/';This way, server delivers $_SERVER['ORIG_PATH_INFO'] properly on the home page and no additional patch is needed.
Thanks for your great work, you have a fantastic web application.