Announcement

Collapse
No announcement yet.

Quick fix for the reset-password page being inaccessible to logged out users in a private forum

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by Felix2 View Post
    Why this is not working for Gimsy I also do not know.
    Perhaps Gimsy can post a copy of his route.php file, or just the line, for review and comparison. May just be a typo.


    Code:
    /**
     * vB_Api_Route
     *
     * @package vBApi
     * @access public
     */
    class vB_Api_Route extends vB_Api
    {
        protected $whitelistPrefix = array('help', 'contact-us', 'lostpw', 'register', 'activateuser', 'activateemail', 'admincp', 'reset-password');
        protected $whitelistRoute = array('admincp', 'auth/login');
    
        protected $disableWhiteList = array('getRoute', 'getUrls', 'preloadRoutes');
    
        protected function __construct()
        {
            parent::__construct();
        }

    Comment


      #17
      Looks correct to me. You said the password reset page displays a blank page? Try enabling debug mode to see if any PHP errors appear. See instructions from the link below.

      Debug mode is useful for debugging/development purposes. A vBulletin support staff has a blog (http://www.vbulletin.com/forum/blogs/how-to-enable-or-disable-debug-mode-in-vbulletin-5-x-vb5-debug-mode/4013846-how-to-enable-or-disable-debug-mode-in-vbulletin-5-x-vb5-debug-mode) about it. You can follow his instructions but if you
      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #18

        Unfortunately I tried and tried, but I do not understand why not print the Debug !!
        // add IPs here (include the quotes and separate with comma)
        $ips = array('79.36.20.238', '79.36.20.238');
        if (in_array($_SERVER['REMOTE_ADDR'], $ips) === TRUE)
        {
        $config['Misc']['debug'] = true;
        }

        define("DISABLE_HOOKS", true);

        $config['no_template_notices'] = false;

        Comment


          #19
          Did you also edit the presentation config file? There are 2 config files to edit.
          Helpful? Donate. Thanks!
          Buy me a coffeePayPal QR Code
          Fast VPS Host for vBulletin:
          A2 Hosting & IONOS

          Comment


            #20
            Debug Information

            • Page ID: 1
            • Parent ID: 0
            • Page Template ID: 1
            • Route ID: 4
            • Page Type: default
            • Screen Layout ID: 2
            • Screen Layout Template: screenlayout_display_wide_narrow
            • Channel ID: 1
            • Node ID: 1
            • Database Asserts: 0 (?)
            • AJAX Requests: 0
            • Facebook Active: No (Not enabled or no appid & secret set)
            • Style ID: 92
            • Templates/Renders: 34/103
            • CSS Templates: 13
            • JS Files: 5
            • Included Files: 157
            • Autoloaded Classes: 151
            • Current Time: Tue, 01 Nov 2016 22:37:20 -0700
            • Page Time: 1.7619




            Comment


              #21
              That's at the bottom of the page below the footer. Is there anything in the main content below the header?
              Helpful? Donate. Thanks!
              Buy me a coffeePayPal QR Code
              Fast VPS Host for vBulletin:
              A2 Hosting & IONOS

              Comment


                #22
                was the google analytics code ... Now I deleted it .. what can I do now?

                Comment


                  #23
                  unfortunately also changing the server and updating the php to version 7, with vbulletin 5.2.5 the problem has not been resolved! the passwor reset refers to an empty page.
                  I made debugging and it's all ok!
                  amazing all this!
                  you have an idea?

                  Comment


                    #24
                    No error appears on the password reset page when you enable debug mode?

                    Check error logs on your server.
                    Helpful? Donate. Thanks!
                    Buy me a coffeePayPal QR Code
                    Fast VPS Host for vBulletin:
                    A2 Hosting & IONOS

                    Comment


                      #25
                      php error will place the attachment
                      Code:
                      http://www.mediafire.com/file/r7ufng5xsyvp7cg/error_log.zip

                      Comment


                        #26
                        Are these related to your issue?


                        Hello to all I have a big problem I can not solve! I have a forum on vb 5.2.5 platform and does not work to reset user passwords! the user requests the lost password / change password and provides a link that,
                        Helpful? Donate. Thanks!
                        Buy me a coffeePayPal QR Code
                        Fast VPS Host for vBulletin:
                        A2 Hosting & IONOS

                        Comment


                          #27
                          yes this my problem

                          Comment


                            #28
                            Did you follow their suggestions?

                            This issue is actually not related to the mod in this thread. This mod, which I created at the time of vB 5.2.3, is not needed anymore as the issue this mod was trying to fix had been officially fixed in vB 5.2.4.
                            Helpful? Donate. Thanks!
                            Buy me a coffeePayPal QR Code
                            Fast VPS Host for vBulletin:
                            A2 Hosting & IONOS

                            Comment


                              #29
                              Originally posted by glennrocksvb View Post
                              Did you follow their suggestions?

                              This issue is actually not related to the mod in this thread. This mod, which I created at the time of vB 5.2.3, is not needed anymore as the issue this mod was trying to fix had been officially fixed in vB 5.2.4.






                              I have followed all of the suggestions, but I did not understand that files should I add? comes to a missing file


                              Comment


                                #30
                                It's better to follow up on those official threads rather than posting in this unrelated thread.
                                Helpful? Donate. Thanks!
                                Buy me a coffeePayPal QR Code
                                Fast VPS Host for vBulletin:
                                A2 Hosting & IONOS

                                Comment

                                Users Viewing This Page

                                Collapse

                                There is 1 user viewing this forum topic.

                                • Guest Guest

                                Latest Posts

                                Collapse

                                Working...
                                X
                                Searching...Please wait.
                                An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                                Please push the back button and reload the previous window.'
                                An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                                Please push the back button and reload the previous window.'
                                An internal error has occurred and the module cannot be displayed.
                                There are no results that meet this criteria.
                                Search Result for "|||"