How to use root for CMS and ./forum/ for forums

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DAzz
    New Member
    • Apr 2004
    • 15
    • 3.0.1

    [Suite] How to use root for CMS and ./forum/ for forums

    I just did a fresh install and installed vB4 to the http://www.mysite.com/forum/ directory. We would like for the CMS to show when the user goes to http://www.mysite.com. I've searched and can't seen to find out how to do this. I know it has something to do with the cms folder that's located in the do-not-upload directory, but just not sure what.

    Any ideas how I'm supposed to accomplish this?

    Thanks in advance!

    Dazz
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74117

    #2
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • DAzz
      New Member
      • Apr 2004
      • 15
      • 3.0.1

      #3
      I was reading that, but it isn't that clear...

      Do I need to just upload the cms folder to mysite.com/cms? or just upload the contents of the stub cms folder to mysite.com/? I've tried it both ways and it didn't seem to work.

      Comment

      • Zachery
        Former vBulletin Support
        • Jul 2002
        • 59097

        #4
        You need to upload the files to the root folder, and edit the vbdir.php file and point it to the real path. You also need to set the cms component url.

        Comment

        • DAzz
          New Member
          • Apr 2004
          • 15
          • 3.0.1

          #5
          Ok, there's gotta be something I missed. I uploaded the contents of do_not_upload/cms to root. I edited vb_dir.php to include our path to vbulletin $vb_dir = "/home/hyperspi/forum"; and commented out the line above //$vb_dir = realpath(dirname(__FILE__) . '/..'); I also edited the CMS url via AdminCp under Site Name / URL / Contact Details to show http://www.sitename.com. Clicking the Home link on the navbar points to http://www.sitename.com/content.php

          Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/hyperspi/public_html/index.php on line 3

          Warning: require_once(/home/hyperspi/forum/content.php) [function.require-once]: failed to open stream: No such file or directory in /home/hyperspi/public_html/index.php on line 4

          Fatal error: require_once() [function.require]: Failed opening required '/home/hyperspi/forum/content.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hyperspi/public_html/index.php on line 4
          Last edited by DAzz; Wed 4 Apr '12, 12:44pm.

          Comment

          • DAzz
            New Member
            • Apr 2004
            • 15
            • 3.0.1

            #6
            Please ignore. I found my issue and the site now appears as it's loading from root.

            Thanks!

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...