Problem when updating content.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xabo
    New Member
    • Mar 2010
    • 25

    [CMS] Problem when updating content.

    When im updating an already excisting news on my cms i get this error message;

    Fatal error: Call to a member function isExpired() on a non-object in /***/***/***/oddseksperten.no/vb/cache/db.php on line 210
    Any suggestions?
    Oddseksperten.no - For deg som spiller for å vinne!
    NetWorld.no - The world is yours!
  • xabo
    New Member
    • Mar 2010
    • 25

    #2
    I still get this message, even when trying to enter the site now!

    Fatal error: Call to a member function isExpired() on a non-object in /home/raverno/public_html/oddseksperten.no/vb/cache/db.php on line 210

    Any suggestions? www.oddseksperten.no is the site.
    Oddseksperten.no - For deg som spiller for å vinne!
    NetWorld.no - The world is yours!

    Comment

    • athlon64bit
      Senior Member
      • Oct 2006
      • 149
      • 4.0.0

      #3
      I got the same problem. I fixed it by clearing your CMS cache in adminCP.

      Comment

      • athlon64bit
        Senior Member
        • Oct 2006
        • 149
        • 4.0.0

        #4
        This problem returned for me. I cleared the cache to fix it. Unfortunately as I have to sleep and cannot keep refreshing the page every 15 minutes to see if forum has went down due to this error I have had to disable the CMS feature. Can someone explain what the problem is? Is it a bug? I did not have this issue on vb 4.0.3.

        Comment

        • Sfitzgerald
          Senior Member
          • Feb 2008
          • 125
          • 3.8.x

          #5
          i just had the issue one time after I upgraded and cleared my cms cache and it went away - Have not seen it again since the first time

          Comment

          • MichaelDeMille
            Member
            • Oct 2009
            • 45

            #6
            I'm having the same problem. I cleared my cache yesterday, which fixed the problem, but this morning there it was again.

            Comment

            • Astyanax
              Senior Member
              • Dec 2009
              • 423
              • 4.2.X

              #7
              I have the same problem.
              AMD Forum

              Comment

              • vikris
                Senior Member
                • Jan 2010
                • 113
                • 4.0.x

                #8
                True, I have this error also randomly when saving an article or editing. This is introduced in vb 4.0.4
                http://www.zazdravje.com.mk

                Comment

                • calvingarfield
                  Member
                  • May 2010
                  • 48
                  • 4.0.x

                  #9
                  clear cms cache

                  same error, gone after clearing cms cache.
                  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Visit India's technology discussion forum at TechCentral.in

                  Comment

                  • athlon64bit
                    Senior Member
                    • Oct 2006
                    • 149
                    • 4.0.0

                    #10
                    If it hasn't already this needs to be reported as a bug I think.

                    Comment

                    • vikris
                      Senior Member
                      • Jan 2010
                      • 113
                      • 4.0.x

                      #11
                      It's no use of clearing the cms cache. The error starts again after a while.
                      http://www.zazdravje.com.mk

                      Comment

                      • Michael König
                        Senior Member
                        • May 2001
                        • 461
                        • 3.6.x

                        #12
                        Please report it as a bug and provide a link to this thread as reference:

                        Comment

                        • MichaelDeMille
                          Member
                          • Oct 2009
                          • 45

                          #13
                          I just reported it.

                          Comment

                          • xabo
                            New Member
                            • Mar 2010
                            • 25

                            #14
                            Any ETA on when this issue can be fixed? Quite annoying that we need to "Clean CMS Cache" all the time
                            Oddseksperten.no - For deg som spiller for å vinne!
                            NetWorld.no - The world is yours!

                            Comment

                            • Michael König
                              Senior Member
                              • May 2001
                              • 461
                              • 3.6.x

                              #15
                              Edit the file /vb/cache/db.php and search for:
                              Code:
                              			else
                              			{
                              				if (!$obj->isExpired())
                              				{
                              					$found[$record['cacheid']] = $record['data'];
                              				}
                              			}
                              Replace it with:
                              Code:
                              			else
                              			{
                              				[B]$obj = new vB_CacheObject($record['cacheid'], $record['data'], $record['expires'], $record['locktime']);[/B]
                              				if (!$obj->isExpired())
                              				{
                              					$found[$record['cacheid']] = $record['data'];
                              				}
                              			}

                              Comment

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