Unknown location forum.php after upgrade to 4.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • S_E_A100
    New Member
    • Dec 2010
    • 5
    • 4.0.x

    #31
    I have forum only package. Forumrunner is enabled. I also had the same issue pre vb4.2 when Dartho's lightweight style was being used - http://www.vbulletin.org/forum/showthread.php?t=249277

    Comment

    • spencerp
      Senior Member
      • Jan 2010
      • 123
      • 4.1.x

      #32
      Originally posted by Skyrider
      I don't use forumrunner nor Tapatalk. It's all disabled.

      As for an example to the "Unknown Location" errors:





      And I'm not the only one getting them.

      I've been having those issues before the upgrade to 4.2.0 .. and also the Unknown Location for Forum.php today..

      fable 06:46 PM Unknown Location /forum.php


      hopeliltoes+ 06:48 PM Unknown Location /threads/images/styles/CinemaIce/style/footerLogo.gif



      also, I rather use INDEX.PHP instead of the forum.php...
      Last edited by spencerp; Mon 28 May '12, 10:49am.

      Comment

      • RanBar
        New Member
        • Nov 2008
        • 4

        #33
        Originally posted by Matthew Gordon
        Are people getting this using the forums-only package or the suite?
        I just started having this issue with the 4.2 upgrade. Forum pkg only.

        Click image for larger version

Name:	online.jpg
Views:	1
Size:	49.9 KB
ID:	3687403

        Also, why does vBulletin change defaults with upgrades? Very annoying. Leave our defaults alone and let us (Admins) opt in when we feel like it.

        Comment

        • Paul M
          Former Lead Developer
          vB.Com & vB.Org
          • Sep 2004
          • 9886

          #34
          Originally posted by RanBar
          Also, why does vBulletin change defaults with upgrades? Very annoying. Leave our defaults alone and let us (Admins) opt in when we feel like it.
          Apart from the fact we will change defaults as we see fit, what exactly has that to do with the screenshot
          Baby, I was born this way

          Comment

          • Sebastiano Vassellatti
            Former vBulletin QA
            • Aug 2008
            • 842
            • 5.5.x

            #35
            If the old index.php file (i.e. pre-4.2 file) was edited to point by default to forum.php, this Unknown Location issue would occur (VBIV-2146). With 4.2+ you're not supposed to edit this file to have index.php pointing by default to forum.php, you use the Navigation Manager and change the default to do that. Editing index.php to point to forum.php in the old way will cause this issue again. Make sure you're using the default, 4.2 version of the index.php file.

            Comment

            • RanBar
              New Member
              • Nov 2008
              • 4

              #36
              Originally posted by Paul M
              Apart from the fact we will change defaults as we see fit, what exactly has that to do with the screenshot
              Nothing Paul, just voicing my frustration as I see fit. 4.2 defaults to 'What's New' instead of 'Forum'.

              Comment

              • jimnyc
                Senior Member
                • Aug 2003
                • 191
                • 2.3.0

                #37
                Does anyone know if there has been a fix, or workaround for this? Or do we need to wait for the next release? Thanks!
                .

                Comment

                • Mark.B
                  vBulletin Support
                  • Feb 2004
                  • 24288
                  • 6.0.X

                  #38
                  Well this isn't a "fix" since there isn't actually a problem to start with in the default product, but you can make the issue go away with two plugins:

                  AdminCP > Plugins & Products > Add New Plugin

                  Product: vBulletin
                  Hook Location: online_location_process
                  Title: WOL forum.php fix
                  Execution order: 5
                  Code:
                  Code:
                  switch ($filename)
                  {
                      case 'forum.php':
                      $userinfo['activity'] = 'forum';
                      break;
                  }
                  Plugin is active: yes

                  Then add this one:

                  AdminCP > Plugins & Products > Add New Plugin

                  Product: vBulletin
                  Hook Location: online_location_unknown
                  Title: WOL forum.php fix
                  Execution order: 5
                  Code:
                  Code:
                  switch ($userinfo['activity'])
                  {
                          case 'forum':
                          $userinfo['where'] = '<a href="index.php?'.$vbulletin->session->vars[sessionurl].'">'.$vbulletin->options[bbtitle].'</a>';
                          $userinfo['action'] = "$vbphrase[viewing_index]";
                          $handled = true;
                          break;
                  }
                  Plugin is active: yes
                  MARK.B
                  vBulletin Support
                  ------------
                  My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                  My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                  Comment

                  • jimnyc
                    Senior Member
                    • Aug 2003
                    • 191
                    • 2.3.0

                    #39
                    Originally posted by Mark.B
                    Well this isn't a "fix" since there isn't actually a problem to start with in the default product,
                    Thanks!

                    And for what its worth, it DOES exist in a default install, as I stated earlier, I found the same issue on a test install that is 100% default. If so many people are reporting the same issue, it's a problem.
                    .

                    Comment

                    • Mark.B
                      vBulletin Support
                      • Feb 2004
                      • 24288
                      • 6.0.X

                      #40
                      Originally posted by jimnyc
                      Thanks!

                      And for what its worth, it DOES exist in a default install, as I stated earlier, I found the same issue on a test install that is 100% default. If so many people are reporting the same issue, it's a problem.
                      Fair enough, I've not been able to replicate it myself though, not on a default install. I *have* got it on my site, but that's because I have messed about with index.php in the "old" way, as DarkShenron mentioned earlier in the thread.

                      If people really can replicate this on totally default installs, it'd be worth raising a tracker incident (if it hasn't already been done) so the devs can investigate.
                      Last edited by Mark.B; Wed 30 May '12, 2:29pm.
                      MARK.B
                      vBulletin Support
                      ------------
                      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                      Comment

                      • Paul M
                        Former Lead Developer
                        vB.Com & vB.Org
                        • Sep 2004
                        • 9886

                        #41
                        Originally posted by jimnyc
                        And for what its worth, it DOES exist in a default install, as I stated earlier, I found the same issue on a test install that is 100% default. If so many people are reporting the same issue, it's a problem.
                        It doesnt exist on any default install we have (and thats quite a lot).
                        Baby, I was born this way

                        Comment

                        • jimnyc
                          Senior Member
                          • Aug 2003
                          • 191
                          • 2.3.0

                          #42
                          Originally posted by Paul M
                          It doesnt exist on any default install we have (and thats quite a lot).
                          I originally made a ****ty reply. It's just frustrating to have errors, that other vB users have to, and not be able to figure out what is causing it.
                          Last edited by jimnyc; Wed 30 May '12, 3:13pm.
                          .

                          Comment

                          • spencerp
                            Senior Member
                            • Jan 2010
                            • 123
                            • 4.1.x

                            #43
                            before, without editing any software files (index.php) .. i was still getting that unknown location errors in "who's online" page... it also was giving that for my style's images and etc... not sure if doing that "plugin" will help it though, anyone know the legitimate fix?

                            Comment

                            • Reverend
                              Senior Member
                              • Jul 2002
                              • 588
                              • 4.2.x

                              #44
                              I am also getting the 'unknown location' for forums.php as well as for links that don't even exist. https://www.vbulletin.com/forum/show...known-Location
                              Techzonez - Tech News
                              Techzonez Forums - Tech Community

                              Comment

                              • Matthew Gordon
                                Senior Member
                                • May 2002
                                • 3243
                                • 1.1.x

                                #45
                                For those getting the unknown location for forum.php, what is your Script Name for Forum Home Page setting set to? (Admin CP -> Settings -> Options -> Forum Home: Options). It should likely be set to forum.

                                Comment

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