PDA

View Full Version : Installing at localhost


Mattius
09-24-2004, 05:44 AM
This is damn annoying cause ive installed this package successfully before but now ive done a new install, it has to stuff up doesnt it GRRRR :)

I have my forums index page, renamed to "forum.php" at the root of my site
so http://localhost

My cmps_index.php, renamed to "index.php" is also at the root of my site.
http://localhost

Now i want the portal to appear as the main page, and later ill add a link to the forums index on the navbar.

So what do i have to change my:

Forum Home Page Options
1) Script Name for Forum Home Page in admincp (atm its "forum")

Site Name/Url/Contact Details
1) Forum URL (atm its "http://localhost" exactly like that no trailing slash)
2) Homepage URL (atm its http://localhost" also)

Now i think the main problem is my chdir setting in the "index.php" what should i set that too, or should i just delete it. or should i have

chdir('./');
chdir('');
chdir('C:\sokkit\site');
chdir('http://localhost');

Surely there must be a lot of people testing locally on their pc that can point out the correct paths for me :)

Any help is appreciated.

Mattius
09-24-2004, 06:08 AM
btw the its just a blank page that is showing atm...no errors, and yes all the templates are correct. The problem only occured when i changed the original index.php to another name and all hell broke loose

Our Sponsors
 

Mattius
09-24-2004, 07:14 AM
tryed reinstalling the templates...no help

Mattius
09-24-2004, 07:52 AM
and now it decides to freaking work. blah i hate computers

Our Sponsors
 

Brian
09-24-2004, 11:06 AM
Just for future reference, if it's in the same directory as your forums then you can just comment out the chdir line. Not sure if that was your problem or not, but glad you got it figured out. :)

Mattius
09-24-2004, 05:49 PM
nup the problem was my install doesnt like custom modules, and i think those that utilize files in particular...i made a another thread about that though.