Page 1 of 1
Prob when i moved site to hosting web server ??
Posted: Thu Feb 28, 2008 8:55 pm
by ashebrian
c
Re: Prob when i moved site to hosting web server ??
Posted: Thu Feb 28, 2008 10:07 pm
by hawkenterprises
Let me guess you used Microsoft Frontpage to do your website.
All you source files are pointing to here
C:/Inetpub/vhosts/ealuspatherapy.com/httpdocs/ealuproducts/admin/
You need to fix the filepaths in your Frontpage
Re: Prob when i moved site to hosting web server ??
Posted: Fri Feb 29, 2008 4:24 am
by ashebrian
your not wrong....i use dreamweaver to do my designs but the hosting web server has ms frontpage. And the file paths u mentioned
C:/Inetpub/vhosts/ealuspatherapy.com/httpdocs/ealuproducts/admin/
is a bit of a problem. Not all my pages go to here..... all my pages go to:
C:/Inetpub/vhosts/ealuspatherapy.com/httpdocs/
And all my admin side pages go to:
C:/Inetpub/vhosts/ealuspatherapy.com/httpdocs/ealuproducts/admin/
As i'm new to this and have no experience on how to change this. Can you explain where i need to fix the filepaths as the website needs to be up asap?
Re: Prob when i moved site to hosting web server ??
Posted: Fri Feb 29, 2008 6:14 pm
by ashebrian
would the problem lay ere? Ths is located in the config.php file outside the folder admin and called "library" folder. Both library and admin folders are located in the same folder.
Code: Select all
$thisFile = str_replace('\\', '/', __FILE__);
$docRoot = $_SERVER['DOCUMENT_ROOT'];
$webRoot = str_replace(array($docRoot, 'library/config.php'), '', $thisFile);
$srvRoot = str_replace('library/config.php', '', $thisFile);
define('WEB_ROOT', $webRoot);
define('SRV_ROOT', $srvRoot);
Re: Prob when i moved site to hosting web server ??
Posted: Fri Feb 29, 2008 8:04 pm
by alex.barylski
What the hell is FrontPage?

Re: Prob when i moved site to hosting web server ??
Posted: Sun Mar 02, 2008 6:58 pm
by hawkenterprises
These
C:/Inetpub/vhosts/ealuspatherapy.com/httpdocs/ealuproducts/admin/
need to be
http://somedomain.tld/admin
In other words your links need to be using a url and not a filepath. Make sense?