I just setup a php site located at www.modlowarvai.com which you can see many errors, anyone know how to fix them. i believe it is the basepath isn’t setup correctly
The Errors
Warning: include(/home5/thecopyz/public_html.modlowarvai/lib/db.class.php) [function.include]: failed to open stream: No such file or directory in /home5/thecopyz/public_html/modlowarvai/functions.php on line 96
Warning: include() [function.include]: Failed opening ‘/home5/thecopyz/public_html.modlowarvai/lib/db.class.php’ for inclusion (include_path=’.:/usr/lib64/php:/usr/lib/php’) in /home5/thecopyz/public_html/modlowarvai/functions.php on line 96
Warning: include(/home5/thecopyz/public_html.modlowarvai/lib/users.class.php) [function.include]: failed to open stream: No such file or directory in /home5/thecopyz/public_html/modlowarvai/functions.php on line 97
Warning: include() [function.include]: Failed opening ‘/home5/thecopyz/public_html.modlowarvai/lib/users.class.php’ for inclusion (include_path=’.:/usr/lib64/php:/usr/lib/php’) in /home5/thecopyz/public_html/modlowarvai/functions.php on line 97
The Code
I believe this is the area that the code is wrong as i need to set the base path and not sure what it would be
$dbServer = “mysql”;
$dbHostname = “localhost”;
$dbUsername = “thecopyz_ZincLan”;
$dbPassword = “removed”;
$dbName = “thecopyz_ZincLance”;
$site_url = “http://www.modlowarvai.com”;
$base_path = “/home/demon/listing/”;
$theme_path = $base_path . “themes/”;
$admin_template_path = $base_path . “admin/a_themes/”;
$site_name = “Modlowarvai Directory”;
$active_theme = ‘theme1’;