1
I was having such a good day with arMS... until I clicked the 'most popular' link in the menubar. Just got a white page and the message:
Quote:
SQL error:
SELECT can_edit_pages, can_add_pages, can_delete_pages FROM xoops_arms_permissions WHERE art_id = 4 AND uid =
Same problem with 'newest' and 'top-rated' too. The list of articles is displayed perfectly if I am logged in as an arMS section moderator, or as a user with permissions to edit articles. This only happens when I log in as any other user.
I tried the SQL debug, but it only works when you are logged in as admin - and I don't get a problem then. So I tried the PHP debug and I get the additional error:
Quote:
Notice [PHP]: Undefined variable: uid in file modules/arms/filter.php line 53
So I read the 'readme' and was sad to discover that the developer mentions this is a known bug.
So.. I just wondered if anyone with PHP skills had already fixed this, or if they might recognise the error and give me a clue where the problem might be?
Same issue with XOOPS 2.0.7.3 and beta 3.