View Full Version : Why somtime the CMPS index.php can not show ?
Kengan
06-27-2004, 05:27 AM
I have just test with a new CMPS and it works fine for few weeks. and I found that sometime the index.php can not show up. and I need to re-install the CMPS again and configuration those template again. is there any idea to fix this problem ?
Thanks !
:confused:
Brian
06-27-2004, 06:18 PM
How exactly does it 'not show up'? Does it display an error, a white page, or what?
Jason McConnell
06-28-2004, 08:54 PM
I just had a similar problem, installation took all of 5 mins, got to the AdminCP and made my settings, then went to go load up the front page and got this:
Parse error: parse error, unexpected $end in .../vb/includes/functions_calendar.php on line 1558
I loaded the original functions_calendar.php up in my text editor, cut and paste the appropriate code back in from the install guide, and then still got that error. So I load the php file back up again, scroll down to line 1558 and there is no line 1558! LOL it ends at 1557 with ?>
I'm lost... if anyone's got any idea's I'd love to hear them :D
Brian
06-28-2004, 08:58 PM
Re-apply the changes to your functions_calendar.php using Notepad or another simple text editor. Do not use Dreamweaver or any similar programs as they have been known to cause problems in the past.
Jason McConnell
06-28-2004, 09:01 PM
Agreed, dreamweaver sucks. Giving it another go right now :D
Jason McConnell
06-28-2004, 09:10 PM
Just got the same thing again. There's got to be something I'm doing wrong, but I'm damned if I know what it is. Gonna go take a walk and then come back to this ;)
Jason McConnell
06-29-2004, 12:07 AM
OK, I had my walk, cleared my head... came back and went back though step by step. I kind of got hung up on the forum path on the index.php, and now the only error message I get is this:
Warning: chdir(): No such file or directory (errno 2) in ...\wwwroot\index.php on line 19
includes/config.php does not exist. Cannot continue.
Jason McConnell
06-29-2004, 05:19 PM
Just making sure I understand this...
Now open your cmps_index.php file in this folder and find:
chdir('./forum');
Replace this with the full path to your forum on your server.
should I make it like this:
chdir('http://www.website.com/forum');
or will this work:
chdir('localhost/forum');
The second one is what's worked with my vB install already, localhost is where I told it to find the database, as well as with vBadvanced during the install. I've replaced 'localhost' with home, the ip address, website url, almost everything I can think of, and so far nothing.
Any help would be most appreciated :)
Jason McConnell
06-29-2004, 05:28 PM
Just saw the info.php script in the faq, and I'm going to give that a shot ...crossing my fingers lol :)
Nope... that didn't work. :confused:
Jason McConnell
06-29-2004, 06:18 PM
w00t! i'm happy to report that it's working now :D My next biggest problem is getting all the images to show up in the forum. They show up on the front page just fine, but not in the forum. Off to go bang my head against the keyboard till that's worked out :rolleyes: :D
Got it all working right, this portal has definitely been a learning experience :D
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.