Guest Posted April 15, 2008 Posted April 15, 2008 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. I have been asked if PHP is defined on the hosting and it works with my other domains just not this one. (sent a support ticket to godaddy but still waiting) Also just ignore the fact that the first line of code is missing from the config file it is actually there. :) 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'); ?>
BryceJr Posted April 15, 2008 Posted April 15, 2008 Do you have another index page in your home/root directory whose contents is "<?php header('Location:catalog/'); ?>"? If you do, get rid of it or rename it.
markg-uk Posted April 15, 2008 Posted April 15, 2008 As above - sounds like you have an index.html which apache will serve before it looks for index.php.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.