PDA

View Full Version : is the absolute path of the server the...


iwonderwhy9
10-12-2010, 11:35 PM
...same for two domains that share the same hosting? I have two domains sharing a hosting account. They would look like this:
www.primarydomain.net
www.secondarydomain.com (this is a folder in my hosting called "SecondaryDomain")

I'm currently installing a script for my secondary domain; however, in a config.php file it asks me for
the BASEURL and BASEDIR

For Baseurl I would normally put www.secondaryomain.com
For Basedir (which is the absolute path of server) I would put /home/content/d/e/l/myprimarysite/html because that IS the path.

I get an error when trying to display my site, so I know there is somethign wrong. I've tried many absolute paths modifications such as:

/home/content/d/e/l/myprimardomain/html/secondarydomain
/home/content/d/e/l/myprimarydomain/secondarydomain/html
/home/content/d/e/l/secondarydomain/html

but i still have the error wich dispays:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/content/d/e/l/primarydomain/html/FolderofSecondaryDomain/include/config.php on line 225

Any advice? thanks before hand.
I've already installed this script before and it worked great, no problems at all, but this was when I had a hosting account with only one domain name, a primary one.
Once again, I'm not looking for the URL path, but the absolute path of the hosting. I think I need to make it primary though to make it work. :(