Yannis Sintos
Member-
Posts
3 -
Joined
-
Last visited
Yannis Sintos's Achievements
Newbie (1/14)
0
Reputation
-
In /includes/global.inc.php are these lines correct ? $glob['adminURL'] = '/admin/'; $glob['adminURL2'] = '/admin' The lines in my /admin/index.php file are: +-------------------------------------------------------------------------- | index.php | ======================================== | Admin Homepage +-------------------------------------------------------------------------- */ include("../includes/ini.inc.php"); include_once("../includes/global.inc.php"); include_once("".$glob['adminURL2'] ."/adminfunctions.inc.php"); $db = new db(); include_once("../includes/functions.inc.php"); $config = fetchDbConfig("config"); include_once("../language/".$config['defaultLang']."/adminlang.inc.php"); $enableSSl = 1; include_once("../includes/sslSwitch.inc.php"); include_once("includes/auth.inc.php"); include_once("includes/header".$config['cms_edition'].".inc.php");
-
Hello, I have moved a CubeCart 3.0.15 website from an old host to my new host using a cpanel backup. Although the site is running great, when i try to reach the admin bckend at domain.com/admin i get the following error. Fatal error: Class 'db' not found in /home/domain/public_html/admin/index.php on line 21 I use php 5.3 and i also switched to 5.2, 5.4, 5.5, but with no luck. Any help would be greatly appreciated !!!