"failed to open a stream" ???

#1
Info concernant l'erreur
ErrorException: fopen(/var/www/forum/internal_data/sitemaps/sitemap-1480053719-1.xml): failed to open stream: Permission denied - library/XenForo/Deferred/Sitemap.php:210
Généré par: Compte inconnu, Hier à 06:01
Trace de la pile
#0 [internal function]: XenForo_Application::handlePhpError(2, 'fopen(/var/www/...', '/var/www/forum/...', 210, Array)
#1 /var/www/forum/library/XenForo/Deferred/Sitemap.php(210): fopen('/var/www/forum/...', 'a')
#2 /var/www/forum/library/XenForo/Deferred/Sitemap.php(230): XenForo_Deferred_Sitemap->_openFile()
#3 /var/www/forum/library/XenForo/Deferred/Sitemap.php(202): XenForo_Deferred_Sitemap->_writeSitemapString('\t<url><loc>http...')
#4 /var/www/forum/library/XenForo/Deferred/Sitemap.php(165): XenForo_Deferred_Sitemap->_writeResult(Array)
#5 /var/www/forum/library/XenForo/Deferred/Sitemap.php(90): XenForo_Deferred_Sitemap->_buildSitemap(Object(XenForo_SitemapHandler_Core), 0, 7.993506193161)
#6 /var/www/forum/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Sitemap->execute(Array, Array, 7.993506193161, '')
#7 /var/www/forum/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.993506193161, '', false)
#8 /var/www/forum/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#9 /var/www/forum/deferred.php(23): XenForo_Model_Deferred->run(false)
#10 {main}
Etat de la requête
array(3) {
["url"] => string(38) "http://forum.fortycube.fr/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(3) {
["_xfRequestUri"] => string(30) "/search/?type=xengallery_media"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}

I have this error all the time in the logs of my forum but I do not know where from she comes.
Thank you for your help.
 

Brogan

XenForo moderator
Staff member
#2
Ensure the /data and /internal_data directories are recursively chmod to 0777.

You can typically do that via your FTP client by right clicking.
 
Top