if I enable $conf['question_mark_in_urls'] = false; the url in picture.php will become
../../../i.php/galleries/XXXXXXXX
../../../galleries/XXXXXXX
that make some element in that page is not load.
it should be caused by $page['root_path'] in section_init.php is incorrect build. i.php also have this problem.
Offline
my local last stable install is running with $conf['question_mark_in_urls'] = false; by default and I don't get any problem
What is your theme ?
ps : my urls are like yours but without problem to load it
Offline
flop25 wrote:
my local last stable install is running with $conf['question_mark_in_urls'] = false; by default and I don't get any problem
What is your theme ?
ps : my urls are like yours but without problem to load it
I checked again, I think mainly is the i.php problem, not the section_init.php.
If the image is first time to load in picture.php the img src is point to "../../../i.php/galleries/XXXXXXXX", the image can't load, however, if it is loaded before(cache image generated?), it will point to
"../../../_data/i/galleries/XXXXX", it will be ok.
I am using stripped, but also have same problem on clear.
Offline
ok it seems a problem with a server config or something like that.
Could you first rename the .htaccess of piwigo in something else, just to see its influence
ps : have you tried to set it 'true' ?
Offline
True is OK.
I am using nginx, so don't have the .htaccess ....
Offline
sry it's beyond my knowledge
Offline
OK, found the root cause, that is the server config problem.
I used to make the image file hotlink prevention rule before the php file pass to fastcgi rule. So, the /i.php/pathto/a.jpg match the hotlink prevention first, and not going to fastcgi.
Thank for your help.
Offline