Jump to content

Recommended Posts

Posted

Username: gbarrios, Server: Ricky, Main domain: procesos.heliohost.org

 

Regards.

 

I?m setting up a site in wich I use a postgre database and PHP. This is the

script that I'm using to achieve it:

$active_group = 'default';

$query_builder = TRUE;

 

$db['default'] = array(

'dsn' => '',

'hostname' => 'localhost:5432',

'username' => 'gbarrios_webmaster',

'password' => '**********',

'database' => 'gbarrios_procesos',

'dbdriver' => 'postgre',

'dbprefix' => '',

'pconnect' => FALSE,

'db_debug' => (ENVIRONMENT !== 'production'),

'cache_on' => FALSE,

'cachedir' => '',

'char_set' => 'utf8',

'dbcollat' => 'utf8_general_ci',

'swap_pre' => '',

'encrypt' => FALSE,

'compress' => FALSE,

'stricton' => FALSE,

'failover' => array(),

'save_queries' => TRUE

);

When I try to enter the site, I receive the following message:

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable

to complete your request.

 

Please contact the server administrator at webmaster@procesos.heliohost.org

to inform them of the time this error occurred, and the actions you

performed just before this error.

 

More information about this error may be available in the server error log.

 

Additionally, a 500 Internal Server Error error was encountered while

trying to use an ErrorDocument to handle the request.

 

Could you tell me please, what's wrong with the code.

Posted

Have you made sure your file permissions are set to 644? PHP files only work with 644 permissions.

 

The code itself looks fine. If it was a database issue, I'd expect a database connection error instead of a 500 error.

Guest
This topic is now closed to further replies.
×
×
  • Create New...