multiple boards news - "Integer expected" error.

Started by Greenman, August 19, 2010, 07:12:39 AM

Previous topic - Next topic

Greenman

SMF 2.0 RC3

I followed this post correctly to make the boardNews fuction support multiple boards, but I keep getting an error.

QuoteAn Error Has Occurred!

Wrong value type sent to the database. Integer expected. (current_board)
Back

Could you please help me fix this error?

The error log point to the line ");" above the "if".
                      LIMIT 1',
                                array(
                                                'current_board' => $board,
                                )
                );
                if ($smcFunc['db_num_rows']($request) == 0)
                {

gbsothere

Is this the SSI.php file? 

You may have better luck asking Robbo_ about it on this thread:

http://www.simplemachines.org/community/index.php?topic=355945.0

:)
My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Greenman

Ahh it was another package that changed a tiny part of the code. :P

Sorry. :-X
Those with similar problems, make sure the code is completely unmodified. :P

gbsothere

My apologies, but I am taking a break from accepting PM requests for support.  If I am not currently assisting you, please do not ask as long as this notice is posted.  Thank you.

I Don't Want To Grow Old Alone


It has been proven that Steely Dan reduces the occurrence of road rage, according to an independent study.



A reminder about admin / ftp passwords etc.

Advertisement: