Jump to content

Document Root Issue - Sub Directory on Godaddy


trunker

Recommended Posts

Hello, I am a PHP noob and am moving a website over to my godaddy deluxe account.  I have created the database, imported the tables etc and I am getting a lot of errors which look like a document root problem.

 

Here is the site I am moving (in working condition)  http://www.flbiz4sale.com

 

Here is where I am moving it to and eventually point my records to:  http://www.paradiseprotech.com/flbiz 

 

My configure.php file looks like this

 

<?php

  define('DIR_DOCUMENT_ROOT', $HTTP_SERVER_VARS['DOCUMENT_ROOT']);

 

  define('DIR_INCLUDES', DIR_DOCUMENT_ROOT . '/includes/');

  define('DIR_SHARED', DIR_INCLUDES . 'shared/');

  define('DIR_TEMPLATES', DIR_INCLUDES . 'templates/');

 

  define('DIR_CLASSES', DIR_DOCUMENT_ROOT . '/classes/');

  define('DIR_CONNECTION', DIR_DOCUMENT_ROOT . '/Connections/');

  define('DIR_SCRIPT_LIB', DIR_DOCUMENT_ROOT . '/ScriptLibrary/');

  define('DIR_IMAGE_PATH', DIR_DOCUMENT_ROOT . '/images/');

 

  include(DIR_SHARED . 'configure_site.php'); 

  include(DIR_SHARED . 'functions.php');

?>

 

Any help will be greatly appreciated!

 

Thanks!

 

Trunk

 

 

 

OK I tried adding that line to the .htaccess file and then I got an internal server error.  I then edited the php.ini file and changed global from off to on.  But still experiencing the same symptoms... ???

 

Thanks Jon for the quick replies.

 

T.

One more question.

 

Take a look at the link locations of the buttons here:  http://www.paradiseprotech.com/flbiz/

 

When I change the DNS records over to flbiz4sale.com - Will that change the paradiseprotech.com link?  - I sure hope so!

 

Thanks!

 

Trunk

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.