Update Credits Premium 2.0.0 Beta 1 release

  1. Brivium

    Brivium - May 19, 2015 XenForo Services Staff Member

    Credit
    Point
    Credits Premium 2.0.0 Beta 1 has been released with improvement, new feature and bug fix.

    For more details on this update, please find at its changelog below and don't forget to always back up your site before proceeding to the update process.

    - Actions and events system improvements.
    - Separated Actions system from Credit's core code for increasing perfomance.
    - Easy enable/disable credit's actions.
    - Standardized PHP, JS code.
    - Easy create credit action with action handler.
    - Payment method improvements by combine into one page.
    - Payment method now supports purchasing Credits package.
    - Added option for pending transaction counter displayed on moderator bar.
    - Bug fixes and perfomance improvements.

    IMPORTANT NOTES: A beta release is intended for testing only, and is not recommended for production use. It contains known bugs and incomplete functionality. There is no way to downgrade a Credits Premium installation so if you upgrade your live installation, there's no going back. If you choose to run beta software, it is your responsibility to ensure that you make a backup of your database.

    More Informations: Credits Premium
     
    Loading...
  2. joey_tbf

    joey_tbf - May 19, 2015 Active Member VIP Member

    Credit
    Point
    Wow 2.0! Can't wait to test this! Congratulations:party:
     
    #2
  3. rafass

    rafass - May 19, 2015 Active Member VIP Member

    Credit
    Point
    I didn't read completely the info and I've tried to upgrade this addon face_palm face_palm face_palm face_palm face_palm
    R 2015-05-19 at 161240
    now I'm getting a lot of errors. face_palm face_palm face_palm face_palm face_palm
    ---
    I couldn't install the addon, first error:

    Code:
    Server Error
    
    No entry is registered for key 'brcActionHandler'
    
    XenForo_Application::get() in Brivium/Credits/Model/Event.php at line 149
    Brivium_Credits_Model_Event->prepareEvents() in Brivium/Credits/Model/Event.php at line 174
    Brivium_Credits_Model_Event->getAllEventsForCache() in Brivium/Credits/Model/Event.php at line 206
    Brivium_Credits_Model_Event->rebuildEventCache() in Brivium/Credits/Installer.php at line 50
    Brivium_Credits_Installer->_postInstall() in Brivium/BriviumHelper/1000271/Installer.php at line 119
    Brivium_BriviumHelper_Installer->installAddOn() in Brivium/Credits/Installer.php at line 12
    Brivium_Credits_Installer::install()
    call_user_func() in XenForo/Model/AddOn.php at line 215
    XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
    XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 236
    XenForo_ControllerAdmin_AddOn->actionUpgrade() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/foro/public_html/admin.php at line 13

    Then I take a look again, and I realized this is a beta version fuuu face_palm

    I've ovewrite the files, and now I'm getting all this errors:

    Code:
    Server Error Log
    Error Info
    Zend_Exception: No entry is registered for key 'brcActionHandler' - library/XenForo/Application.php:1007
    Generated By: Rafass, 6 minutes ago
    Stack Trace
    #0 /home/foro/public_html/library/Brivium/Credits/Model/Event.php(149): XenForo_Application::get('brcActionHandle...')
    #1 /home/foro/public_html/library/Brivium/Credits/Model/Event.php(174): Brivium_Credits_Model_Event->prepareEvents(Array)
    #2 /home/foro/public_html/library/Brivium/Credits/Model/Event.php(206): Brivium_Credits_Model_Event->getAllEventsForCache()
    #3 /home/foro/public_html/library/Brivium/Credits/Installer.php(50): Brivium_Credits_Model_Event->rebuildEventCache()
    #4 /home/foro/public_html/library/Brivium/BriviumHelper/1000271/Installer.php(119): Brivium_Credits_Installer->_postInstall()
    #5 /home/foro/public_html/library/Brivium/Credits/Installer.php(12): Brivium_BriviumHelper_Installer->installAddOn(Array, Array)
    #6 [internal function]: Brivium_Credits_Installer::install(Array, Array, Object(SimpleXMLElement))
    #7 /home/foro/public_html/library/XenForo/Model/AddOn.php(215): call_user_func(Array, Array, Array, Object(SimpleXMLElement))
    #8 /home/foro/public_html/library/XenForo/Model/AddOn.php(169): XenForo_Model_AddOn->installAddOnXml(Object(SimpleXMLElement), 'Brivium_Credits')
    #9 /home/foro/public_html/library/XenForo/ControllerAdmin/AddOn.php(236): XenForo_Model_AddOn->installAddOnXmlFromFile('/tmp/phpRuj0Ui', 'Brivium_Credits')
    #10 /home/foro/public_html/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_AddOn->actionUpgrade()
    #11 /home/foro/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #12 /home/foro/public_html/admin.php(13): XenForo_FrontController->run()
    #13 {main}
    Request State
    array(3) {
      ["url"] => string(57) "https://foro.io/admin.php?add-ons/Brivium_Credits/upgrade"
      ["_GET"] => array(1) {
        ["add-ons/Brivium_Credits/upgrade"] => string(0) ""
      }
      ["_POST"] => array(3) {
        ["server_file"] => string(0) ""
        ["_xfConfirm"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
      }
    }
    
    ///
    
    Server Error Log
    Error Info
    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Table 'foro_db.xf_credits_stats' doesn't exist - library/Zend/Db/Statement/Mysqli.php:77
    Generated By: Unknown Account, A moment ago
    Stack Trace
    #0 /home/foro/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('\n\t\t\tUPDATE xf_c...')
    #1 /home/foro/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '\n\t\t\tUPDATE xf_c...')
    #2 /home/foro/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('\n\t\t\tUPDATE xf_c...')
    #3 /home/foro/public_html/library/Brivium/Credits/Model/CreditStast.php(136): Zend_Db_Adapter_Abstract->query('\n\t\t\tUPDATE xf_c...', 1432023023)
    #4 /home/foro/public_html/library/Brivium/Credits/CronEntry/Credits.php(13): Brivium_Credits_Model_CreditStast->updateCreditStasts()
    #5 [internal function]: Brivium_Credits_CronEntry_Credits::runCreditUpdate(Array)
    #6 /home/foro/public_html/library/XenForo/Model/Cron.php(357): call_user_func(Array, Array)
    #7 /home/foro/public_html/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
    #8 /home/foro/public_html/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Cron->execute(Array, Array, 7.99999594688, '')
    #9 /home/foro/public_html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999594688, '', false)
    #10 /home/foro/public_html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
    #11 /home/foro/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
    #12 {main}
    Request State
    array(3) {
      ["url"] => string(28) "https://foro.io/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(4) {
        ["_xfRequestUri"] => string(10) "/admin.php"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
    ///
    
    Server Error Log
    Error Info
    Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Table 'foro_db.xf_credits_transaction' doesn't exist - library/Zend/Db/Statement/Mysqli.php:77
    Generated By: Unknown Account, A moment ago
    Stack Trace
    #0 /home/foro/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('DELETE FROM `xf...')
    #1 /home/foro/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'DELETE FROM `xf...')
    #2 /home/foro/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('DELETE FROM `xf...')
    #3 /home/foro/public_html/library/Zend/Db/Adapter/Abstract.php(661): Zend_Db_Adapter_Abstract->query('DELETE FROM `xf...')
    #4 /home/foro/public_html/library/Brivium/Credits/Model/Transaction.php(402): Zend_Db_Adapter_Abstract->delete('xf_credits_tran...', 'transaction_dat...')
    #5 /home/foro/public_html/library/Brivium/Credits/CronEntry/Transaction.php(10): Brivium_Credits_Model_Transaction->transactionClear()
    #6 [internal function]: Brivium_Credits_CronEntry_Transaction::runTransactionClear(Array)
    #7 /home/foro/public_html/library/XenForo/Model/Cron.php(357): call_user_func(Array, Array)
    #8 /home/foro/public_html/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
    #9 /home/foro/public_html/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Cron->execute(Array, Array, 7.99999594688, '')
    #10 /home/foro/public_html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999594688, '', false)
    #11 /home/foro/public_html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
    #12 /home/foro/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
    #13 {main}
    Request State
    array(3) {
      ["url"] => string(28) "https://foro.io/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(4) {
        ["_xfRequestUri"] => string(10) "/admin.php"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    Any Idea how to solve this accident? face_palm
    .
    .
    .
     
    #3
  4. rafass

    rafass - May 19, 2015 Active Member VIP Member

    Credit
    Point
    uninstalling.....
    I'll try to install it again [​IMG] Sorry for the inconvenience.
     
    #4
  5. rafass

    rafass - May 19, 2015 Active Member VIP Member

    Credit
    Point
    @Brivium put a BIG WARNING more visible in the tittle there in the RM. I've lost everything for this mistake. damn it.
    This is not enough:
    [​IMG]
     
    #5
  6. rafass

    rafass - May 19, 2015 Active Member VIP Member

    Credit
    Point
    Very disappointed with your attitude @Brivium
    why you don't say anything or at least try to give me a hand? or something?
    Do you really think that keep the silent is the best way to handle this situations?
    Was my mistake by having overconfidence and don't look all the hidden warning (because was well hidden)
    I really don't have a damn clue why you've uploaded this beta version. for what? seriously. look the damage caused.
    I've installed and old backup on the server, but the addon know doesn't work now.
    and I lost all the history. It was a very bad idea upload this unstable and problematic version like a normal version, without adequate warnings. In fact you should never upload these files as a regular update EVER!
    .
    .
    .
     
    #6
  7. Brivium

    Brivium - May 19, 2015 XenForo Services Staff Member

    Credit
    Point
    Dear Rafass,

    We apologize for any inconvenience caused. Could you please submit a ticket which contains a FTP account to finding solution for your issue ?

    Regards,
     
    #7
  8. rafass

    rafass - May 19, 2015 Active Member VIP Member

    Credit
    Point
    There are nothing to do. I lost everything.
     
    #8
  9. Brivium

    Brivium - May 20, 2015 XenForo Services Staff Member

    Credit
    Point
    I'm regret to hearing your issue. We learned from experiences. Again, We apologize for the inconvenience caused.
     
    #9
  10. rafass

    rafass - May 20, 2015 Active Member VIP Member

    Credit
    Point
    This addon is perfect and always has been working absolutely perfect without issues in my side.
    in fact I've never suggested anything. the addon fill all my needs.
    I still can not understand why you make this beta version public. if there are people requesting new things, or you're improving some things in the addon and you want to hear opinions is easy, just open a new thread and ask for people interested in try the beta versions. pretty sure there are many who want to try new addon and new stuff in their own test servers.
    I've testing your beta versions, I love it. you know. BUT has been a very bad idea make this version public like a official version.
    Some customers like me, just think, "hey this addon have a new version, COOL" without worrying about anything.
    I've updated your addons hundred of times, and I never have problems with the updates. so, why I have to be worry about a new update?
    The warning was very hidden. anyway, this is a lesson to me also.
    Be careful with this things @Brivium!
    Make a private group to test beta versions privately is a good suggestion IMO.
    .
    .
    .
     
    #10