1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Not a Bug Top Stocks, Total Invested, Gain, Value all gone

Discussion in 'Stock Trader Resolved Bug Reports' started by TitanJeff, Jan 7, 2014.

  1. TitanJeff

    TitanJeff Member Showcase Sportsbook Pickem Survivor

    I'm thinking something which used to run to set these must not be anymore.

    The top stocks menu item returns no listing (blank). The numbers for my individual investment, value, gain is all set at $0. The stocks remain in my list as normal.

    Any ideas?
     
  2. Bob

    Bob Developer Staff Member

    run the CRON manually..

    Admin CP >> tools >> cron >> Stock Trader: Rebuild Users Portfolio Values
     
  3. TitanJeff

    TitanJeff Member Showcase Sportsbook Pickem Survivor

    Fixed me right up. Thanks.
     
    Bob likes this.
  4. TitanJeff

    TitanJeff Member Showcase Sportsbook Pickem Survivor

    Another issue...

    Member sold stock today but wasn't credited with the value. I manually ran the cron and got this:

    Server Error
    Undefined offset: 3

    1. XenForo_Application::handlePhpError() in NFLJ/StockTrader/Model/CurrencyExchange.php at line 93
    2. NFLJ_StockTrader_Model_CurrencyExchange->_addCXKeys() in NFLJ/StockTrader/Model/CurrencyExchange.php at line 73
    3. NFLJ_StockTrader_Model_CurrencyExchange->fetchCurrencyExchangeRates() in NFLJ/StockTrader/CronEntry/CurrencyExchange.php at line 11
    4. NFLJ_StockTrader_CronEntry_CurrencyExchange::updateCurrencyExchangeRates()
    5. call_user_func() in XenForo/Model/Cron.php at line 356
    6. XenForo_Model_Cron->runEntry() in XenForo/ControllerAdmin/Cron.php at line 204
    7. XenForo_ControllerAdmin_Cron->actionRun() in XenForo/FrontController.php at line 310
    8. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    9. XenForo_FrontController->run() in /home2/jfuqua/public_html/admin.php at line 13

    Any suggestions? Thanks.
     
  5. Bob

    Bob Developer Staff Member

    Run it again. The issue is with the API. Yahoo is having serious issues with all of their API's lately. Seems like the currency API is the worst of them. Also, you may want to tone down how often you run the currency exchange rates CRON (once ever 12 hours should be more than fine).
     
  6. TitanJeff

    TitanJeff Member Showcase Sportsbook Pickem Survivor

    Ran it again. It still hasn't credited this member with his money. He is no longer listed in the Stock Trader but the [bd] money we use didn't show the sold amount. It was over $200,000 so the amount might be a factor.

    Puzzling.
     
  7. Bob

    Bob Developer Staff Member

    I really don't see how that can happen. Stocks just don't disappear and the sale transaction happens at the same time as paying the person (its one transaction), so if the stock itself was sold, the payment was processed. I'd have to look in the stock sold log table and your weblogs. Only thing you can do right now is just give him cash via the honor system (if he really did sell it and you can verify that he did)
     
  8. TitanJeff

    TitanJeff Member Showcase Sportsbook Pickem Survivor

    Yeah. I can manually do it. If no one else has ever reported it, then it might be just one of those things.

    I did move servers last week. Mike copied the files over a couple of days before I pointed the nameservers to the new IP.
     
  9. Bob

    Bob Developer Staff Member

    I've never run into it, but someone else did. I believe tho that after investigation, it was determined that the individual was trying to cheat the system lol
     
  10. TitanJeff

    TitanJeff Member Showcase Sportsbook Pickem Survivor

    This would not surprise me. I gave him his money anyway. I might slowly take a little back every day just to mess with him. ;)

    You have anything interesting in the works? I'd love to find more ways to gamble on my site. :)
     
  11. Bob

    Bob Developer Staff Member

    haha.. I wonder if he'd even notice.

    Well, I've got NFLJ Survivor in the works, but I won't be releasing that until July time frame (just in time for Pre Season). I MAY at some point release NFLJ Casino, but I'd have to do a lot of work on it to make it "release" ready. Would take me a month just to add Phrases to the addon lol
     
  12. TitanJeff

    TitanJeff Member Showcase Sportsbook Pickem Survivor

    Would a casino be easier if you just released individual games? An entire casino sounds amazing but massive.
     
  13. Bob

    Bob Developer Staff Member

    no, its not like an arcade that you install individual games, its one addon that has built in casino type games (Slots, Video Poker, Craps, Roulette etc). It not something that I will even consider without substantial funding upfront.
     
  14. TitanJeff

    TitanJeff Member Showcase Sportsbook Pickem Survivor

    You might float that out on xF. I'd think you might be able to do a Kickstarter campaign to generate upfront funding. I'd jump on the opportunity.
     
  15. Bob

    Bob Developer Staff Member

    It won't be for awhile anyway, so I will see how some of these recent ones pan out (like the reviews one).
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.