PDA

View Full Version : Found A Bug ! Help !


diamondguy
07-14-2005, 12:01 AM
I just installed my articlelive ... and i think i found a bug. I added multiple test posts... and found that the next/previous page does not work within categories. There is some issue. please look at this url http://www.diamondarticles.com/categories/Diamond-Branding/ if you click next page (page 2) you go to url... http://www.diamondarticles.com/Diamond-Branding/?Page=2 but should be i think http://www.diamondarticles.com/categories/Diamond-Branding/?Page=2 what file do i modify to fix this ?

info@diamondarticles.com -

thanks

Jordie (Interspire Staff)
07-14-2005, 03:53 AM
Hi,

I have identified that this problem is to do with differing server settings as it relies on the PHP_SELF variable. For your specific problem, goto the panel file called ViewCategoryAdvancedPanel and then scroll down to line 59 which looks like $self = str_replace('.php', '', $_SERVER['PHP_SELF']); and change it to $self = str_replace('.php', '', "categories/" . $_SERVER['PHP_SELF']);

Let me know how it goes. :)