HELP with index.php page

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

  1. installed sql DB fine
  2. 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’);
?>

almost seems as if php is not setup on this server or maybe not defined in the conf

Indeed, you are not parsing php pages. Until you have PHP running, you should replace your site with something that does not reveal the code to your future site.

Check with your host provider and see if you have PHP enabled. If not request that it be enabled. Otherwise find a Host who has PHP enabled for you to use.

Sponsor our Newsletter | Privacy Policy | Terms of Service