Canadian Webhosting Forums Forum Index Canadian Webhosting Forums
Discussion Forums
 
 FAQFAQ   SearchSearch      RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem migrating site.

 
Post new topic   Reply to topic    Canadian Webhosting Forums Forum Index -> PHP
Author Message
PeterC



Joined: 29 Feb 2008
Posts: 2

PostPosted: Fri Feb 29, 2008 8:12 pm    Post subject: Problem migrating site. Reply with quote

I'm in the process of transferring my site to CWH, and I've run into an issue with PHP.

The code for my site has a variable in it that sets the site root as "/". Unfortunately this leads to broken links on my site with CWH.

How should I express site root on CWH?

I checked the FAQ's and found one reference that said it was "Root path: /home/username/ " but that didn't work.

I'd appreciate any help you can offer.

Thanks.

PeterC
Back to top
divya
CWH Staff


Joined: 24 Jul 2007
Posts: 41

PostPosted: Sat Mar 01, 2008 9:19 pm    Post subject: Reply with quote

Hello Peter,

All your website files will be under /home/username/public_html. Hence you have to use this path in your code.

If you still encounter any error, please drop a mail to support@canadianwebhosting.com.

Regards,
Divya
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Canadian Webhosting Forums Forum Index -> PHP All times are GMT - 8 Hours
Page 1 of 1

 


Hosting Plans :: Flash Tutorials :: Contact Us :: Privacy Policy


Powered by phpBB, MySQL and PHP