Page 1 of 1

MySqli Error

Posted: Mon Dec 05, 2005 3:05 pm
by kmonty78
I've searched and didn't find any topics similar to the error that I have come across.  Sorry if this is repeating another topic.

clean install of:
  Joomla 1.03
  VBulletin 3.5.1
  VBridge 1.22
  Joomla 1.03 - 1.04 patch


After many failed attempts at a clean install of Joomla 1.04 + VBulletin + VBridge, I decided to try and avoid the login/logout probelms people were seeing with Joomla 1.04, so I installed 1.03+VBulletin+VBridge.  Installed Joomla 1.03 and VBulletin 3.5.1 and then VBridge 1.22 and setup its configuration along with login module,finally running the patch Joomla 1.03 - 1.04.

When logout of portal I get this error:

    Warning: Missing argument 6 for vB_Database_MySQLi::db_connect() in /includes/class_core.php on line 1000

    Warning: Missing argument 7 for vB_Database_MySQLi::db_connect() in /includes/class_core.php on line 1000

    Warning: Missing argument 6 for vB_Database_MySQLi::db_connect() in /includes/class_core.php on line 1000

    Warning: Missing argument 7 for vB_Database_MySQLi::db_connect() in /includes/class_core.php on line 1000

This error is shown on the VBulletin logout screen saying all cookies cleared and the link to return to previous page.  This happens when logout of both Joomla and VBulletin.  Other than this error I have seen proper login/logout with VBridge.

BTW::I did not use a .ini file for the MySqli as of yet, this will be my next attempt or even trying mysql instead of mysqli.
Any aid with this my issue would be appreciated.

Re: MySqli Error

Posted: Mon Dec 05, 2005 3:37 pm
by leonsio
its only a warning, not error ;)

in the php.ini set error_reporting to 

error_reporting  =  E_ALL  & ~E_NOTICE  & ~E_WARNING

Re: MySqli Error

Posted: Mon Dec 05, 2005 4:59 pm
by kmonty78
Thanks for the fast reply, I will change it when I get bak.

Re: MySqli Error

Posted: Tue Dec 06, 2005 3:49 pm
by kmonty78
Made the chage in /etc/php.ini and the warning still remains. 

More Info:
http://www.thedemonsclan.com
Login: test    Pass: testing
Server running Fedora Core 4 latest updates
With ISPConfig 2.1.1 + PHPMyAdmin-2.6.4-pl3 + UebiMiau Webmail

Re: MySqli Error

Posted: Tue Dec 06, 2005 3:54 pm
by leonsio
set display_errors to off  ( if your forum goes public )

this setting disable all errors, if error come out, your users will be see only a white site ;)

Re: MySqli Error

Posted: Tue Dec 06, 2005 5:56 pm
by kmonty78
I checked and this is already off in Joomla and VBulletin

Relevant PHP Settings: 
Safe Mode:  OFF 
Open basedir:  none 
Display Errors:  OFF 
Short Open Tags:  ON 
File Uploads:  ON 
Magic Quotes:  OFF 
Register Globals:  OFF 
Output Buffering:  OFF 
Session save path:  /var/lib/php/session 
Session auto start:  0 
XML enabled:  Yes 
Zlib enabled:  Yes 
Disabled Functions:  none 
WYSIWYG Editor:  No WYSIWYG Editor 

Re: MySqli Error

Posted: Tue Dec 06, 2005 7:17 pm
by leonsio
and you gets the errors???

okay

open /includes/class_core.php

at the begining of the file, after <?php

write:

error_reporting(0);
ini_set('display_errors',0);

this should fix the problem :D

Re: MySqli Error

Posted: Wed Dec 07, 2005 3:09 am
by kmonty78
That did it!
Thanks for the help!    :D