koopmaster Posted April 14, 2008 Share Posted April 14, 2008 Hi, I have a domain (millionquids.com and subdomain called ebooks) 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'); ?> Link to comment https://forums.phpfreaks.com/topic/101085-can-anyone-help-me-please/ Share on other sites More sharing options...
chigley Posted April 14, 2008 Share Posted April 14, 2008 Do you have PHP installed on your server? Link to comment https://forums.phpfreaks.com/topic/101085-can-anyone-help-me-please/#findComment-516924 Share on other sites More sharing options...
Zhadus Posted April 14, 2008 Share Posted April 14, 2008 Was that page completely cut and pasted? There is no <?php tag. Link to comment https://forums.phpfreaks.com/topic/101085-can-anyone-help-me-please/#findComment-516944 Share on other sites More sharing options...
chigley Posted April 14, 2008 Share Posted April 14, 2008 Was that page completely cut and pasted? There is no <?php tag. First line is <?php lol? Link to comment https://forums.phpfreaks.com/topic/101085-can-anyone-help-me-please/#findComment-516950 Share on other sites More sharing options...
Zhadus Posted April 14, 2008 Share Posted April 14, 2008 My bad I see now that he posted the configure file and the index page is the one that doesn't display. Hate me for not reading the entire post, I deserve it. Link to comment https://forums.phpfreaks.com/topic/101085-can-anyone-help-me-please/#findComment-516956 Share on other sites More sharing options...
koopmaster Posted April 14, 2008 Author Share Posted April 14, 2008 That config was quickly cut and pasted - I could have missed a little bit but it’s what you get on the index.php page that is worrying me. From Dreamweaver it show that it’s the code and not the actual page you should see when you’re browsing from IE for example. Link to comment https://forums.phpfreaks.com/topic/101085-can-anyone-help-me-please/#findComment-516967 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.