MySqli Error

Discuss the universal connector for forums and other applications. (including vBridge )
Locked
kmonty78
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 12, 2005 10:03 pm

MySqli Error

Post by kmonty78 » Mon Dec 05, 2005 3:05 pm

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.

leonsio
Joomla! Explorer
Joomla! Explorer
Posts: 355
Joined: Wed Nov 02, 2005 11:20 am
Contact:

Re: MySqli Error

Post by leonsio » Mon Dec 05, 2005 3:37 pm

its only a warning, not error ;)

in the php.ini set error_reporting to 

error_reporting  =  E_ALL  & ~E_NOTICE  & ~E_WARNING

kmonty78
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 12, 2005 10:03 pm

Re: MySqli Error

Post by kmonty78 » Mon Dec 05, 2005 4:59 pm

Thanks for the fast reply, I will change it when I get bak.

kmonty78
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 12, 2005 10:03 pm

Re: MySqli Error

Post by kmonty78 » Tue Dec 06, 2005 3:49 pm

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

leonsio
Joomla! Explorer
Joomla! Explorer
Posts: 355
Joined: Wed Nov 02, 2005 11:20 am
Contact:

Re: MySqli Error

Post by leonsio » Tue Dec 06, 2005 3:54 pm

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 ;)

kmonty78
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 12, 2005 10:03 pm

Re: MySqli Error

Post by kmonty78 » Tue Dec 06, 2005 5:56 pm

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 

leonsio
Joomla! Explorer
Joomla! Explorer
Posts: 355
Joined: Wed Nov 02, 2005 11:20 am
Contact:

Re: MySqli Error

Post by leonsio » Tue Dec 06, 2005 7:17 pm

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

kmonty78
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Sat Nov 12, 2005 10:03 pm

Re: MySqli Error

Post by kmonty78 » Wed Dec 07, 2005 3:09 am

That did it!
Thanks for the help!    :D


Locked

Return to “com_connector - Multi Joomla Bridge”