PHP WScript ERROR 500

Discussion in 'Installation/Configuration' started by Debin, Jun 2, 2015.

  1. Debin

    Debin New Member

    PHP WScript
    http://demo.phpwscript.com/

    my web error 500
    http://test1.ga

    I am testing this script
    but do not know if I buy it for bouncing me error 500
    to try before you buy me wine with a base.sql
    I imported it but always get error 500
    What it is what may be happening?

    config.
    /application/config/database.php
    Code:
    <?php
    defined('BASEPATH') OR exit('No direct script access allowed');
    $active_group = 'default';
    $query_builder = TRUE;
    $db['default'] = array(
        'dsn'    => '',
        'hostname' => 'localhost',
        'username' => 'c5phpz',
        'password' => '123456',
        'database' => 'c5phpz',
        'dbdriver' => 'mysql',
        'dbprefix' => 'WS_',
        'pconnect' => TRUE,
        'db_debug' => TRUE,
        'cache_on' => TRUE,
        'cachedir' => 'application/cache/others',
        'char_set' => 'utf8',
        'dbcollat' => 'utf8_general_ci',
        'swap_pre' => '{PRE}',
        'autoinit' => TRUE,
        'encrypt' => FALSE,
        'compress' => FALSE,
        'stricton' => FALSE,
        'failover' => array(),
        'save_queries' => TRUE
    );
    
    vi /var/log/ispconfig/httpd/test1.ga/error.log
    is it clear
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ensure that the script is owned by the web user and client group of the website. if it is owned by a wrong user e.g. root, then you get a 500 error. and you can try to disable the custom error pages in the website, maybe the script tries to throw an error and you cant see it.
     

Share This Page