Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2010
    Posts
    1
    Thanks
    0
    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.

    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

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 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'); 


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •