View previous topic :: View next topic |
Author |
Message |
crownpc -
Joined: 15 Feb 2005 Posts: 9 Location: Cortland, NY
|
Posted: Wed Nov 08, 2006 8:39 pm Post subject: config.php help |
|
|
Okay, I feel like a real dummy here. I have a script that I want to run on my server. Unfortunately I keep getting errors that I believe are directly related to the config.php file path statements.
They are:
// Base path (e.g. '/home/username/public_html/')
$sm['path_base'] = '';
// Base URL (e.g. 'http://www.example.com')
$sm['url_base'] = '';
I have PHP5 running without a hitch, but haven't a clue as to what these path statements should contain. The site is supposed to be wrapped in frames, that are not showing. Instead, the index.php is only giving me the main page info, meaning that it cannot find the rest of the site. I have tried variables such as /wwwroot/htdocs/myspace/ etc. but just can't seem to be getting this right after way too many tries. Any help is greatly appreciated.
The site is at http://crownpc.no-ip.info/myspace/
Thanks Aprelium, this is my 2nd server from you folks, and much better than Xampp or Apache. _________________ Too darn smart to feel so darn stupid! |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Nov 08, 2006 8:45 pm Post subject: |
|
|
Well from what I can see it would be:
Code: | // Base path (e.g. '/home/username/public_html/')
$sm['path_base'] = "c:/program files/abyss web server/htdocs'';
// Base URL (e.g. 'http://www.example.com')
$sm['url_base'] = ''http://crownpc.no-ip.info"; |
So try that. Edit the base path if thats not where your htdocs is. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
crownpc -
Joined: 15 Feb 2005 Posts: 9 Location: Cortland, NY
|
Posted: Wed Nov 08, 2006 8:48 pm Post subject: follow up |
|
|
the actual site is in a folder called "myspace" located in the htdocs folder. Should that be part of the base as well? _________________ Too darn smart to feel so darn stupid! |
|
Back to top |
|
 |
crownpc -
Joined: 15 Feb 2005 Posts: 9 Location: Cortland, NY
|
Posted: Wed Nov 08, 2006 8:52 pm Post subject: UnderGround |
|
|
I changed the path statement as you suggested. With the change the site looks the same as without it. Would you be willing to look at the config.php and see if you can maybe spot errors on it for me? _________________ Too darn smart to feel so darn stupid! |
|
Back to top |
|
 |
crownpc -
Joined: 15 Feb 2005 Posts: 9 Location: Cortland, NY
|
Posted: Wed Nov 08, 2006 9:16 pm Post subject: Problem Solved |
|
|
I found an error in the call path for the other pages and images. Thanks for the great help all. _________________ Too darn smart to feel so darn stupid! |
|
Back to top |
|
 |
|