Jump to content

Recommended Posts

Posted

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.

Posted

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"

Posted
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.

Posted

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.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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