config.php help

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
crownpc
-


Joined: 15 Feb 2005
Posts: 9
Location: Cortland, NY

PostPosted: Wed Nov 08, 2006 8:39 pm    Post subject: config.php help Reply with quote

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 View user's profile Send private message Send e-mail Yahoo Messenger
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Wed Nov 08, 2006 8:45 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
crownpc
-


Joined: 15 Feb 2005
Posts: 9
Location: Cortland, NY

PostPosted: Wed Nov 08, 2006 8:48 pm    Post subject: follow up Reply with quote

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 View user's profile Send private message Send e-mail Yahoo Messenger
crownpc
-


Joined: 15 Feb 2005
Posts: 9
Location: Cortland, NY

PostPosted: Wed Nov 08, 2006 8:52 pm    Post subject: UnderGround Reply with quote

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 View user's profile Send private message Send e-mail Yahoo Messenger
crownpc
-


Joined: 15 Feb 2005
Posts: 9
Location: Cortland, NY

PostPosted: Wed Nov 08, 2006 9:16 pm    Post subject: Problem Solved Reply with quote

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 View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group