Codoforum related discussions
User having problems to see posts

Hello to all.

I'm new here and thank you for the attention beforehand.

The forum was working correctly until today but, "suddently" (I haven't changed the code today) users couldn't see the home page where all the topics are listed. The users are constantly redirected to the Profile page where their created topics appear. These topics cannot be accessed even by their creators, returning a "not found" page.

Changing the permissions to admin seems to fix the issue, but creates another one which is, users shouldn't have admin permissions.

I searched here but couldn't find an answer to the problem. If anyone could help me, I'd appreciate it.

Thanks again!

Hello to all. I'm new here and thank you for the attention beforehand. The forum was working correctly until today but, "suddently" (I haven't changed the code today) users couldn't see the home page where all the topics are listed. The users are constantly redirected to the Profile page where their created topics appear. These topics cannot be accessed even by their creators, returning a "not found" page. Changing the permissions to admin seems to fix the issue, but creates another one which is, users shouldn't have admin permissions. I searched here but couldn't find an answer to the problem. If anyone could help me, I'd appreciate it. Thanks again!

Hi,

Is your forum set to private in backend -> Global settings? Try setting "Who can access forum" to "Everyone"

Hi, Is your forum set to private in backend -> Global settings? Try setting "Who can access forum" to "Everyone"
Necessity is the mother of all inventions!

It is. After seeing your response I tried setting it to "registered users", didn't seem to solve. Going back to "Everyone" didn't change too.

It keeps redirecting the user to "index.php?u=/user/profile"

It is. After seeing your response I tried setting it to "registered users", didn't seem to solve. Going back to "Everyone" didn't change too. It keeps redirecting the user to "index.php?u=/user/profile"

Hi,

Can you give the url to your forum with admin details?
You can send them to admin[@]codologic.com

Hi, Can you give the url to your forum with admin details? You can send them to admin[@]codologic.com
Necessity is the mother of all inventions!

Just installed and EXACT same error is happening. Error only showed up after I added a test user. User now deleted and still frontend redirects to "index.php?u=/user/profile". No difference when changing Global Settings to Everyone

Just installed and EXACT same error is happening. Error only showed up after I added a test user. User now deleted and still frontend redirects to "index.php?u=/user/profile". No difference when changing Global Settings to Everyone

Hi ChampAgain,

Managed to fix this.

Login to the Admin backend.

Go to Manage Users > Edit for your user.

Ensure Primary Role pulldown is set to Administrator.

Ensure Role Checkboxes for USER / MODERATOR / ADMINISTRATOR are all checked and save changes.

THAT fixed it for me!

Hi ChampAgain, Managed to fix this. Login to the Admin backend. Go to **Manage Users > Edit** for your user. Ensure Primary Role pulldown is set to Administrator. Ensure Role Checkboxes for USER / MODERATOR / ADMINISTRATOR are all checked and save changes. THAT fixed it for me!

Having the same issue!

I've just installed 3rd time.
If I modify any of the roles the home page where all the topics are listed is no more accessable, I got redirected to the Profile page with any user with any modified role...

@gwingwin if I do not modify the administrator's role (as after any role modification administrator role jump into the same issue) and set up a user like you mentioned, that user will get the administrator rights.

Please let me know how to make it work!

Thank you!

Having the same issue! I've just installed 3rd time. If I modify any of the roles the home page where all the topics are listed is no more accessable, I got redirected to the Profile page with any user with any modified role... @gwingwin if I do not modify the administrator's role (as after any role modification administrator role jump into the same issue) and set up a user like you mentioned, that user will get the administrator rights. Please let me know how to make it work! Thank you!
edited Mar 29 '20 at 4:16 pm

I'm also getting this. One user contacted me and said they couldn't see any posts. It's not obvious to new users that they need to click the site title/logo to go to the homepage.

I'm also getting this. One user contacted me and said they couldn't see any posts. It's not obvious to new users that they need to click the site title/logo to go to the homepage.

Hi,

Can you please tell the exact steps to replicate this issue? What modifications did you make to the roles or other settings?

Hi, Can you please tell the exact steps to replicate this issue? What modifications did you make to the roles or other settings?
Necessity is the mother of all inventions!

