EC
01-13-2006, 01:09 AM
I'm helping a client that was told by his previous web designer that what I am trying to do can't be accomplished. I don't accept this because I've done just this very same exact thing many many times.
Basically in short, I have some software running in a system folder. I can run a separate domain with the same software by putting an index.php file as well as a path.php file in the "second domain" folder - where the path.php tells this directory where to go to get the good stuff (system folder).
What's really wierd is that if you go to the domain itself, it gave this error before I ever touched anything: "The system path does not appear to be set correctly. Please open your path.php file and correct the path."
And when you go to the folder, the other dude didn't have an index.php or a path.php file in there.
So that right there confuses me. I shouldn't be getting an error like this, but rather a 404 or something.
So I put the path.php and index.php file in there, change the settings accordingly, and I continue to get the same exact error.
Anyhoo. I've tried every combination possible and I can't get it to work.
So this is what's goin' down. The system folder and the folder controlling the second domain are in the same (root) directory.
I've tried this
$system_path = "/system/";
this
$system_path = "./system/";
this
$system_path = "../system/";
And even some other stuff that didn't work either.
I always have trouble wrapping my mind around server paths, but do you think this is some completely unrelated issue?
Basically in short, I have some software running in a system folder. I can run a separate domain with the same software by putting an index.php file as well as a path.php file in the "second domain" folder - where the path.php tells this directory where to go to get the good stuff (system folder).
What's really wierd is that if you go to the domain itself, it gave this error before I ever touched anything: "The system path does not appear to be set correctly. Please open your path.php file and correct the path."
And when you go to the folder, the other dude didn't have an index.php or a path.php file in there.
So that right there confuses me. I shouldn't be getting an error like this, but rather a 404 or something.
So I put the path.php and index.php file in there, change the settings accordingly, and I continue to get the same exact error.
Anyhoo. I've tried every combination possible and I can't get it to work.
So this is what's goin' down. The system folder and the folder controlling the second domain are in the same (root) directory.
I've tried this
$system_path = "/system/";
this
$system_path = "./system/";
this
$system_path = "../system/";
And even some other stuff that didn't work either.
I always have trouble wrapping my mind around server paths, but do you think this is some completely unrelated issue?