Announcement

Collapse
No announcement yet.

I have 2 installations on 1 domain and my /forum/ directory redirects to /forum/forum/

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

  • [Forum] I have 2 installations on 1 domain and my /forum/ directory redirects to /forum/forum/

    No problems with my main vB5 installation /forums/. But I have a vB4 installation on the same domain and if I try to access it via typing the URL or via a browser feature like History, I get taken to a directory loop. I can access it just fine via some hyperlinks (and not others). I am however able to access the admin CP by typing the URL and then click the forum home in there to access the frontend forum.

    I've tried with the .htaccess file removed and also tried changing my cookie path from /forum/ to / but that changes nothing.

    How do I fix this?

    Live demo: https://mvhaven.com/forum/
    Last edited by Zelda-King; Thu 21 Sep '17, 10:11pm.

  • #2
    The forum issue I got to work by installing the do_not_upload /forum/ folder inside the /forum/ folder. Getting the links to work for blog & cms is problematic however I set the site name / URL and the blog/cms options.

    Comment


    • #3
      In theory there shouldn't be any conflict here if vB5 is in /forums/ and vB4 is in /forum/

      All you have to watch is that vB5 uses /forum/ in its URLs, but in this case that should be /forums/forum/ so shouldn't cause any issues.
      MARK.B | vBULLETIN SUPPORT

      TalkNewsUK - My vBulletin 5.6.4 Demo
      AdminAmmo - My Cloud Demo

      Comment


      • #4
        Actually I have vB5 in / and vB4 in /forum/ because if I try to put vB5 in /forums/ it stops me being able to login to the admin cp.

        Comment


        • #5
          Originally posted by Zelda-King View Post
          Actually I have vB5 in / and vB4 in /forum/ because if I try to put vB5 in /forums/ it stops me being able to login to the admin cp.
          That may cause issues because vB5 needs to use /forum. Though you can actually change this by editing the path for the forum channel in vB5's site builder.
          MARK.B | vBULLETIN SUPPORT

          TalkNewsUK - My vBulletin 5.6.4 Demo
          AdminAmmo - My Cloud Demo

          Comment


          • #6
            Interesting. Not sure what cookie setting would be better on vB5 though as it only suggests "/" and the instructions tell me to have "/" at the end. The forum cookies for both are working ok for me with these settings. But I'm trying to bypass cookie issues for the blog/cms by having them inside vB4's forum directory but editing the blog/component URLs have no affect, neither do the hover state navbar tabs links change. At this point I just need the navbar tabs to actually link to https://mvhaven.com/forum/cms/content.php and https://mvhaven.com/forum/blog/blog.php instead of https://mvhaven.com/cms/content.php and https://mvhaven.com/blog/blog.php then I should be good to go.

            And it's vB4 I'm having the issue on. vB5 has no problems here.

            I was originally trying without adding the /cms/ and /blog/ directories but even trying to use the in-forum files, those links would always redirect that way.

            Oh and if I do put /cms/ and /blog/ in root, they're just white pages anyway for some reason.

            Comment


            • #7
              This isn't really a supported configuration to be honest. The two installations really need their own separate directories. Effectively you're trying to run one inside the other and it simply isn't going to work properly.

              You do need separate cookie prefixes on both installations, remember on vB5 they are also set in two places (both config files).
              MARK.B | vBULLETIN SUPPORT

              TalkNewsUK - My vBulletin 5.6.4 Demo
              AdminAmmo - My Cloud Demo

              Comment


              • #8
                They are. I have vB5 on mvhaven.com/forums and vB4 on mvhaven/forum. vB5 cookies are bb and vB4 cookies are vb.
                Last edited by Zelda-King; Fri 22 Sep '17, 2:52pm.

                Comment


                • #9
                  Originally posted by Zelda-King View Post
                  They are. I have vB5 on mvhaven.com/forums and vB4 on mvhaven/forum. vB5 cookies are bb and vB4 cookies are vb.
                  I'm confused....earlier you said:
                  "I have vB5 in / and vB4 in /forum"

                  I'm talking about the physical locations here.

                  If you have vB5 in the root then having vB4 in /forum/ is going to cause issues.
                  If you have vB5 in /forums/ and vB4 in /forum/ then everything should be ok.

                  Again I'm talking physical folders on the server here, not redirects and other trickery.
                  MARK.B | vBULLETIN SUPPORT

                  TalkNewsUK - My vBulletin 5.6.4 Demo
                  AdminAmmo - My Cloud Demo

                  Comment


                  • #10
                    There is no forum installed at mvhaven.com root. I have vB5 in mvhaven.com/forums and vB4 at mvhaven.com/forum. vB4 is where I'm having the issue getting blogs and cms correctly linked in the nav tabs. No issue with vB5 except what I said about the cookie path being set to "/" because it didn't suggest /forums/ and if I set /forums/ as a custom I can no longer access the admin cp. But I didn't say my forums were actually installed in root.

                    As it is I'm able to log in and out correctly on both forums. I just need my vB4 cms/blog tabs to point correctly.

                    Comment


                    • #11
                      So what are the actual cms and blog URLs?
                      MARK.B | vBULLETIN SUPPORT

                      TalkNewsUK - My vBulletin 5.6.4 Demo
                      AdminAmmo - My Cloud Demo

                      Comment


                      • #12
                        https://mvhaven.com/forum/cms/content.php
                        https://mvhaven.com/forum/blog/blog.php

                        Comment


                        • #13
                          Those URLs aren't right.

                          Should be:

                          https://mvhaven.com/forum/content.php
                          https://mvhaven.com/forum/blog.php

                          I'm going to take a look using the credentials in your ticket.
                          MARK.B | vBULLETIN SUPPORT

                          TalkNewsUK - My vBulletin 5.6.4 Demo
                          AdminAmmo - My Cloud Demo

                          Comment


                          • #14
                            Yeah, those URLs are what I tried first. I resorted to these after those didn't work for some reason and insisted on defaulting to /cms/ and /blog/ directories. But thanks for verifying, I'll remove those folders.

                            You'll see if you click on those in your post that's the resulting behaviour.
                            Last edited by Zelda-King; Fri 22 Sep '17, 3:19pm.

                            Comment


                            • #15
                              Ok that should be fixed now.

                              Clear your browser cache and reload the page.
                              MARK.B | vBULLETIN SUPPORT

                              TalkNewsUK - My vBulletin 5.6.4 Demo
                              AdminAmmo - My Cloud Demo

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X