On Wed, Mar 31, 2010 at 12:13 PM, Tom Haynes <to...@th...> wrote:
> Greetings...
>
> <snip>
>
> <?php
>
> // use http or https?
> $ESPCONFIG['proto'] = 'http://';
>
> // Base URL for phpESP
> $ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . $server['HTTP_HOST'] .
> '/phpesp/'
> ;
>
> // Enable debugging code (BOOLEAN)
> $ESPCONFIG['DEBUG'] = true;
>
> // Database connection information
> // for the database type, change $ESPCONFIG['adodb_database_type'] (further
> down
> )
> $ESPCONFIG['db_host'] = 'localhost';
> $ESPCONFIG['db_user'] = 'phpesp';
> $ESPCONFIG['db_pass'] = '********';
> $ESPCONFIG['db_name'] = 'phpesp';
> $DB_PREFIX = ""; // If you want your database tables to use a prefix, s
> et it here.
> $OLD_DB_PREFIX = ""; // When switching prefixes, give here the current
> existin
> g prefix in the db
>
> ?>
>
>
Tom,
if you get a blank page, you should check your apache logs.
But in this case: if you just copied over the phpesp.ini.example, you should
take care that all lines are correct. In the example file there are a bit
too much carriage returns, so it must be:
<?php
// use http or https?
$ESPCONFIG['proto'] = 'http://';
// Base URL for phpESP
$ESPCONFIG['base_url'] = $ESPCONFIG['proto'] . $server['HTTP_HOST'] .
'/phpesp/';
// Enable debugging code (BOOLEAN)
$ESPCONFIG['DEBUG'] = true;
// Database connection information
// for the database type, change $ESPCONFIG['adodb_database_type'] (further
down)
$ESPCONFIG['db_host'] = 'localhost';
$ESPCONFIG['db_user'] = 'phpesp';
$ESPCONFIG['db_pass'] = '********';
$ESPCONFIG['db_name'] = 'phpesp';
$DB_PREFIX = ""; // If you want your database tables to use a prefix, set
it here.
$OLD_DB_PREFIX = ""; // When switching prefixes, give here the current
existing prefix in the db
?>
Agreed, the example file provided in the distributed version is wrong there
(will be corrected by the next version), but this should be very obvious and
also the apache logfiles should've helped you here.
Franky
|