1. shadycraft Member

    Werkt fwrite, fread en fsockopen?

    Topic geplaatst op: 06-02-2014 om 00:32

    Hallo,

    Ik heb een xenforo site voor mijn minecraft server en heb een plugin gevonden die pingt naar de minecraft server om te zien hoeveel mensen online zijn.
    De plugin heeft fwrite, fread en fsockopen nodig.

    Error:

    fwrite() [<a href='function.fwrite'>function.fwrite</a>]: send of 7 bytes failed with errno=1 Operation not permitted

    Stack trace:

    #0 /home/weslewi116/domains/shadycraft.org/public_html/library/HeroDev/MinecraftStatus/Helper/GS4QueryHelper.php(230): XenForo_Application::handlePhpError(8, 'fwrite() [<a hr...', '/home/weslewi11...', 198)

    #1 [internal function]: HeroDev_MinecraftStatus_Helper_GS4QueryHelper->handlePhpError(8, 'fwrite() [<a hr...', '/home/weslewi11...', 198, Array)
    #2 /home/weslewi116/domains/shadycraft.org/public_html/library/HeroDev/MinecraftStatus/Helper/GS4QueryHelper.php(198): fwrite(Resource id #35, '???????')
    #3 /home/weslewi116/domains/shadycraft.org/public_html/library/HeroDev/MinecraftStatus/Helper/GS4QueryHelper.php(206): HeroDev_MinecraftStatus_Helper_GS4QueryHelper->_sendRaw('?????')
    #4 /home/weslewi116/domains/shadycraft.org/public_html/library/HeroDev/MinecraftStatus/Helper/GS4QueryHelper.php(167): HeroDev_MinecraftStatus_Helper_GS4QueryHelper->_sendPacket(9)
    #5 /home/weslewi116/domains/shadycraft.org/public_html/library/HeroDev/MinecraftStatus/Helper/GS4QueryHelper.php(110): HeroDev_MinecraftStatus_Helper_GS4QueryHelper->_getChallenge()
    #6 /home/weslewi116/domains/shadycraft.org/public_html/library/HeroDev/MinecraftStatus/Helper/MinecraftQueryHelper.php(21): HeroDev_MinecraftStatus_Helper_GS4QueryHelper->getLongStatus()
    #7 /home/weslewi116/domains/shadycraft.org/public_html/library/HeroDev/MinecraftStatus/Model/MinecraftServer.php(151): HeroDev_MinecraftStatus_Helper_MinecraftQueryHelper->queryMinecraftServer(Object(Zend_Db_Adapter_Mysqli), Array)
    #8 /home/weslewi116/domains/shadycraft.org/public_html/library/HeroDev/MinecraftStatus/Model/MinecraftServer.php(134): HeroDev_MinecraftStatus_Model_MinecraftServer->queryMinecraftServer(Array)
    #9 /home/weslewi116/domains/shadycraft.org/public_html/library/HeroDev/MinecraftStatus/CronEntry/MinecraftQuery.php(8): HeroDev_MinecraftStatus_Model_MinecraftServer->queryMinecraftServers()
    #10 [internal function]: HeroDev_MinecraftStatus_CronEntry_MinecraftQuery::queryMinecraftServers(Array)
    #11 /home/weslewi116/domains/shadycraft.org/public_html/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
    #12 /home/weslewi116/domains/shadycraft.org/public_html/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
    #13 /home/weslewi116/domains/shadycraft.org/public_html/library/XenForo/Model/Deferred.php(252): XenForo_Deferred_Cron->execute(Array, Array, 9.99999904633, '')
    #14 /home/weslewi116/domains/shadycraft.org/public_html/library/XenForo/Model/Deferred.php(378): XenForo_Model_Deferred->runDeferred(Array, 9.99999904633, '', false)
    #15 /home/weslewi116/domains/shadycraft.org/public_html/library/XenForo/Model/Deferred.php(331): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
    #16 /home/weslewi116/domains/shadycraft.org/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
    #17 {main}
    
    Request state:
    
    array(3) {
      ["url"] => string(34) "http://shadycraft.org/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(4) {
        ["_xfRequestUri"] => string(46) "/admin.php?minecraft-servers/shadycraft.1/edit"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfToken"] => string(8) "********"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    

     

    Heeft iemand enig idee hoe ik dit zou kunnen oplossen, of vertellen waarom het niet werkt?

    Wesley

    Reageer
  2. Er zijn nog geen reacties.