Hi all, I'm brand new to Codo and have it recently installed. I, too, have now managed to lock-out all of my users from accessing anything but their own profiles, despite the settings in Role Permissions being set to full. I haven't see any replies on this, but if it's been solved please advise. Thank you!

Hi all, I'm brand new to Codo and have it recently installed. I, too, have now managed to lock-out all of my users from accessing anything but their own profiles, despite the settings in Role Permissions being set to full. I haven't see any replies on this, but if it's been solved please advise. Thank you!

Hi,

Can you run these two queries against your database and tell us what you get:

SELECT * FROM codo_permission_list WHERE permission='view forum'
SELECT * FROM codo_permissions WHERE permission='view forum'
Hi, Can you run these two queries against your database and tell us what you get: ```` SELECT * FROM codo_permission_list WHERE permission='view forum' ```` ```` SELECT * FROM codo_permissions WHERE permission='view forum' ````
Necessity is the mother of all inventions!

@admin

It seems that many CF users are dealing with that issue - I dont know if it will help You, but I used the two sql commands and made two screenshots of it.

First I used: SELECT * FROM codo_permission_list WHERE permission='view forum'
Second I used the other command.

5eac34353e4cf

5eac3435cd6da

Sorry my PHPmyAdmin is running on german only, but You`re familar with PHPmyAdmin so it should be no big problem I guess.

Kind regards,
Andy

@admin It seems that many CF users are dealing with that issue - I dont know if it will help You, but I used the two sql commands and made two screenshots of it. First I used: SELECT * FROM codo_permission_list WHERE permission='view forum' Second I used the other command. ![5eac34353e4cf](serve/attachment&path=5eac34353e4cf) ![5eac3435cd6da](serve/attachment&path=5eac3435cd6da) Sorry my PHPmyAdmin is running on german only, but You`re familar with PHPmyAdmin so it should be no big problem I guess. Kind regards, Andy

https://net-twin.de/ Community for creative people - JOIN
https://github.com/WebCrew My GitHub account
https://prattle.space A niceTwitter alternative - JOIN
https://sell-co.de/ Lots of Tools and Utilities for free

edited May 1 '20 at 3:39 pm

@admin thank you for the assist, I'm finding my results similar to @WebCrew

5eac5783d1a17
5eac578413f58

@admin thank you for the assist, I'm finding my results similar to @WebCrew ![5eac5783d1a17](serve/attachment&path=5eac5783d1a17) ![5eac578413f58](serve/attachment&path=5eac578413f58)

Thank you @WebCrew and @SMPASCO

So, as per your second query output, the problem is with the denied permission.

For reference, this is from our local copy and the way it should be:

5eada9a7bc126

You can directly update the granted column and make it 1 or run below query:

UPDATE codo_permissions SET granted=1 WHERE permission='view forum'

Now, we got to figure out why this happened in the first place and fix that bug.

Thank you @WebCrew and @SMPASCO So, as per your second query output, the problem is with the denied permission. For reference, this is from our local copy and the way it should be: ![5eada9a7bc126](serve/attachment&path=5eada9a7bc126) You can directly update the granted column and make it `1` or run below query: ```` UPDATE codo_permissions SET granted=1 WHERE permission='view forum' ```` --- Now, we got to figure out why this happened in the first place and fix that bug.
Necessity is the mother of all inventions!
edited May 2 '20 at 6:14 pm

@admin thanks for the help - Youre great smile

@admin thanks for the help - Youre great ;)

https://net-twin.de/ Community for creative people - JOIN
https://github.com/WebCrew My GitHub account
https://prattle.space A niceTwitter alternative - JOIN
https://sell-co.de/ Lots of Tools and Utilities for free

@admin thank you so much for the prompt help. As the adopter of Codo, this is really encouraging for me and my team. Also, the fix worked perfectly.

It seems that any time I modify a Role Permission group, the "permission" reverts to a non-view-forum state. So I run the SQL again and it sorts the issue. This should behave once I have my Role Permissions in order.

Thanks again!

@admin thank you so much for the prompt help. As the adopter of Codo, this is really encouraging for me and my team. Also, the fix worked perfectly. It seems that any time I modify a Role Permission group, the "permission" reverts to a non-view-forum state. So I run the SQL again and it sorts the issue. This should behave once I have my Role Permissions in order. Thanks again!
248
15
6
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft