Announcement

Collapse
No announcement yet.

CMS in root directory in 4.1.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] CMS in root directory in 4.1.1

    Hello,

    Okay, im trying to install CMS in my root directory and something is missing. I would like to ask for your help to understand what im doing wrong here.

    So my forum is installed in:

    http://www.mysite.com/name/forum

    and i want to install the CMS in http://www.mysite.com/name

    I follow the instructions provided and heres what i do:

    I edited the vb_dir.php like this:

    Code:
    <?php
    
    //If you installed the cms directly as a subdirectory of 
    //vbulletin (www.example.com/cms) then you don't need to change this
    //file.  Otherwise comment out the first line, uncomment the second line,
    //and change the value to be the actual path to the vbulletin installation on
    //server.  
    
    //$vb_dir = realpath(dirname(__FILE__) . '/..');
    $vb_dir = "/home/www/mysite.gr/www/name/forum";
    ?>
    ...and uploaded it and the rest of the appropriate file from the CMS do not upload directory, to my /name directory.

    I have "Always use Forum URL as Base Path" set to yes and i have set my "CMS Component URL" option with am absolute URL: http://www.mysite.com/name.

    I set my cookies path to /name/forum/.

    I do see the CMS Front Page ok when i go to /name directory, i see the forums ok when i go to /name/forum directory, but i get an error when i try to edit an article, or navigate to a different section of CMS.

    I get this message in Safari:

    Too many redirects occurred trying to open “http://mysite.com/name/content.php/138-Ειδήσεις”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.
    or this message in Firefox:

    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    * This problem can sometimes be caused by disabling or refusing to accept
    cookies.
    What am i doing wrong??
    Last edited by Mihalis; Wed 26 Jan '11, 4:05am.

  • #2
    Name is not the root of your site it seems? The root of your site would be placing the files in the www directory itself if I am reading your settings right.

    Comment


    • #3
      Thank you for your answer.

      I shouldn't use 'root'. Referring to root i mean the "home" directory which is /name in this case. The directory stracture i describe is a test setup as my CMS home page will be in http://www.mysite.com finally and my forums in http://mysite.com/forum.

      Comment


      • #4
        I have a slash in my vb_dir path at the end. Maybe this is the issue?

        Mine is: $vb_dir = "/home/vg008web06/92/16/2911692/web/tdforum/";

        Comment


        • #5
          Thank you for trying to help baincolaw.

          Actually the solution was so simple and the answer was given by vBulletin support: in "CMS Component URL" i had http://mysite.com instead of http://www.mysite.com. That seemed to mess up everything!

          Comment

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