Member
Member
seanbhalliday   2009-12-08, 16:45
#1

Greetings,

When using mod_rewrite, when there is more than one album, and album 2 or 3 etc.. is clicked on, the page does not display properly. If I take the / off at the end of the next page address, the page displays properly.

Example can be found here:
http://www.tricitiesguide.com/zenphoto/bristol-motor-speedway-august-2009/page/2/

If I take the / off at the end, it displays correctly as can be seen here:
http://www.tricitiesguide.com/zenphoto/bristol-motor-speedway-august-2009/page/2

If I go back to another theme, it works.

Any ideas on why my theme will not take / at the end of an album address when
using the mod_rewrite function (if I uncheck the mod_rewrite function, it does paginate
correctly).

Thanks in advance for looking at this,

Sean B. Halliday

Administrator
Administrator
acrylian   2009-12-08, 16:51
#2

Try full absolute paths for the header images and such. Btw, you are running an older version of Zenphoto.

Member
Member
seanbhalliday   2009-12-09, 14:41
#3

I have put the full absolute path in the htaccess file and have tried uncommented the lines in the zp-config file and adding the full path there. No luck as it is still the same. Any other ideas I you think I can try.

Thanks,

Sean

Administrator
Administrator
acrylian   2009-12-09, 14:43
#4

Full paths in the htaccess of course do not work. Try what I suggested above.

Member
Member
seanbhalliday   2009-12-09, 17:10
#5

I have figured out what it was. When NOT using mod_rewrite, it ends the path with "page=2" which works out fine with the link to the style sheet I am using.

When you turn on mod_rewrite, it changes the end of the path to be "page/2/".

Adding the "/" on the end changed the folder location when looking for the style sheet.

So I changed the path to the style sheet from "../../../" to "../../../../" and now all the pages work.

Thanks for all your time looking into this.

Sean B. Halliday

Administrator
Administrator
acrylian   2009-12-09, 17:40
#6

Using full paths to call those would have done the same. Good that you got it working anyway.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.