Menu

ADOdb error again

2006-03-01
2013-03-26
  • Nobody/Anonymous

    Hi.. I keep getting this error:

    main(): open_basedir restriction in effect. File(/home/httpd/vhost/test.pm-group.com.au/httpdocs/Mamook/adodbadodb.inc.php) is not within the allowed path(s): (/home/httpd/vhosts/test.pm-group.com.au/httpdocs:/tmp)main(/home/httpd/vhost/test.pm-group.com.au/httpdocs/Mamook/adodbadodb.inc.php): failed to open stream: Operation not permittedmain(): Failed opening '/home/httpd/vhost/test.pm-group.com.au/httpdocs/Mamook/adodbadodb.inc.php' for inclusion (include_path='.:/usr/share/pear')

    tried to find adodbadodb.inc.php in the adodb folder, but it doesnt exist...

    Any insights? Thanks

     
    • Chan

      Chan - 2006-03-01

      Hi there,

      Two things. First, have you installed ADOdb? It's one of those libraries that need to be installed on your server before you can get Mamook to run. Details here: http://www.mamook.net/mediawiki/index.php/Documentation:Server_Configuration

      The other thing is, it looks like your path to ADODB  in your release_constants.inc doesn't seem right. I think you're forgetting a trailing forward slash?

      You probably need something like this in your release_constants.inc:

      define("PATH_ADODB", "/home/httpd/vhost/test.pm-group.com.au/httpdocs/Mamook/adodb/");

      This is assuming that you've installed ADODB in your Mamook directory of course.

      Hope that helps.

      -Chris Chan
      Mamook Core Developer

       
    • patelroshan

      patelroshan - 2007-06-12

      I am installining Mamook and having problems with adodb error

      I have successfully installed Adodb490.tg something version and I do not find adodb-type.inc.php file in adobb/drivers/......

      where can i get adobe-type.inc.php file......

      Please help me in this regards

      Regards
      Roshan PATEL

       
    • patelroshan

      patelroshan - 2007-06-12

      I got the error like this, what should i do?  I am totally confused

      Can u please help me as soon as possible....

      mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'internship'@'localhost' (using password: YES)
      Warning: error_log(/opt/lampp/htdocs/logs/logs/error.log) [function.error-log]: failed to open stream: No such file or directory in /opt/lampp/htdocs/Mamook-2.0RC4/misc/userErrorHandler.inc on line 97

      Regards
      Roshan PATEL

       
    • Chan

      Chan - 2007-06-13

      Hi Roshan,

      I'm assuming you solved your first problem. As for your second problem, it looks like the username or password is incorrect when you try to connect to your database.

      One way to check if your username and password is actually correct is to use the following command in your UNIX command line:

      >mysql -h localhost -u internship -p

      They, MySQL will prompt you for a password. If your password is correct, it'll let you into the database. Tell me if you can connect to the database with this method, and we'll go from there.

      Cheers

      -Chris Chan
      Mamook Core Developer

       

Log in to post a comment.

MongoDB Logo MongoDB