Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
"Access Denied" when clicking last post link
Avatar
Posse4x4
Member
Free Members
sp_UserOfflineSmall Offline
Nov 2, 2013 - 3:12 pm

I am using SP v5.3.4 and WP v3.7.1. When clicking on some last post links for a forum on our main page I am getting "Access Denied". If I click into the forum and then click on the topic all posts appear fine. I am logged in as an administrator. Is there a permission that I am missing somewhere? Please let me know if you need more info. Thanks.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 2, 2013 - 7:03 pm

No - as admin everything should be available. Try going to the forum admin > Toolbox > Housekeeping - and resetting the user auth cache. See if that helps...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Posse4x4
Member
Free Members
sp_UserOfflineSmall Offline
Nov 3, 2013 - 9:48 pm

Tried that with no luck. Also tried deactivating all SP plugins and all other WP plugins with no luck. 

Most of the posts having this issue were migrated from an old phpBB forum. Is there a flag or something in the database that could be blocking access to these posts?

Thanks.

 

Avatar
Posse4x4
Member
Free Members
sp_UserOfflineSmall Offline
Nov 4, 2013 - 12:02 am

Figured out what's causing the issue.

For posts that were migrated the last post link ends with something like

[topic-name]/page-2805#p70114.

 

If I add a new post an then delete it, the same last post link as before now ends with

[topic-name]#p70114

 

Is there a quick way to fix these last post links without having to manually add and then delete a new post in each topic?

Thanks.

 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 4, 2013 - 4:25 am

We do not store the urls of individual posts and topics - these are all dynamically generated and are based on (a) the WordPress site permalink structure and (b) the WordPress page object being used to display the forum data.

So - first up - check the permalink for your site (WP Admin > Settings > Permalinks) to make sure it is as you want it and then go to the forum admin > Integration > Page and Permalink to make sure the correct page is selected at the top. Update this and then click on the 'update forum permalink' button. Let us see if this resolves things...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Posse4x4
Member
Free Members
sp_UserOfflineSmall Offline
Nov 6, 2013 - 11:38 pm

I checked as you suggested and everything is correct.

When I click on the page number under the topic link on the left it works correctly:

[topic-name]/page-2

If I click the Last Post link from the main page or the arrow link on the far right within the forum I get the following url:

[topic-name]/page-2805#p70114

If I change this to the following it works correctly:

[topic-name]/page-2#p70114

Any suggestions?

Thanks.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2013 - 1:00 am

could you try going to forum - toolbox - housekeeping and resetting the forum indexes?

Avatar
Posse4x4
Member
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2013 - 1:37 pm

Success! Thanks for your help!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 7, 2013 - 2:15 pm

good news!  thanks for the update.

Avatar
Brian Ketchum
Rookie
Free Members
sp_UserOfflineSmall Offline
Mar 3, 2014 - 11:37 am

New SimplePress user and have a similar issue after migrating existing forums from Xoops.  Receiving the following message when clicking certain links:

Access denied - you do not have permission to view this page

One such topic shows that it has 53 posts included within 3 pages and when clicking into page 1 presents the user with a total of 2 posts.  Clicking into any other pages presents the error.  Any ideas besides what was discussed previously in this thread?

Image Enlarger

Page 1 result:

Image Enlarger

Page 2 result:

Image Enlarger

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626