FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » this is suck :(
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
icon8.gif  Re: this is suck :( [message #18795 is a reply to message #18794] Thu, 10 June 2004 00:10 Go to previous messageGo to previous message
rafath is currently offline  rafath   Poland
Messages: 14
Registered: June 2004
Karma:
Junior Member
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArgh ;((((( Crying or Very Sad Crying or Very Sad Crying or Very Sad Crying or Very Sad Crying or Very Sad Crying or Very Sad

When I trying to check Forum Consistency i get this error:
Quote:


Disabling the forum for the duration of maintenance run
Locking the database for checking
Locked!
Validating category order
Done: Validating category order
Checking if moderator and users table match
OK
Rebuilding moderators
Done: Rebuilding moderators
Checking if all private messages have users

Warning: pg_query(): Query failed: ERROR: argument of AND must be type boolean, not type integer . in /usr/local/apache2/htdocs/toyota.org.pl/forum/inc/include/theme/default/db. inc on line 138
(/usr/local/apache2/htdocs/toyota.org.pl/forum/inc/include/theme/default/db .inc:138
/usr/local/apache2/htdocs/toyota.org.pl/forum/inc/include/theme/default/db. inc:132
/usr/local/apache2/htdocs/toyota.org.pl/forum/wwwroot/adm/consist.php:159
) : ERROR: argument of AND must be type boolean, not type integer
Query: SELECT pm.id FROM zz_pmsg pm LEFT JOIN zz_users u ON u.id=pm.ouser_id LEFT JOIN zz_users u2 ON u2.id=pm.duser_id WHERE (pm.pmsg_opt & 16) AND (u.id IS NULL OR u2.id IS NULL)
Server Version:
[Referring Page] http://www.forum.toyota.org.pl/adm/consist.php?rid=2&S=718cd6163531ae6c ed633ebac4ec62af



Now the moving to the main page problem is with file users.inc

Quote:


function sq_check($post, &$sq, $uid=__fud_real_user__, $ses=s)
{
	/* no sequence # check for anonymous users */
	if (!$uid) {
		return 1;
	}

	if ($post && isset($_POST['SQ'])) {
		$s = $_POST['SQ'];
	} else if (!$post && isset($_GET['SQ'])) {
		$s = $_GET['SQ'];
	} else {
		$s = 0;
	}

	if ($sq !== $s) {
		if ($GLOBALS['t'] == 'post' || $GLOBALS['t'] == 'ppost') {
			define('fud_bad_sq', 1);
			$sq = regen_sq($uid);
			return 1;
		}
		header('Location: http://www.forum.toyota.org.pl/index.php?S='.$ses);
		exit;
	}

	return 1;
}




When I comment the header end exit everything is working.

Does this forum will work better on mysql? If yes, how i can transport data to the mysql?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon8.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: file with the bodies of msg....
Next Topic: Disable RSS from one forum of a group
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 08:45:44 GMT 2024

Total time taken to generate the page: 0.04149 seconds