memcache system error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blackhorse
    Senior Member
    • Jul 2018
    • 298
    • 5.3.x

    memcache system error

    Hello,

    memcache is installed and enabled on my server, and i have uncomment the memcache configuration

    BUT, When i change

    $config['Cache']['class'][0] = 'vB_Cache_Db'; //regular cache

    To

    $config['Cache']['class'][0] = 'vB_Memcached'; //regular cache

    The site goes down and i get this message:

    A System Error has occured.
    The software is experiencing a systems error.
    You should attempt to repeat your last action. If this error occurs again, please contact the site administrator.


    Thanx
  • Blackhorse
    Senior Member
    • Jul 2018
    • 298
    • 5.3.x

    #2
    I get this pop up on the page immediately before the system error

    unexpected error: 'Call to protected vB_Memcached::__construct() from context 'vB_Cache''

    ===========

    Here is the error i get on debugging mode:

    Error :Call to protected vB_Memcached::__construct() from context 'vB_Cache' on line 230 in /home/xxxx/public_html/new/core/vb/cache.php
    Step 0: showErrorPage() called on line 289 in /home/xxxx/public_html/new/includes/vb5/applicationabstract.php
    Step 1: handleException() called
    Exception Call to protected vB_Memcached::__construct() from context 'vB_Cache' on line 230 in /home/xxxx/public_html/new/core/vb/cache.php
    Last edited by Blackhorse; Wed 23 Sep '20, 6:19am.

    Comment

    • Wayne Luke
      vBulletin Technical Support Lead
      • Aug 2000
      • 73981

      #3
      What version of PHP are you using?
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API

      Comment

      • Blackhorse
        Senior Member
        • Jul 2018
        • 298
        • 5.3.x

        #4
        I am using the latest version php 7.3

        Comment

        • Blackhorse
          Senior Member
          • Jul 2018
          • 298
          • 5.3.x

          #5
          Originally posted by Wayne Luke
          What version of PHP are you using?

          I am using the latest version php 7.3

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 73981

            #6
            Hmm.. This should work since the system is supposed to actually call the instance method not the construct method. Will have to get a developer to look at it.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • Kevin Sours
              Lead Developer
              • Apr 2008
              • 601
              • 5.5.x

              #7
              The cache class is vB_Cache_Memcached. The vB_Memcached class is an underlying class used to access the memcache API and isn't intended to be used directly.

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 73981

                #8
                I am sorry. I had the wrong class in the How To article. The article has been updated.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud demonstration site.
                vBulletin 5 API

                Comment

                • Blackhorse
                  Senior Member
                  • Jul 2018
                  • 298
                  • 5.3.x

                  #9
                  Great, It works perfect now

                  Thank you so much

                  Comment

                  Related Topics

                  Collapse

                  • Prisoncrue
                    Status Code: 500 Internal Server Error
                    by Prisoncrue
                    Fatal error: Uncaught Error: Call to a member function hasAdminPermission() on null in phar:///home/cyaconsu/public_html/estudio/core/vb/vb.phar/api/wrapper.php:258 Stack trace: #0 /home/cyaconsu/public_html/estudio/includes/api/interface/collapsed.php(105):...
                    Sat 13 Feb '21, 6:49am
                  • craigfer
                    Upgrading error from 5.5.3 to 5.5.5
                    by craigfer
                    I'm getting the following error when I "try" and upgrade to 5.5.5
                    Fatal error: Trait 'vB_Trait_NoSerialize' not found in /home/ly7menbt4u67/public_html/masterdataforum.com/core/includes/class_core.php...
                    Wed 27 Nov '19, 5:34am
                  • elindo
                    500 Error
                    by elindo
                    Today I went to the website and it got me to a 500 Error.

                    What could it be?

                    The one thing I did was changing my password on the Cpanel in which I have the VBulletin files....
                    Mon 5 Jun '17, 7:25am
                  • momos
                    wrapper.php error
                    by momos
                    Hi everyone,

                    I just did a clean new install for my VBulletin.
                    Unfortunately getting this error message:
                    Fatal error: Call to a member function hasAdminPermission() on null in...
                    Sun 29 Jan '17, 8:42pm
                  Working...