>>  Site Map >>  Forums >>  Post Installation Help

Forum module - topics in forum:



Post Installation Help - Help with problems after installation.



forum permissions error

Everytime i try and add a moderator to a private thread i get an error that tells me im missing a file but there is not a version of nuke that i have found that has that file. this is my error:

Could not obtain moderator status

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND aa.group_id = ug.group_id AND aa.auth_mod = 1 GROUP BY ug.use' at line 3

SELECT ug.user_id, COUNT(auth_mod) AS is_auth_mod FROM nuke_bbauth_access aa, nuke_bbuser_group ug WHERE ug.user_id IN () AND aa.group_id = ug.group_id AND aa.auth_mod = 1 GROUP BY ug.user_id

Line : 529
File : admin_ug_auth.php


any idea on what i can do...i mean i can always remover the user from moderator status and then add them to the group and then make them a moderator agian but thats a hassle.






What version of php-nuke is your site on? Is it patched with any chatserv patches? What version is your forums on? Have you tried to do any updates to your forums? All this is useful information when we are trying to help you.






Near the start of mainfile.php find:

Code: :
$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
if (extension_loaded('zlib')) {
ob_end_clean();
ob_start('ob_gzhandler');
}
} else if ($phpver > '4.0') {

change to:

Code: :
$phpver = phpversion();
if ($phpver >= '4.0.4pl1')
{
ob_start('ob_gzhandler');
}else if ($phpver > '4.0') {


You should also consider if you aren't running it already, updating to the latest version of the bb2nuke.

Remember when doing it that you must run every version between where you are at now to the latest which is 2.0.21 which means if you are at lets say 2.0.17
then you must run
2.0.18
2.0.19
2.0.20
and finally 2.0.21
I would actually do that before doing anything else.






yeah when i installed it, it was running on 2.0.14 and ive gotten it up to 2.0.17, so ill update the rest of it today, as for what version i am running, php-nuke version 7.9 i belive....its the newest one. and there is not a single patch on there...i barley know this yet so it will be a while before i patch...let me update the forums and ill see whats up then.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS