Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: adodb error for php
01-13-2010, 11:34 AM #1
- Join Date
- Jan 2010
- Thanked 0 Times in 0 Posts
adodb error for php
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.
 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)
01-13-2010, 01:48 PM #2
- Join Date
- Sep 2002
- Saskatoon, Saskatchewan
- Thanked 2,662 Times in 2,631 Posts
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.PHP Code:
header('HTTP/1.1 420 Enhance Your Calm');