[Nobita] MineCraft Avatar

[Nobita] MineCraft Avatar [Paid] 1.4.1

No permission to buy ($15.00)
Looks like your site's URL is incorrect. In the "Basic Board Information" in your options, what is your Board URL?
I edited that out as I currently want to keep it hidden.

Edit: This ended up being my fault, I should have thoroughly read the error. I did not have the php5-curl function installed on my machine.
 
I am having an issue when I try to set the avatar. It also will not let me rebuild caches with the addon added.

Server Error Log:

ErrorException: Fatal Error: Call to undefined function curl_init() -library/Nobita/MinecraftAvatar/Api.php:19

#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Request State:
array(3) {
["url"] => string(43) "http://example.com/account/avatar-upload"
["_GET"] => array(0) {
}
["_POST"] => array(9) {
["use_gravatar"] => string(2) "15"
["minecraft"] => string(7) "ExpoPs3"
["avatar_date"] => string(1) "0"
["avatar_crop_x"] => string(1) "0"
["avatar_crop_y"] => string(1) "0"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(19) "/members/expops3.1/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
You should enable the function `curl_init` on your hosting or vps.
 
getting this error last couple days.


Server Error
Unable to Connect to tcp://minotar.net:80. Error #110: Connection timed out

  1. Zend_Http_Client_Adapter_Socket->connect() in Zend/Http/Client.php at line 973
  2. Zend_Http_Client->request() in Nobita/MinecraftAvatar/DataWriter/User.php at line 60
  3. Nobita_MinecraftAvatar_DataWriter_User->_updateMinecraftAvatar() in Nobita/MinecraftAvatar/DataWriter/User.php at line 46
  4. Nobita_MinecraftAvatar_DataWriter_User->_postSave() in XenForo/DataWriter.php at line 1409
  5. XenForo_DataWriter->save() in XenForo/ControllerPublic/AccountConfirmation.php at line 54
  6. XenForo_ControllerPublic_AccountConfirmation->actionEmail() in XenForo/FrontController.php at line 347
  7. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  8. XenForo_FrontController->run() in /home/public_html/index.php at line 13
 
It would appear that I am getting some server errors when using this add-on. Newly-registered users and rebuilding the cache both have significant issues. I am using 1.2.2.

When a user tries registering:
Code:
Server Error Log



Error Info

ErrorException: Invalid argument supplied for foreach() - library/Nobita/MinecraftAvatar/Api.php:46
Generated By: J1d5, 50 minutes ago



Stack Trace

#0 /var/www/html/library/Nobita/MinecraftAvatar/Api.php(46): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/var/www/html/l...', 46, Array)
#1 /var/www/html/library/Nobita/MinecraftAvatar/DataWriter/User.php(70): Nobita_MinecraftAvatar_Api->getProfileData('J1d5')
#2 /var/www/html/library/Nobita/MinecraftAvatar/DataWriter/User.php(44): Nobita_MinecraftAvatar_DataWriter_User->_updateMinecraftAvatar('J1d5')
#3 /var/www/html/library/XenForo/DataWriter.php(1409): Nobita_MinecraftAvatar_DataWriter_User->_postSave()
#4 /var/www/html/library/XenForo/ControllerPublic/AccountConfirmation.php(54): XenForo_DataWriter->save()
#5 /var/www/html/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_AccountConfirmation->actionEmail()
#6 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /var/www/html/index.php(13): XenForo_FrontController->run()
#8 {main}



Request State

array(3) {
  ["url"] => string(75) "http://crystalcraftmc.com/account-confirmation/875/email?c=g6FGVrelzXbwG9WR"
  ["_GET"] => array(1) {
    ["c"] => string(16) "g6FGVrelzXbwG9WR"
  }
  ["_POST"] => array(0) {
  }
}

When I tried rebuilding the user cache:
Code:
Error Info

ErrorException: Invalid argument supplied for foreach() - library/Nobita/MinecraftAvatar/Api.php:46
Generated By: jflory7, A moment ago



Stack Trace

#0 /var/www/html/library/Nobita/MinecraftAvatar/Api.php(46): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/var/www/html/l...', 46, Array)
#1 /var/www/html/library/Nobita/MinecraftAvatar/DataWriter/User.php(96): Nobita_MinecraftAvatar_Api->getProfileData('Yanira084')
#2 /var/www/html/library/Nobita/MinecraftAvatar/DataWriter/User.php(87): Nobita_MinecraftAvatar_DataWriter_User->minecraft_updateAvatarToOldUser()
#3 /var/www/html/library/XenForo/Deferred/User.php(41): Nobita_MinecraftAvatar_DataWriter_User->rebuildCustomFields()
#4 /var/www/html/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_User->execute(Array, Array, 7.9999969005585, '')
#5 /var/www/html/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.9999969005585, '', false)
#6 /var/www/html/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#7 /var/www/html/library/XenForo/ControllerAdmin/Tools.php(159): XenForo_Model_Deferred->run(true, NULL, '', false)
#8 /var/www/html/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_Tools->actionRunDeferred()
#9 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /var/www/html/admin.php(13): XenForo_FrontController->run()
#11 {main}



Request State

array(3) {
  ["url"] => string(54) "http://crystalcraftmc.com/admin.php?tools/run-deferred"
  ["_GET"] => array(1) {
    ["tools/run-deferred"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["redirect"] => string(59) "http://crystalcraftmc.com/admin.php?tools/rebuild&success=1"
    ["execute"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}

The error after rebuilding the cache:
Code:
Server Error

Invalid argument supplied for foreach()

    XenForo_Application::handlePhpError() in Nobita/MinecraftAvatar/Api.php at line 46
    Nobita_MinecraftAvatar_Api->getProfileData() in Nobita/MinecraftAvatar/DataWriter/User.php at line 96
    Nobita_MinecraftAvatar_DataWriter_User->minecraft_updateAvatarToOldUser() in Nobita/MinecraftAvatar/DataWriter/User.php at line 87
    Nobita_MinecraftAvatar_DataWriter_User->rebuildCustomFields() in XenForo/Deferred/User.php at line 41
    XenForo_Deferred_User->execute() in XenForo/Model/Deferred.php at line 256
    XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 390
    XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 335
    XenForo_Model_Deferred->run() in XenForo/ControllerAdmin/Tools.php at line 159
    XenForo_ControllerAdmin_Tools->actionRunDeferred() in XenForo/FrontController.php at line 347
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /var/www/html/admin.php at line 13
 
Hmmm, I also just noticed these errors in my server errors:
Code:
Server Error Log



Error Info

Zend_Uri_Exception: Invalid URI supplied - library/Zend/Uri/Http.php:156
Generated By: Unknown Account, Yesterday at 10:58 PM



Stack Trace

#0 /var/www/html/library/Zend/Uri.php(143): Zend_Uri_Http->__construct('https', '//minecraft.net...')
#1 /var/www/html/library/Zend/Http/Client.php(270): Zend_Uri::factory('https://minecra...')
#2 /var/www/html/library/Zend/Http/Client.php(253): Zend_Http_Client->setUri('https://minecra...')
#3 /var/www/html/library/XenForo/Helper/Http.php(21): Zend_Http_Client->__construct('https://minecra...', Array)
#4 /var/www/html/library/Nobita/MinecraftAvatar/DataWriter/User.php(21): XenForo_Helper_Http::getClient('https://minecra...')
#5 [internal function]: Nobita_MinecraftAvatar_DataWriter_User->_verifyUsername('latrice.colling...', Object(Nobita_MinecraftAvatar_DataWriter_User), 'username', Array)
#6 /var/www/html/library/XenForo/DataWriter.php(982): call_user_func_array(Array, Array)
#7 /var/www/html/library/XenForo/DataWriter.php(725): XenForo_DataWriter->_runVerificationCallback(Array, 'latrice.colling...', Array, 'username')
#8 /var/www/html/library/XenForo/DataWriter.php(643): XenForo_DataWriter->_isFieldValueValid('username', Array, 'latrice.colling...', Array)
#9 /var/www/html/library/XenForo/ControllerPublic/Register.php(63): XenForo_DataWriter->set('username', 'latrice.colling...')
#10 /var/www/html/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Register->actionIndex()
#11 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#12 /var/www/html/index.php(13): XenForo_FrontController->run()
#13 {main}



Request State

array(3) {
  ["url"] => string(37) "http://crystalcraftmc.com/login/login"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(6) {
    ["login"] => string(48) "latrice.collingridge de tourcey@turtlescandy.com"
    ["register"] => string(1) "1"
    ["password"] => string(8) "********"
    ["cookie_check"] => string(1) "1"
    ["redirect"] => string(12) "/login/login"
    ["_xfToken"] => string(8) "********"
  }
}
 
Hmmm, I also just noticed these errors in my server errors:
Code:
Server Error Log



Error Info

Zend_Uri_Exception: Invalid URI supplied - library/Zend/Uri/Http.php:156
Generated By: Unknown Account, Yesterday at 10:58 PM



Stack Trace

#0 /var/www/html/library/Zend/Uri.php(143): Zend_Uri_Http->__construct('https', '//minecraft.net...')
#1 /var/www/html/library/Zend/Http/Client.php(270): Zend_Uri::factory('https://minecra...')
#2 /var/www/html/library/Zend/Http/Client.php(253): Zend_Http_Client->setUri('https://minecra...')
#3 /var/www/html/library/XenForo/Helper/Http.php(21): Zend_Http_Client->__construct('https://minecra...', Array)
#4 /var/www/html/library/Nobita/MinecraftAvatar/DataWriter/User.php(21): XenForo_Helper_Http::getClient('https://minecra...')
#5 [internal function]: Nobita_MinecraftAvatar_DataWriter_User->_verifyUsername('latrice.colling...', Object(Nobita_MinecraftAvatar_DataWriter_User), 'username', Array)
#6 /var/www/html/library/XenForo/DataWriter.php(982): call_user_func_array(Array, Array)
#7 /var/www/html/library/XenForo/DataWriter.php(725): XenForo_DataWriter->_runVerificationCallback(Array, 'latrice.colling...', Array, 'username')
#8 /var/www/html/library/XenForo/DataWriter.php(643): XenForo_DataWriter->_isFieldValueValid('username', Array, 'latrice.colling...', Array)
#9 /var/www/html/library/XenForo/ControllerPublic/Register.php(63): XenForo_DataWriter->set('username', 'latrice.colling...')
#10 /var/www/html/library/XenForo/FrontController.php(347): XenForo_ControllerPublic_Register->actionIndex()
#11 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#12 /var/www/html/index.php(13): XenForo_FrontController->run()
#13 {main}



Request State

array(3) {
  ["url"] => string(37) "http://crystalcraftmc.com/login/login"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(6) {
    ["login"] => string(48) "latrice.collingridge de tourcey@turtlescandy.com"
    ["register"] => string(1) "1"
    ["password"] => string(8) "********"
    ["cookie_check"] => string(1) "1"
    ["redirect"] => string(12) "/login/login"
    ["_xfToken"] => string(8) "********"
  }
}
Try with new version :)
 
Try with new version :)
WOW! Not even half an hour later, and you already have a fix available. Talk about awesome customer support. :)

Rebuilding my cache seems to work fine now! I will continue to watch for any further errors, and if I find anything, I will report it back here.
 
Look at on console log. Too many avatar return 504:
Code:
Failed to load resource: the server responded with a status of 504 (Gateway Time-out) https://minotar.net/avatar/SavageShadow62/48
.....
The server is saying the same error
"Failed to load resource: the server responded with a status of 504 (Gateway Time-out)"
How could I fix this?
 
Hi, another new buyer... I am finding it hard to actually get my in game picture to show up. I felt I installed it correctly. Please help, & thanks XD
 
Top Bottom