VB 5.0.4 Admincp messed up because of redirecting to odd url

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raunekk
    Member
    • Jul 2011
    • 37
    • 4.1.x

    VB 5.0.4 Admincp messed up because of redirecting to odd url

    I just installed VB 5.0.4

    After installation, when I try to enter admincp, it takes to the following URL:



    This screen is all messed up.

    Then, when I click on the Admincp, it gets back to normal.

    Can anyone help as to why I am being directed to the above mentioned URL?

    Thanks a lot in advance.
  • raunekk
    Member
    • Jul 2011
    • 37
    • 4.1.x

    #2
    Please find the screenshot of the messed up admincp. Thanks a lot in advance. Regards Raunek
    Attached Files

    Comment

    • raunekk
      Member
      • Jul 2011
      • 37
      • 4.1.x

      #3
      anyone???

      Comment

      • tonmo
        Senior Member
        • Dec 2004
        • 235
        • 5.0.X

        #4
        Wish I could tell you why this happens but I saw this before optimizing my server, in terms of MySql optimization, memory allocation, etc. Notice that in your left margin you have the Mobile style loading (the appearance of "Sections" is the clue). But what causes sites to load different styles in different frames is not something I understand. .htaccess issue?

        Comment


        • tonmo
          tonmo commented
          Editing a comment
          Yeah, I get the responsive design part, but not why his site is loading in iframes.

        • glennrocksvb
          glennrocksvb commented
          Editing a comment
          The admincp page contains framesets and the incorrect rewrite rules are causing the front-end site to load in each of the frames.

        • tonmo
          tonmo commented
          Editing a comment
          Thanks. And I guess because the iframe is small, the style automatically manifests in mobile form. makes sense!
      • raunekk
        Member
        • Jul 2011
        • 37
        • 4.1.x

        #5
        Thanks tonmo for the reply.. I am facing the same problem when I am trying to click the "login or signup" at the right top corner on the main frontend side. When I click the "signup" button, a small drop down window opens which seems to have the same problem. Please find the screen shot attached for the same. Tonmo, can you please tell me what did you do for optimizing your server?
        Attached Files

        Comment

        • scamtacular
          Senior Member
          • Mar 2012
          • 130
          • 5.0.X

          #6
          I thought it could be a .htaccess issue too, but wasn't certain

          Check the .htaccess at /forum/ has the path in it as /forum/ not as / maybe? Open it up, it's well commented, you'll see the line I'm talking about

          Comment

          • Zachery
            Former vBulletin Support
            • Jul 2002
            • 59097

            #7
            It sounds like you either don't have an htaccess file, in place, or another one conflicting with the vbulletin rules.

            Comment

            • raunekk
              Member
              • Jul 2011
              • 37
              • 4.1.x

              #8
              I just checked my host and the htaccess file is fine at its place in /forum/ and following are its contents:
              <IfModule mod_rewrite.c>
              RewriteEngine On

              #In some cases where you have other mod_rewrite rules, you may need to comment out the following line
              #and change it to match your folder name. This resets the other mod_rewrite rules for just this directory
              #If your site was www.example.com/forum, the setting would be /forum/
              #RewriteBase /

              # Send css calls directly to the correct file VBV-7807
              RewriteRule ^css.php$ core/css.php [NC,L]

              # Redirect old install path to core.
              RewriteRule ^install/ core/install/ [NC,L]

              # Main Redirect
              RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|css)$
              RewriteCond %{REQUEST_FILENAME} !-f
              RewriteCond %{REQUEST_FILENAME} !-d
              RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]

              # Because admincp is an actual directory.
              RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]

              </IfModule>

              <IfModule mod_deflate.c>
              AddOutputFilterByType DEFLATE application/atom+xml \
              text/javascript \
              application/javascript \
              application/json \
              application/rss+xml \
              application/vnd.ms-fontobject \
              application/x-font-ttf \
              application/xhtml+xml \
              application/xml \
              font/opentype \
              image/svg+xml \
              image/x-icon \
              text/css \
              text/html \
              text/plain \
              text/x-component \
              text/xml
              </IfModule>

              <IfModule mod_expires.c>
              ExpiresActive On
              ExpiresByType application/x-javascript A1209600
              ExpiresByType text/javascript A1209600
              ExpiresByType application/javascript A1209600
              ExpiresByType text/css A31536000
              ExpiresByType image/x-icon A2592000
              ExpiresByType image/icon A2592000
              ExpiresByType application/x-ico A2592000
              ExpiresByType application/ico A2592000
              ExpiresByType image/gif A2592000
              ExpiresByType image/jpeg A1209600
              ExpiresByType image/jpg A1209600
              ExpiresByType image/png A1209600
              ExpiresByType application/x-shockwave-flash A1209600
              ExpiresByType font/ttf A2592000
              ExpiresByType font/otf A2592000
              ExpiresByType font/x-woff A2592000
              ExpiresByType image/svg+xml A2592000
              ExpiresByType font/truetype A2592000
              ExpiresByType font/opentype A2592000
              ExpiresByType application/x-font-woff A2592000
              ExpiresByType application/vnd.ms-fontobject A2592000
              </IfModule>

              <IfModule mod_headers.c>
              Header set Connection keep-alive
              <filesmatch "\.(ico|flv|gif|swf|eot|woff|otf|ttf|svg)$">
              Header set Cache-Control "max-age=2592000, public"
              </filesmatch>
              <filesmatch "\.(jpg|jpeg|png)$">
              Header set Cache-Control "max-age=1209600, public"
              </filesmatch>
              <filesmatch "\.(eot|woff|otf|ttf|svg)$">
              Header set Cache-Control "max-age=2592000, public"
              </filesmatch>
              # css and js should use private for proxy caching https://developers.google.com/speed/...geProxyCaching
              <filesmatch "\.(css)$">
              Header set Cache-Control "max-age=31536000, private"
              </filesmatch>
              <filesmatch "\.(js)$">
              Header set Cache-Control "max-age=1209600, private"
              </filesmatch>
              </IfModule>
              IS it fine?????

              Comment

              • Hartmut
                Senior Member
                • Nov 2007
                • 2870
                • 4.2.x

                #9
                You could try adding
                PHP Code:
                RewriteBase /forum
                at the beginning of your .htaccess file where /forum/ is your folder where the forum is stored.
                No private support, only PM me when I ask for it. Support in the forums only.

                Comment

                • raunekk
                  Member
                  • Jul 2011
                  • 37
                  • 4.1.x

                  #10
                  I tried adding : RewriteBase /forum/ at the start, so that it would read something like this:

                  RewriteBase /forum/
                  <IfModule mod_rewrite.c>
                  RewriteEngine On

                  #In some cases where you have other mod_rewrite rules, you may need to comment out the following line
                  #and change it to match your folder name. This resets the other mod_rewrite rules for just this directory
                  #If your site was www.example.com/forum, the setting would be /forum/
                  #RewriteBase / ............


                  But no changes. It is still the same. I am being redirected to this link : http://www.marineinsight.com/forum/i...tring=admincp/ when I try to enter the admincp.

                  And its still all jumbled and messed up.

                  Kindly help.

                  Raunek k

                  Comment

                  • Hartmut
                    Senior Member
                    • Nov 2007
                    • 2870
                    • 4.2.x

                    #11
                    http://www.marineinsight.com/forum/admincp/ works fine, do you mean you get redirected after you logged in?
                    No private support, only PM me when I ask for it. Support in the forums only.

                    Comment

                    • raunekk
                      Member
                      • Jul 2011
                      • 37
                      • 4.1.x

                      #12
                      Yes, after login in, I get redirected to some url like this: http://www.marineinsight.com/forum/i...tring=admincp/ And the Admincp looks all messed up as the screenshot above. Also, the "login /join" opens a weird looking drop down window as the screenshot provided above.

                      Comment

                      • raunekk
                        Member
                        • Jul 2011
                        • 37
                        • 4.1.x

                        #13
                        Kindly help...!!!

                        Comment

                        • raunekk
                          Member
                          • Jul 2011
                          • 37
                          • 4.1.x

                          #14
                          can anyone please help?

                          Comment

                          • raunekk
                            Member
                            • Jul 2011
                            • 37
                            • 4.1.x

                            #15
                            This is quite urgent...can anyone please help???

                            Comment

                            Related Topics

                            Collapse

                            Working...