DragonByte Tech Proudly Hosted By
Dedicated Servers from HiVelocity Hosting

User Tag List

View Issue Info: vBCredits II & xCache

Category:
Bug
Status:
Fixed
Priority:
N/A
Product Version:
Enter the product version you are running in the following format: x.y.x
Example: 1.1.0
2.0.0
Forum Version:
Enter the forum version you are running.
4.1.2
Browser:
Enter the browser(s) and version(s) you encounter this issue on.
Google Chrome 10, FireFox 4, and Internet Explorer 9
Default Skin?
Does this issue happen on the default skin?
Yes
Attachments
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Depressed
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • Page 1 of 3 123 LastLast
    Results 1 to 10 of 21
    1. #1
      Junior Member Munkii's Avatar
      Gil
      178
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is Badonkadonk.
       
      I am:
      ----
       
      Join Date
      Apr 2010
      Posts
      20
      Rep Power
      0

      Default vBCredits II & xCache

      This isn't a very easy "bug" to explain, but I'll try my best.

      I have the Lite versions of both vB Optimise and vBCredits II, and they run fine for the most part. The only problem I've encountered is after a period of time the credits on my forum disappear. I don't believe it's a conflict with any other mod because they show up perfectly fine for hours at a time, then disappear and eventually come back later on. I've figured out that when they do disappear, if I "Flush Cache" for vB Optimise they come back as if they were never gone.

      I'm not talking about missing credits, or not getting what I earned, etc, but the actual display of credits is what's disappearing randomly. Also, when they aren't visible, under "Multiple Currency Information" in the AdminCP they also disappear. I only have 1 currency, which is the default currency from upgrading from the old vB3 mod. Just so I can add as much detail as possible, the transaction page at credits.php also doesn't display correctly, transactions are blank and it doesn't display any credits there either.

      I customized 2 template edits to use custom hooks and templates to display credits in a custom dropdown, but I'm pretty sure it still had the problem before that, and it's still an issue since the other pages also mess up.

      Postbit example with points gone:
      before.jpg

      Postbit example after Flushing Cache:
      after.jpg

      If it matters, I'm using xCache.

      Blame it on the girls.. or blame it on the boys~?

    2. #2
      Development Team Darkwaltz4's Avatar
      Trophies
      Gil
      6,672
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is settling in with a new baby!
       
      I am:
      Tired
       
      Join Date
      Jun 2010
      Age
      25
      Posts
      1,882
      Rep Power
      10

      Default

      This sounds like the start of a long and fun debugging time, especially since @Deceptor isn't around to help with vboptimize.

      Does this affect other addons, especially ones that use template hooks? Can you give a screenshot of the multiple currency integration page and credits.php transaction pages during the bug? Almost sounds like a datastore issue at that point, but can't imagine how it would have blanks vs flat out crashing, and those two don't have anything to do with template hooks.


    3. #3
      Junior Member Munkii's Avatar
      Gil
      178
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is Badonkadonk.
       
      I am:
      ----
       
      Join Date
      Apr 2010
      Posts
      20
      Rep Power
      0

      Default

      Quote Originally Posted by Darkwaltz4 View Post
      This sounds like the start of a long and fun debugging time, especially since @Deceptor isn't around to help with vboptimize.

      Does this affect other addons, especially ones that use template hooks? Can you give a screenshot of the multiple currency integration page and credits.php transaction pages during the bug? Almost sounds like a datastore issue at that point, but can't imagine how it would have blanks vs flat out crashing, and those two don't have anything to do with template hooks.
      As I was typing a reply saying that I'd get them as soon as it happened again.. It started acting up again. This time I also noticed an error on the credits.php page.

      Warning: Invalid argument supplied for foreach() in [path]/credits.php on line 188
      And I made a mistake earlier, the currency shows in the Multiple Currency Integration page, but when I click Events, and also when I click Activity Amounts Configuration & Automatic Template Edits.. They redirect to the "Create New Currency" form..

      Screenshot of dropdown before and after flush:
      before-2.png after-2.jpg

      Screenshot of credits.php page before and after flush:
      before-3.jpg

      after-3.jpg


      Screenshot of Multiple Currency Integration:
      before-4.jpg

      After flushing the cache, everything on the AdminCP side returns to normal.


      Edit: And no, it only effects this modification.

      Blame it on the girls.. or blame it on the boys~?

    4. #4
      Development Team Darkwaltz4's Avatar
      Trophies
      Gil
      6,672
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is settling in with a new baby!
       
      I am:
      Tired
       
      Join Date
      Jun 2010
      Age
      25
      Posts
      1,882
      Rep Power
      10

      Default

      Yeah, this completely sounds like the datastore is losing the single entry for vbcredits, which contains pretty much everything needed to work

      does it happen within a set period of time? To verify, can you try disabling vboptimize long enough to verify if it doesnt die after the usual interval? are you using a different method for datastore other than the database?


    5. #5
      Junior Member Munkii's Avatar
      Gil
      178
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is Badonkadonk.
       
      I am:
      ----
       
      Join Date
      Apr 2010
      Posts
      20
      Rep Power
      0

      Default

      Quote Originally Posted by Darkwaltz4 View Post
      Yeah, this completely sounds like the datastore is losing the single entry for vbcredits, which contains pretty much everything needed to work

      does it happen within a set period of time? To verify, can you try disabling vboptimize long enough to verify if it doesnt die after the usual interval? are you using a different method for datastore other than the database?
      I'll disable vB Optimise for now, and I haven't figured out exactly how long between working and not working, etc. I'm using xCache as the datastore type in vBulletins config.php, aswell as in the vB Optimise settings.

      Edit: Actually, I'll just disable the datastore option for vB Optimise for now. If that fixes the error happening, then I'm okay with leaving that disabled. If it still happens though, I'll disable vB Optimise completely and get back to you on that. =)

      Last edited by Munkii; 5th April 2011 at 19:36.
      Blame it on the girls.. or blame it on the boys~?

    6. #6
      Development Team Darkwaltz4's Avatar
      Trophies
      Gil
      6,672
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is settling in with a new baby!
       
      I am:
      Tired
       
      Join Date
      Jun 2010
      Age
      25
      Posts
      1,882
      Rep Power
      10

      Default

      Well, I am using the datastore in a completely basic manner within the normal controls for access/saving. Is there a whitelist/expiration settings per datastore item? The entry is simply 'vbcredits'. Admittedly, I haven't used either of those for testing, but I heard once of it happening, but with something else.


    7. #7
      Owner Belazor's Avatar
      Gil
      29,973
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is finally done working on vBShop
      for now xD
       
      I am:
      Sneaky
       
      Join Date
      Dec 2009
      Location
      Glasgow, Scotland
      Age
      25
      Posts
      7,868
      Rep Power
      10

      Default

      There's no cache whitelist, but I do know for a fact that such issues could occur if you're using vBulletin's vB_Datastore_XCache class in config.php. If so, try commenting it out.

      Fillip Hannisdal
      Founder & CEO
      DragonByte Technologies http://www.DragonByte-Tech.com


      Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
      Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
      Please do not Private Message Decado with support requests or forum errors.

      When I say "Hotfix Released" it means you should re-download the product and re-upload the files.

    8. #8
      Development Team Darkwaltz4's Avatar
      Trophies
      Gil
      6,672
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is settling in with a new baby!
       
      I am:
      Tired
       
      Join Date
      Jun 2010
      Age
      25
      Posts
      1,882
      Rep Power
      10

      Default

      I am using build_datastore() and populating $specialtemplates, which is the absolute generic method vb is supposed to then choose where/how it gets/sets the data according to your settings.


    9. #9
      Owner Belazor's Avatar
      Gil
      29,973
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is finally done working on vBShop
      for now xD
       
      I am:
      Sneaky
       
      Join Date
      Dec 2009
      Location
      Glasgow, Scotland
      Age
      25
      Posts
      7,868
      Rep Power
      10

      Default

      Yeah I'm saying that when using vBOptimise, using the config.php class is not recommended.

      Fillip Hannisdal
      Founder & CEO
      DragonByte Technologies http://www.DragonByte-Tech.com


      Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
      Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
      Please do not Private Message Decado with support requests or forum errors.

      When I say "Hotfix Released" it means you should re-download the product and re-upload the files.

    10. #10
      Junior Member Munkii's Avatar
      Gil
      178
      User Info Thanks / Tagging Info Gifts / Achievements / Awards Activity Stats
      is Badonkadonk.
       
      I am:
      ----
       
      Join Date
      Apr 2010
      Posts
      20
      Rep Power
      0

      Default

      I'm sorry for the delay in getting back to this thread, I've been dealing with some out of control server issues, so I wasn't able to monitor this properly to try and determine more information.

      I do have an update though. It turns out, this error occurs regardless of having vBOptimise enabled or disabled. So I'm pretty sure I got it wrong for it being a vBOptimise conflict..

      After disabling vBOptimise, the error still occurs. I use the xCache datastore option with my forum, in config.php, and when the error last occured.. I checked into the xCache administration page to look up the vbcredits var data entry, and this is what's displayed:

      1.jpg

      And this is what it is after clearing the cache (via xCache and not vBOptimise):

      2.jpg

      The reason I thought it had to do with vBOptimise, was because I was using the Flush Cache option to empty the cache.. What I didn't realize, was that flushed the entire var data cache, and not just what was being used by vBOptimise.

      I'm really stumped on this, and I use xCache in place of my database to help performance, I can't disable that.

      Thanks again for any help =)

      Blame it on the girls.. or blame it on the boys~?

    Page 1 of 3 123 LastLast

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

    Similar Threads

    1. probs with vb lite + xCache
      By simple in forum vB Optimise Lite Support
      Replies: 6
      Last Post: 19th February 2011, 21:08
    2. How to configure xcache etc.
      By viper357 in forum vB Optimise Lite Support
      Replies: 5
      Last Post: 24th December 2010, 01:36

    Tags for this Thread

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •