MySql Error When Trying to Register

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
cariel
Registered User
Posts: 13
Joined: Thu Feb 28, 2008 1:32 pm
Contact:

MySql Error When Trying to Register

Post by cariel »

After installing the anti-bot-question mode, I've had problems with profile changes and registration

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/.odysseus/dramatic/damages.dramatic-personae.net/forums/db/mysql4.php on line 317

I didn't change anything to this mpsql4.php file. :?

Code: Select all

	function sql_freeresult($query_id = 0)
	{
		if( !$query_id )
		{
			$query_id = $this->query_result;
		}

		if ( $query_id )
		{
			unset($this->row[$query_id]);
			unset($this->rowset[$query_id]);
			mysql_free_result($query_id);

			return true;
		}
		else
		{
			return false;
		}
	}
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70184
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: MySql Error When Trying to Register

Post by KevC »

cariel wrote:After installing the anti-bot-question mode, I've had problems with profile changes and registration
Check all your edits. Sounds like you might have made a mistake.

If you have any more questions about that MOD you need to post in the topic for it.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
cariel
Registered User
Posts: 13
Joined: Thu Feb 28, 2008 1:32 pm
Contact:

Re: MySql Error When Trying to Register

Post by cariel »

I've gone through and re-edited all of the files twice. I can't figure this out. =/
User avatar
KevC
Support Team Member
Support Team Member
Posts: 70184
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: MySql Error When Trying to Register

Post by KevC »

Either ask in the topic for that MOD or put the original files back on and try the RAC MOD. Four edits, very simple, very effective.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"
Locked

Return to “2.0.x Support Forum”