|
|
 |
 | What am i doing wrong? |  |
Posted: Wed Feb 11, 2004 9:13 am |
|
|
|
Fatal error: Failed opening required '/home/ahlfs/lib/stdlib.php' (include_path='') in /home/ahlfs/public_html/config.php on line 173
$CONFIG->wwwroot = "/home/ahlfs";
//Site URL -please use the "http://www.randompayments.org" format.
$CONFIG->siteurl = "/home/ahlfs/public_html";
//Edit below ONLY if you changed the current site structure
$CONFIG->templatedir = "$CONFIG->wwwroot/templates";
$CONFIG->libdir = "$CONFIG->wwwroot/lib";
$CONFIG->imagedir = "$CONFIG->wwwroot/rimages"; |
|
|
|
|
 | |  |
Posted: Wed Feb 11, 2004 9:19 am |
|
|
|
Fatal error: Failed opening required '/home/ahlfs/lib/stdlib.php' (include_path='') in /home/ahlfs/public_html/config.php on line 173
$CONFIG->wwwroot = "/home/ahlfs";
//Site URL -please use the "http://www.mysite.com" format.
$CONFIG->siteurl = "http:/www.randompayments.org";
//Edit below ONLY if you changed the current site structure
$CONFIG->templatedir = "$CONFIG->wwwroot/templates";
$CONFIG->libdir = "$CONFIG->wwwroot/lib";
$CONFIG->imagedir = "$CONFIG->wwwroot/rimages"; |
|
|
|
|
Posted: Wed Feb 11, 2004 9:20 am |
|
|
|
This gives me a blank page for everything
$CONFIG->wwwroot = "/home/ahlfs/public_html";
//Site URL -please use the "http://www.mysite.com" format.
$CONFIG->siteurl = "http:/www.randompayments.org";
//Edit below ONLY if you changed the current site structure
$CONFIG->templatedir = "$CONFIG->wwwroot/templates";
$CONFIG->libdir = "$CONFIG->wwwroot/lib";
$CONFIG->imagedir = "$CONFIG->wwwroot/rimages"; |
|
|
|
|
Posted: Wed Feb 11, 2004 9:22 am |
|
|
|
| I just paid 69.00 for this and i cant figure it out lol |
|
|
|
|
Posted: Wed Feb 11, 2004 10:48 am |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
From looking at your error messages I would say the the last configuration is probably the correct one. UNLESS you have you script in a subdirectory like www.randompayments.org/random. Other then that it should be the correct settings. Why you are getting a blank page I have no idea.
Shadow. |
|
|
|
|
Posted: Wed Feb 11, 2004 10:52 am |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
I just looked at your site and I received the error "couldn't connect to the database" make sure you have the db_connect.php file set correctly for your database that might help you.
Shadow |
|
|
|
|
Posted: Wed Feb 11, 2004 1:57 pm |
|
|
|
| Yes,you have to edit the db_connect.php file to add the proper values there. |
|
|
|
|
Posted: Wed Feb 11, 2004 4:12 pm |
|
|
|
| Am i supost to create a user for myself on the data base? |
|
|
|
|
Posted: Wed Feb 11, 2004 4:15 pm |
|
|
|
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:ahlfs_ahlfs:localhost","ahlfs_pkergohan","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "ahlfs_pkergohan", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("ahlfs_ahlfs");
<?
/*This is the mysql connection parameters.
For maximum security,you can move this file outside the
web tree .
In this case,please edit the path from the line 100 of config.php.*/
$dbhost = 'localhost';
$database_name = 'ahlfs_cheap';
$dbusername = 'ahlfs_pkergohan';
$dbpasswd = '*******';
$connection = mysql_pconnect("$dbhost","$dbusername","$dbpasswd")
or die ("Couldn't connect to server.");
$db = mysql_select_db("$database_name", $connection)
or die("Couldn't select database.");
?>
I cencored the password  |
|
|
|
|
Posted: Wed Feb 11, 2004 4:28 pm |
|
|
| daniel |
| Addict |
|
 |
| Joined: 19 Sep 2004 |
| Posts: 177 |
|
|
|
 |
 |
 |
|
| The database name seems to be ahlfs_ahlfs |
|
|
|
|
|
|