Hi, I have a subdomain called ebooks.millionquids.com So what I did was I bought a ebooks website (PHP and SQL) and following the instruction
- installed sql DB fine
- uploaded site to ebooks.millionquids.com and configured the admin config file and includes and if you look at the site you will see what seems to me is that its showing the code and not the actual index.php page.
I have been looking through the config file but with my limited understanding of PHP I have hit a wall.
Could anyone help please?
PS the site is hosted with Godaddy and here is some info from the configure.php file (not the admin one)
define(‘HTTP_SERVER’, ‘http://ebooks.millionquids.com’);
define(‘HTTPS_SERVER’, ‘https://ebooks.millionquids.com’);
define(‘ENABLE_SSL’, false);
define(‘HTTP_COOKIE_DOMAIN’, ‘ebooks.millionquids.com’);
define(‘HTTPS_COOKIE_DOMAIN’, ‘ebooks.millionquids.com’);
define(‘HTTP_COOKIE_PATH’, ‘/’);
define(‘HTTPS_COOKIE_PATH’, ‘/’);
define(‘DIR_WS_HTTP_CATALOG’, ‘/’);
define(‘DIR_WS_HTTPS_CATALOG’, ‘/’);
define(‘DIR_WS_IMAGES’, ‘images/’);
define(‘DIR_WS_ICONS’, DIR_WS_IMAGES . ‘icons/’);
define(‘DIR_WS_INCLUDES’, ‘includes/’);
define(‘DIR_WS_BOXES’, DIR_WS_INCLUDES . ‘boxes/’);
define(‘DIR_WS_FUNCTIONS’, DIR_WS_INCLUDES . ‘functions/’);
define(‘DIR_WS_CLASSES’, DIR_WS_INCLUDES . ‘classes/’);
define(‘DIR_WS_MODULES’, DIR_WS_INCLUDES . ‘modules/’);
define(‘DIR_WS_LANGUAGES’, DIR_WS_INCLUDES . ‘languages/’);
define(‘DIR_WS_DOWNLOAD_PUBLIC’, ‘pub/’);
define(‘DIR_FS_CATALOG’, ‘/home/ebooks/public_html/’);
define(‘DIR_FS_DOWNLOAD’, DIR_FS_CATALOG . ‘download/’);
define(‘DIR_FS_DOWNLOAD_PUBLIC’, DIR_FS_CATALOG . ‘pub/’);
define(‘DB_SERVER’, ‘info removed for security’);
define(‘DB_SERVER_USERNAME’, ‘info removed for security’);
define(‘DB_SERVER_PASSWORD’, ‘*********’);
define(‘DB_DATABASE’, ‘info removed for security’);
define(‘USE_PCONNECT’, ‘false’);
define(‘STORE_SESSIONS’, ‘mysql’);
?>