funkyorange Posted January 21, 2006 Posted January 21, 2006 Hi everyone, I have just bought a new account with you guys and I am very pleased with everything ! Much better than my other hosting company (and cheaper too !) so keep up the good work I have just installed movable type which is working fine. I was trying to add a php plugin called photo gallery (http://www.stopdesign.com/log/2005/08/24/photo-templates.html) to it. But getting php errors when I try to use it. The page is http://72.18.130.37/~sxiyener/pblog/ its a problem with the include file. The code to call the file is include ($_SERVER['DOCUMENT_ROOT']."/~sxiyener/pblog/meta/functions/all.php"); which goes to "/usr/local/apache/htdocs/~sxiyener/pblog/meta/functions/all.php" What is the correct location my files are stored in... "/www/pblog/meta/functions/all.php" I tried an absolute reference but this gives me the error.. "Fatal error: Call to undefined function: dochead()" But the file all.php has is some includes including "include ("doctype.php");" which has the dochead fucntion in there and thats fine. Maybe this problem is easier than I think ?! Thanks in adnvance for any help you may have, Kind Regards, David. Quote
TCH-Bruce Posted January 21, 2006 Posted January 21, 2006 Wlecome to the forums David Some PHP stuff does not work properly when accessed using IP numbers on a shared server so it would be best to use your domain name. As for your paths they should begin with "/home/your-cPanel-name/public_html" Quote
funkyorange Posted January 21, 2006 Author Posted January 21, 2006 Wlecome to the forums David Some PHP stuff does not work properly when accessed using IP numbers on a shared server so it would be best to use your domain name. As for your paths they should begin with "/home/your-cPanel-name/public_html" Great thanks Bruce for your help. When will my domain be added to my domain name I have (http://www.the-style-lab.com). I signed up on Tuesday last week. Thanks again. Quote
TCH-Thomas Posted January 21, 2006 Posted January 21, 2006 Welcome to the forum funkyorange. The domain is currently pointing to the following nameservers: NS1.WINSAVE.COM NS2.WINSAVE.COM You will need to ask your domain registrar to point it to the nameservers listed in the welcome email you have received when you purchased the hosting. Quote
funkyorange Posted January 21, 2006 Author Posted January 21, 2006 Oh yeah ! I dont usually read insructions ! Great. you guys are the best ! Keep up the good work. Quote
TCH-Don Posted January 21, 2006 Posted January 21, 2006 Welcome to the forums funkyorange let us know if you need anything else. Quote
TCH-Rob Posted January 21, 2006 Posted January 21, 2006 Welcome to the forums funkyorange. Remember, it can take up to 72 hours for the change to take place, though it is often much faster. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.