The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Moving CMS up to parent/root?
Hi folks, I posted a question in programming, but this may be more appropriate here:
In version 4.1.5, there are instructions in the index.php file for changing the location of the CMS page, and I've followed them as best I can. I placed the index.php at the root, one level up from my forums. I uncommented the line in the index file to read: Code:
define('VB_RELATIVE_PATH', 'vBforum'); Cookies are set to / In the URL settings in Admin I set it to our root: http://www.igotaevo.com As far as I can tell, there is no need to do rewrites for urls in the latest version or to upload the vb_dir.php file as in the past.... it doesn't say to to that in the index instructions.... Anyone have a current tutorial or idea on what might be going wrong? the error I'm getting is: Code:
Parse error: syntax error, unexpected T_STRING in /home/igotaevo/public_html/index.php on line 1 |
#2
|
||||
|
||||
Upload what's in the .zip file i.e.
do_not_upload/cms/ Upload all of those files into your root and yes, modify vb_dir.php and upload it as well. When modifying vb_dir.php you want your path i.e. PHP Code:
|
#3
|
|||
|
|||
Hi, thanks for the input. I see a conflict though in the CMS do not upload files. There is an index file inside that CMS directory that is different from the index.php file in the forums directory. The instructions say to move the index.php file inside the forums folder up to the parent folder. Are these files inside the CMS directory to be loaded up into their own directory as root/CMS/files
or to be removed from the directory to root/files? IOW, the index inside CMS folder is not a complete index page... Jeff --------------- Added [DATE]1315600668[/DATE] at [TIME]1315600668[/TIME] --------------- BTW, if I move the entire CMS directory to root, the CMS home pages shows properly at the http://www.igotaevo.com/cms url, but the index.php at the root level still produces that php parse syntax error. It seems there are conflicting instructions in the index.php page which state Quote:
--------------- Added [DATE]1315623220[/DATE] at [TIME]1315623220[/TIME] --------------- I removed the index.php from the root folder, deleted the CMS folder at root and reset locations in Admin >Settings>Url back to original settings and now we cannot stay logged in if we leave the forums. We're getting this error: Invalid Redirect URL (http://www.igotaevo.com/vBforum/forum.php) But that IS the URL of our forum page... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|