Haven't found a solution for it anywhere, so maybe someone can help me...
I've installed Nuke 6.5 (with fixpack 3) recently and there is a problem with the forum admin panel. The left pane of the panel index is incomplete, because of the 2 warnings I get:
Quote:
Warning: ksort() expects parameter 1 to be array, null given in /home/users/qjstudio/www/nuke/modules/Forums/admin/index.php on line 87
and
Quote:
Warning: Variable passed to each() is not an array or object in /home/users/qjstudio/www/nuke/modules/Forums/admin/index.php on line 89
In fact, there is no menu on the left because of that. I was clever enough to run every admin script by entering its full address in my browser, but there are still things I cannot access this way...
Those include: changing user's level to mod/admin (I'm doing it directly through phpmyadmin) and assigning a moderator/group to moderate a forum. Moreover, when I access the admin_ug_auth.php script, I can choose a group, but when I want to proceed, nothing happens. Could anyone help me, please? I've run out of ideas
this load all files in this directory that start with admin_*, and return an entry in this module array
if this files not exists or the extension is a other, than your standard define like *.php in nuke, the module array will not set, and u get this warning. its not a bug .
Quorthon Nuke Cadet
Joined: Jun 22, 2003
Posts: 3
Posted:
Sun Jun 22, 2003 6:22 am
OK, but what is wrong then? All the admin_ files exist in modules/Forums/admin/ dir, they all have a .php extension, I can run each of them directly from my browser by entering the full address. Maybe there's sth wrong with file permissions? The scripts are chmoded 604, directories are 705.
Apart from all this, I still don't know how to access users/group permissions for moderation/administration. The admin_ug_auth.php script should be responsible for group permissions, but, as I said, nothing happens...
I can manage the forum without the panel menu, but I need to assign moderators/groups to moderate all the forums... Any help in this matter would be greatly appreciated (even a browser link to the user/group permissions management... accessing admin_users.php allows me only to change the user's info/rank).
Netrioter Nuke Soldier
Joined: Jun 06, 2003
Posts: 13
Posted:
Sun Jun 22, 2003 8:03 am
a simple solution is this, but is it not correct but work :
but btw, it works so, but u should find your error in your install
this variable $file, replace with filename ex: admin_board.php
Quorthon Nuke Cadet
Joined: Jun 22, 2003
Posts: 3
Posted:
Sun Jun 22, 2003 10:45 pm
Thanks for the solution . I'm going to find the source of the problem anyway, but the good thing is that the other problem is also solved, because it turned out that I had ?mode= missing after admin_ug_auth.php and now everything is fine.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum