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

 

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.