View Full Version : Not There
hitokiri battou
04-19-2005, 04:58 PM
I have installed Vbulletin over a month ago and have now decided to install CMPS. I have installed it just like the instructiosn told me to and have not recieved any errors. My problem is when you go to my site the homepage is still the forums, cmps is non-existant except for in the admin CP where I can modify its options. Anybody have an idea of what i did wrong or what I should change?
KW802
04-19-2005, 05:00 PM
Hitokiri Battou, that's because a default installation leaves the index file named "cmps_index.php" so you'd access by going to http://{yoursite}/cmps_index.php :)
ConqSoft
04-19-2005, 05:02 PM
Looks like there's an error in your file:
http://www.crimsonsuns.com/cmps_index.php
Once you get it working, you'll have to either rename your forums index.php to something like forums.php (and make the change in AdminCP to tell it its new name), or add index_cmps.php to you default documents list, above index.php.
hitokiri battou
04-19-2005, 05:16 PM
Hmmm yes now my problem is to get that file to correctly work. I have not modified anything other than where it asked me to input the path to my forum. I even re-uploaded the unchanged cmps_index.php and tried again and recieved the same error.
Zachery
04-19-2005, 05:19 PM
post what is on line 21
hitokiri battou
04-19-2005, 05:21 PM
I have tried many different things on line 21 to see if I could get it to work. What im currently using is "http://crimsonsuns.com/index.php?" . BTW thanks for everybodies help!
EDIT:
Once you get it working, you'll have to either rename your forums index.php to something like forums.php (and make the change in AdminCP to tell it its new name), or add index_cmps.php to you default documents list, above index.php.
Ive tried what you said and my site went blank. :(
Brian
04-19-2005, 07:28 PM
What you posted is a URL, not a path. If you are not sure what the path to your forums directory is please see this post:
http://www.vbadvanced.com/forum/showthread.php?t=1343
hitokiri battou
04-19-2005, 08:15 PM
What you posted is a URL, not a path. If you are not sure what the path to your forums directory is please see this post:
http://www.vbadvanced.com/forum/showthread.php?t=1343
Ok I uploaded that file and I can see all my PHP info. Now my problem is I cannot find _SERVER["PATH_TRANSLATED"] anywhere in the page, i even used "ctrl F" and i still could not find it. :confused: The closest thing to it I saw was _SERVER["PATH"] and I input that in cmps_index.php and I still do not have CMPS as a homepage. I apologize for I am very new to this sort of thing.
Brian
04-19-2005, 08:25 PM
It looks like you may have altered the code incorrectly... Since you have the CMPS in the same directory as your forums though, you can just remove or comment out that line by adding // in front of it.
zenithrs@bigpon
04-19-2005, 08:31 PM
You have your forum installed in your document root, so path to your forum is
/home/crimson/public_html
But, you're installing vbadvanced cmps to the same directory as your forums and you therefore, in accordance with the installation instructions...
Note: If you are installing this script in the same directory as your forums then you may simply comment out this line.
To comment out the line simply put two consecutive forward slashes at the beginning of the line, that is //
At the moment you have a parse error on line 21 of your cmps_index.php file. This may not matter once you comment out the line, but you should correct it anyway. Be absolutely certain not to alter or add any quotes etc.
Now if you want your cmps_index.php to be the actual index.php file, rename the existing index.php file to forum.php, then rename cmps_index.php to index.php, then in your forum admincp -> vbulletin options -> Forums Home Page Options -> Script Name for Forum Home Page, set it to forum.
Oh, Brian's already posted, I gotta type faster :)
hitokiri battou
04-21-2005, 04:41 PM
Hmmmm well ive tried everything you guys had said. I have even moved all my files to a forums file in the root area and tried again, it still doesnt work. So im going to try to install it from the beggining again and see what happens. A few months ago one of my admin tried this for my site under my name here and he was able to get it up as the homepage but he could not get a link to the forums to work.
KW802
04-21-2005, 04:50 PM
Hitokiri,
Before you wipe it out... if you want one of us to take a look at it you can submit a Support Ticket. :)
hitokiri battou
04-21-2005, 07:27 PM
Hitokiri,
Before you wipe it out... if you want one of us to take a look at it you can submit a Support Ticket. :)
Whats a support ticket? You have to forgive me for I am still very new with all of this.
glaucon
04-21-2005, 07:39 PM
http://www.vbadvanced.com/ticket.php
go there :)
hitokiri battou
04-21-2005, 07:59 PM
WOW, this is absolutely great. I wish more sites had these kind of things. Thanks alot for showing me this. :D :D
KW802
04-21-2005, 09:10 PM
WOW, this is absolutely great. I wish more sites had these kind of things. Thanks alot for showing me this. :D :DOK, you're all set. :)
hitokiri battou
04-21-2005, 09:11 PM
OK, you're all set. :)
I honestly cant thank you guys enough for this. I was almost at the point of pulling all my hair out before you did this for me. THANKS ALOT! :D :D
KW802
04-21-2005, 10:38 PM
No problem. Besides, you did 99% of the work! :p
I think that part that was tripping you up was that you have your vBulletin installed in the root directory instead the usual sub-folder. Most of the instructions assume that people have vB in a sub-folder so the instructions on how to do something in a sub-folder versus the root are slightly different.
If anything else comes up just let us know.
hitokiri battou
04-23-2005, 03:50 PM
No problem. Besides, you did 99% of the work! :p
I think that part that was tripping you up was that you have your vBulletin installed in the root directory instead the usual sub-folder. Most of the instructions assume that people have vB in a sub-folder so the instructions on how to do something in a sub-folder versus the root are slightly different.
If anything else comes up just let us know.
Ya you're probably right. I have a question though, dont worry its not a bug. :p I wanted to install a different hack earlier and it told me I needed to modify some lines in index.php in my root folder and now its different. Is there somewhere else I have to go now to edit those lines?
Brian
04-24-2005, 12:23 PM
If your forum index.php file was renamed then you will need to hack that file instead. If Kevin made the changes for you and you're not sure what he changed it to, go to your Admin CP => vBulletin Options => Forums Home Page Options => Script Name for Forum Home Page. That option should tell you the name of your forum index.
hitokiri battou
04-24-2005, 10:09 PM
If your forum index.php file was renamed then you will need to hack that file instead. If Kevin made the changes for you and you're not sure what he changed it to, go to your Admin CP => vBulletin Options => Forums Home Page Options => Script Name for Forum Home Page. That option should tell you the name of your forum index.
O ok that helped, thanks.
KW802
04-24-2005, 10:23 PM
Hitokiri, it should be "forums.php" for you. :)
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.