I have the database setup right (I believe), and it loads Pear:DB, but it fails on the line:
$db = DB::Connect($dsn);
My database is MySQL => 4.1
I gave full permissions to my database user, just to make sure it works.
I get an internal server error 500.
Use the standalone script PEAR_TEST.php To diagnose connection issues.
Please report back if you find a solution.
Oh, and your PHP version is relevant.
I can't seem to find PEAR_TEST.php. Does it come with PHP, phpBugTracker, or do you have to get it separately?
PEAR_TEST.php comes with phpBugTracker
I found the source to PEAR_TEST.php online, copied it to my server and tried it out.
It worked great! There were a few configuration issues, notably having to set the path to where PEAR::DB was.
The test code helped me solve it and now I'm up and running. phpBugTracker is working good now.
Thanks!
Log in to post a comment.
I have the database setup right (I believe), and it loads Pear:DB, but it fails on the line:
$db = DB::Connect($dsn);
My database is MySQL => 4.1
I gave full permissions to my database user, just to make sure it works.
I get an internal server error 500.
Use the standalone script
PEAR_TEST.php
To diagnose connection issues.
Please report back if you find a solution.
Oh, and your PHP version is relevant.
I can't seem to find PEAR_TEST.php. Does it come with PHP, phpBugTracker, or do you have to get it separately?
PEAR_TEST.php comes with phpBugTracker
I found the source to PEAR_TEST.php online, copied it to my server and tried it out.
It worked great! There were a few configuration issues, notably having to set the path to where PEAR::DB was.
The test code helped me solve it and now I'm up and running. phpBugTracker is working good now.
Thanks!