[TH] Credits [Deleted]

Code:
Zend_Exception: No entry is registered for key 'adcredit_last_media_category_id' - library/XenForo/Application.php:1008

Stack Trace
#0 /home/nginx/domains/domain.com/public/library/Audentio/Credit/Core/ControllerPublic/Media.php(15): XenForo_Application::get('adcredit_last_m...')
#1 /home/nginx/domains/domain.com/public/library/XenForo/FrontController.php(347): Audentio_Credit_Core_ControllerPublic_Media->actionSaveMedia()
#2 /home/nginx/domains/domain.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/nginx/domains/domain.com/public/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(50) "https://www.domain.com/media/save-media"
  ["_GET"] => array(1) {
    ["/media/save-media"] => string(0) ""
  }
  ["_POST"] => array(12) {
    ["type"] => string(8) "category"
    ["category_id"] => string(1) "3"
    ["media_"] => string(4) "true"
    ["video_upload_hash"] => string(32) "256b3f93fa21a0de88155091dd602316"
    ["embed_url"] => string(28) "https://youtu.be/wUmXDvzBRSY"
    ["container_type"] => string(8) "category"
    ["container_id"] => string(1) "3"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(10) "/media/add"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

Any ideas on this? All I modified was the youtube bbcode to stop it auto loading stuff I think.

Code:
<p><iframe width="500" height="300" src="https://www.youtube.com/embed/{$id}?wmode=opaque&controls=2" frameborder="0" allowfullscreen></iframe></p>

If it is related to that (just adding that part due to youtube link in error).
 
Code:
Zend_Exception: No entry is registered for key 'adcredit_last_media_category_id' - library/XenForo/Application.php:1008

Stack Trace
#0 /home/nginx/domains/domain.com/public/library/Audentio/Credit/Core/ControllerPublic/Media.php(15): XenForo_Application::get('adcredit_last_m...')
#1 /home/nginx/domains/domain.com/public/library/XenForo/FrontController.php(347): Audentio_Credit_Core_ControllerPublic_Media->actionSaveMedia()
#2 /home/nginx/domains/domain.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/nginx/domains/domain.com/public/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(50) "https://www.domain.com/media/save-media"
  ["_GET"] => array(1) {
    ["/media/save-media"] => string(0) ""
  }
  ["_POST"] => array(12) {
    ["type"] => string(8) "category"
    ["category_id"] => string(1) "3"
    ["media_"] => string(4) "true"
    ["video_upload_hash"] => string(32) "256b3f93fa21a0de88155091dd602316"
    ["embed_url"] => string(28) "https://youtu.be/wUmXDvzBRSY"
    ["container_type"] => string(8) "category"
    ["container_id"] => string(1) "3"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(10) "/media/add"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

Any ideas on this? All I modified was the youtube bbcode to stop it auto loading stuff I think.

Code:
<p><iframe width="500" height="300" src="https://www.youtube.com/embed/{$id}?wmode=opaque&controls=2" frameborder="0" allowfullscreen></iframe></p>

If it is related to that (just adding that part due to youtube link in error).

This has been fixed and an update has been made available at audentio.com :)

Jake
 
What to do when no currency appears in the drop down? All user groups, except guests, are permitted to withdraw. I have a main currency and also a test one, just to see if the new one appeared. no luck.

thanks.
no withdraw currency.webp
 
ahhh. I thought that was something with the decimal points for some reason.

edit- that seems to have fixed it.

Thanks
 
Last edited:
@Jake B. getting this error trying to soft delete some posts,

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : BIGINT UNSIGNED value is out of range in '(`dbname`.`xf_user`.`message_count_month_current` - 1)' - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Solidus, A moment ago

Code:
#0 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /var/www/vhosts/wweforums.net/httpdocs/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /var/www/vhosts/wweforums.net/httpdocs/library/WMTech/RollingMessageCount/DataWriter/DiscussionMessage/Post.php(56): Zend_Db_Adapter_Abstract->query('\n\t\t            ...', 4782)
#3 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/DataWriter/DiscussionMessage.php(560): WMTech_RollingMessageCount_DataWriter_DiscussionMessage_Post->_updateUserMessageCount()
#4 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/DataWriter.php(1409): XenForo_DataWriter_DiscussionMessage->_postSave()
#5 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/Model/Post.php(1216): XenForo_DataWriter->save()
#6 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/ControllerPublic/Post.php(351): XenForo_Model_Post->deletePost(1002973, 'soft', Array, Array)
#7 /var/www/vhosts/wweforums.net/httpdocs/library/Audentio/Credit/Core/ControllerPublic/Post.php(15): XenForo_ControllerPublic_Post->actionDelete()
#8 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(351): Audentio_Credit_Core_ControllerPublic_Post->actionDelete()
#9 /var/www/vhosts/wweforums.net/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /var/www/vhosts/wweforums.net/httpdocs/index.php(13): XenForo_FrontController->run()
#11 {main}
 
Is there any way we could add an 'interest' function as with *******'s Credits Premium? My users will be displeased at no longer receiving 1% interest on their balance every night!
 
Is there any way we could add an 'interest' function as with *******'s Credits Premium? My users will be displeased at no longer receiving 1% interest on their balance every night!

This is not something that is currently planned. However, you can submit feature ideas that you have here: http://forums.xf.hexthemes.com/ideas/

Is it possible for members to pay for user upgrades with this?

It doesn't work directly with user upgrades. However, if you use the Shop Extension we have a similar functionality that will let users buy their way into a usergroup via the shop :)

Jake
 
When trying to transfer credits in the front-end, whatever number I or any other user types resets to 0 every time you click away or click submit. Permissions etc all look fine. XF 1.4.4.
 
Getting this error:

Code:
Server Error Log
Error Info
Zend_Exception: No entry is registered for key 'adcredit_last_media_category_id' - library/XenForo/Application.php:1008
Generated By: Tishri1, Saturday at 6:36 PM
Stack Trace
#0 /home/nginx/domains/christianforums.com/public/library/Audentio/Credit/Core/ControllerPublic/Media.php(15): XenForo_Application::get('adcredit_last_m...')
#1 /home/nginx/domains/christianforums.com/public/library/XenForo/FrontController.php(351): Audentio_Credit_Core_ControllerPublic_Media->actionSaveMedia()
#2 /home/nginx/domains/christianforums.com/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/nginx/domains/christianforums.com/public/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(47) "http://www.christianforums.com/media/save-media"
  ["_GET"] => array(1) {
    ["/media/save-media"] => string(0) ""
  }
  ["_POST"] => array(14) {
    ["type"] => string(5) "album"
    ["album_id"] => string(41) "6323.Christian Forums Staff Recruit Drive"
    ["image_upload_type"] => string(6) "upload"
    ["media_"] => string(4) "true"
    ["image_upload_hash"] => string(32) "1222ab6396a9ac6db37c78214983e685"
    ["video_upload_hash"] => string(32) "87bf5160654b3e362c5893b2533029da"
    ["embed_url"] => string(69) "https://www.facebook.com/jasmina.delic.7773/videos/10100710069247348/"
    ["container_type"] => string(5) "album"
    ["container_id"] => string(4) "6323"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(10) "/media/add"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
@Jake B.

One of our users just managed to transfer 10,000,000,000 credits with a balance of 0 credits.

I've just tested transferring more credits than were in my account and it behaves as expected:

Screen%20Shot%202015-10-20%20at%2011.26.41%20AM.png


Do you have "Allow Negative" checked on your currency?
 
I've just tested transferring more credits than were in my account and it behaves as expected:

Screen%20Shot%202015-10-20%20at%2011.26.41%20AM.png


Do you have "Allow Negative" checked on your currency?
From the way you replied to my support ticket I assumed you had updated the plugins on my site? I'm just updating them now in case you hadn't.
 
Back
Top Bottom