Webmastersite.net
Register Log In

categories pages not working

Comments on categories pages not working

fuee
Forum Regular

Usergroup: Customer
Joined: Nov 01, 2004

Total Topics: 56
Total Comments: 121
fuee
Posted Sep 30, 2007 - 9:44 PM:

Hi Paul,
Since the update the below code doesnt work for additional pages in my categories anymore.

<IF {MULTIPAGE}>

<br>Page: {PREVIOUS} <b>[{CURRENTPAGE}]</b> {NEXT}

</IF>

I changed it to {PAGINATION} but when i click on the additional pages it brings me back to the original category page and not the next one. The number of multipages are correct execpt they all link back to the main category only. If i enter the next category page manually in the web address it will show up with the proper page and links. I have included one of my site links in the example url for you to look at.

My map.xml is also messed up and is just generating the same category page over and over again, i guess it is feeding off the same multipages problem that's being regenerated for my categories.

My search page and album page pagination is working fine when i switched to {PAGINATION}


Below is my .htaccess if that may be the issue :

RewriteEngine on



# If not working, uncomment and correctly fill the line below:

# RewriteBase /

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]

RewriteRule ^games/([a-z]+)/([0-9]+)$ link.php?action=$1&id=$2
RewriteRule ^games/([a-z]+)/([0-9]+)/$ link.php?action=$1&id=$2
RewriteRule ^games/([0-9]+)$ link.php?id=$1
RewriteRule ^games/([0-9]+)/$ link.php?id=$1

RewriteRule ^thread/([0-9]+)$ comments.php?id=$1
RewriteRule ^thread/([0-9]+)/$ comments.php?id=$1
RewriteRule ^thread/([0-9]+)/([0-9]+)$ comments.php?id=$1&page=$2
RewriteRule ^thread/([0-9]+)/([0-9]+)/$ comments.php?id=$1&page=$2

RewriteRule ^([0-9]+)$ index.php?action=displaycat&catid=$1
RewriteRule ^([0-9]+)/$ index.php?action=displaycat&catid=$1
RewriteRule ^([0-9]+)/([0-9]+)$ index.php?action=displaycat&catid=$1&page=$2
RewriteRule ^([0-9]+)/([0-9]+)/$ index.php?action=displaycat&catid=$1&page=$2

RewriteRule ^([-_/\+A-Za-z0-9]+)$ index.php?action=displaycat&catname=$1



ErrorDocument 404 /404.php

<Files php.ini>

order allow,deny

deny from all

</Files>

Let me know if you need anymore info. Ill try to leave my site as is for now so you can look at it. Really dont want to uninstall everything to go back down to version 4.0.39. I totally forgot to back up my database before the upgrade sad

Thanks,
Fuee
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 01, 2007 - 1:58 AM:

At Admin -> Settings -> SEO your rewrite format for categories probably doesn't contain {PAGE}. The default is
{CATREWRITEPATH}/{PAGE}.html
. If you want to keep it numeric you can use
{CATID}/{PAGE}/
.

Make sure your threads format has {PAGE} too. Here's what they have by default in 4.1: http://www.webmastersite.net/screenshots/13236.jpg

Looks like the 4.0->4.1 upgrade is leaving off the {PAGE}. Fixing.
fuee
Forum Regular

Usergroup: Customer
Joined: Nov 01, 2004

Total Topics: 56
Total Comments: 121
fuee
Posted Oct 01, 2007 - 7:14 AM:

great paul it worked smiling face

Thanks
Fuee
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Oct 04, 2007 - 3:47 PM:

Paul,

I am on 4.1.4 and have the same problem. When an additional page is selected, an error occurs.

BTW, I love the auto update feature.


admin>SEO has:

{CATREWRITEPATH}/{PAGE}/

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 04, 2007 - 5:09 PM:

Then it's not the same problem, I'll need to see the URL.
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Oct 04, 2007 - 6:45 PM:

Try one of the page links at the bottom of this page:

www.twowayradiodirectory.co...a/United_States/Southeast/
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Oct 05, 2007 - 11:52 AM:

Paul,

Did that url show you what you need?


admin>SEO has:

{CATREWRITEPATH}/{PAGE}/ (note there is no .html on the end)
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 06, 2007 - 6:43 AM:

Your link shows me "Internal Server Error". Altering the URL to go around your site though I find the problem is the pagination.tpl template, a brief issue I saw in a version not long ago. Overwrite /templates/default/pagination.tpl with the one in 4.1.4 (or if you upgrade it'll probably automatically fix it).
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Oct 06, 2007 - 8:48 AM:

Must have been a temporary problem with my host service, the link is working OK for me now.

On my admin page I see: "Your WSN Links 4.1.4 is up to date.".

I will try a manual upload of that tpl file.
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
#10 - Quote - Permalink
Posted Oct 06, 2007 - 8:56 AM:

Paul,

Uploading the pagination.tpl file did fix it.

Thanks
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#11 - Quote - Permalink
Posted Oct 07, 2007 - 3:10 AM:

I suppose it wouldn't trigger an automatic update since the incorrect {ITEM} is the same number of characters as the fixed {LINK}... annoying.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.