Page 1 of 1
Directory Structure
Posted: Sun Mar 15, 2009 9:20 pm
by prgmctan
Hi, I wasn't really sure where to ask this but I had a question about how to access different aspects of a directory. My problem is using my testing server (xampplite), it needs to be
but on my server, hosted by godady, it needs to be
Both versions are php5 so I'm not sure what the difference is.
Re: Directory Structure
Posted: Sun Mar 15, 2009 11:07 pm
by omniuni
Odd, the godaddy one says "root, and one more up" which should not be possible.
Possibly something is configured differently. What are you trying to do, so I can advise more specifically?
Re: Directory Structure
Posted: Sun Mar 15, 2009 11:50 pm
by prgmctan
omniuni wrote:Odd, the godaddy one says "root, and one more up" which should not be possible.
Possibly something is configured differently. What are you trying to do, so I can advise more specifically?
I'm not exactly sure what you mean. I'm testing on xampplite and ftp-ing all of the files to the godaddy server. I created the databases and tables I would need, etc, and changed how to connect to it. All of the database stuff seems to work fine, but when I try to load styles or use requires, it needs to be changed from ../ to /../
P.S. Sorry for the late reply, I couldn't seem to get on devnetwork for the longest time.
Re: Directory Structure
Posted: Mon Mar 16, 2009 12:52 am
by omniuni
I suspect it is a GoDaddy thing. Their hosting is very weird. Root is Unix's way of referring to the top of the file system. From there, you should not be able to go "up" any more levels. For whatever reason, GoDaddy's required path is to go up one step from the top... it does not make sense.
I'm sorry, I can't think of anything else at the moment. I too was having trouble getting onto DevNetwork (it's rare, but it happens), and it's 1:51 AM here, so maybe I'll think of something better by morning!
Good Luck,
OmniUni