View Full Version : adodb error for php

01-13-2010, 10:34 AM
ok so i have been trying to figuar out this error all night maybe someone else can help me figuar it out this is the error message i am recieving

Sorry, an error occurred.

at /home/justin/public_html/chatroom/include/adodb/drivers/adodb-mysql.inc.php:21
[2048] Declaration of ADODB_mysql::SelectLimit() should be compatible with that of ADOConnection::SelectLimit()

Could not connect to database! Please check your database setup in config.inc.php by using the POC Installer!
PHP 5.2.11 (Linux)
Browser: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Webserver: LiteSpeed

01-13-2010, 12:48 PM
PHP doesn't support overloading of its methods.
ADODB_mysql class extends the ADOConnection class, but is attempting to redefine the parameter signature of the method SelectLimit method. If you need to use overloaded functionality, you'll need to use the func_get_args method, but you will not be able to manipulate these as referenced variables unless you're passing objects.