Jump to content

Can anyone help me please


koopmaster

Recommended Posts

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

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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.