hola a todos quiero que me ayuden con este error que no puedo solucionar desde hace un tiempo
Warning: main(/home/myuser/public_html/configs/dirs.php): failed to open stream: No such file or directory in /home/www/youarea.freehostia.com/configs/config.php on line 33
Warning: main(/home/myuser/public_html/configs/dirs.php): failed to open stream: No such file or directory in /home/www/youarea.freehostia.com/configs/config.php on line 33
Warning: main(): Failed opening '/home/myuser/public_html/configs/dirs.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/youarea.freehostia.com/configs/config.php on line 33
Warning: main(/home/myuser/public_html/configs/smarty.php): failed to open stream: No such file or directory in /home/www/youarea.freehostia.com/configs/config.php on line 34
Fatal error: main(): Failed opening required '/home/myuser/public_html/configs/smarty.php' (include_path='.:/usr/local/lib/php') in /home/www/youarea.freehostia.com/configs/config.php on line 34
if (!isset($_SESSION['lang'])) session_start();
ini_set('error_reporting', E_ALL & ~E_NOTICE);
ini_set('display_errors', '1');
$config = array();
// EDIT THESE
$config['base_dir'] = '/home/myuser/public_html';
$config['base_url'] = 'http://youarea.freehostia.com';
// END EDIT
$config['config_dir'] = $config['base_dir'] . '/configs';
$config['include_dir'] = $config['base_dir'] . '/includes';
$config['cache_dir'] = $config['base_dir'] . '/media/cache';
$config['class_dir'] = $config['base_dir'] . '/configs/classes';
$config['admin_url'] = $config['base_url'] . '/administration';
include($config['config_dir'] . '/dirs.php');
require_once($config['config_dir'] . '/smarty.php');
require_once($config['config_dir'] . '/functions.php');
require_once($config['config_dir'] . '/dbconfig.php');
require_once($config['config_dir'] . '/mail.php');
require_once($config['class_dir'].'/adodb/adodb.inc.php');
$conn = &ADONewConnection($db_type);
$conn->PConnect($db_host, $db_user, $db_pass, $db_name);
$sql = "select * from configurations";
$rsc = $conn->Execute($sql);
if($rsc)
{
while(!$rsc->EOF)
{
$field = $rsc->fields['option'];
$config[$field] = $rsc->fields['value'];
$smarty->assign($field, $config[$field]);
@$rsc->MoveNext();
}
}
//session activity
if ($_SESSION[UID]!="")
{
$last_act=time();
$conn->execute("update members set is_logged='1', last_activity='$last_act' where uid='$_SESSION[UID]'");
}
//else
//{
$mtime = strtotime("-15 minutes");
$qu="select * from members where is_logged='1' and last_activity < $mtime";
$rs=$conn->execute($qu);
if($rs)
{
while(!$rs->EOF)
{
$user=$rs->fields['username'];
$conn->execute("update members set is_logged='0' where username='$user'");
@$rs->MoveNext();
}
}
//}
//language check
if($_REQUEST[language]!="")
{
$lrs=$conn->execute("select file from languages where name='$_REQUEST[language]'");
$langs=$lrs->fields['file'];
$_SESSION['lang']=$langs;
include("$config[base_dir]/modules/languages/$langs");
}
else
{
$rs1=$conn->execute("select file from languages where def='1'");
$def=$rs1->fields['file'];
if ($_SESSION['lang']=="") { include($config['base_dir'].'/modules/languages/'.$def); $_SESSION['lang']=$def; }
else { include($config['base_dir'].'/modules/languages/'.$_SESSION[lang]); }
}
checklang();
$smarty->assign('base_url',$config['base_url']);
$smarty->assign('base_dir',$config['base_dir']);
$smarty->assign('admin_url',$config['admin_url']);
ayuda