FrankHeijden
Member
Hello all,
Recently i have been trying to transfer Xenforo and all its files to my new VPS, but it isn't working properly. The home page displays normally, but when you try to click on the e.g. 'Forums' Navigation tab, it won't let you acces it with the 404 error page not found. I have looked into the xenforo admin panel and it gives an error, but i don't know what it means or how i can fix this. Error displayed below:
Error Info:
ErrorException: fopen(/var/www/html/internal_data/sitemaps/sitemap-1493408019-1.xml): failed to open stream: Permission denied - library/XenForo/Deferred/Sitemap.php:210
Stack Trace:
#0 [internal function]: XenForo_Application::handlePhpError(2, 'fopen(/var/www/...', '/var/www/html/l...', 210, Array)
#1 /var/www/html/library/XenForo/Deferred/Sitemap.php(210): fopen('/var/www/html/i...', 'a')
#2 /var/www/html/library/XenForo/Deferred/Sitemap.php(230): XenForo_Deferred_Sitemap->_openFile()
#3 /var/www/html/library/XenForo/Deferred/Sitemap.php(202): XenForo_Deferred_Sitemap->_writeSitemapString('\t<url><loc>http...')
#4 /var/www/html/library/XenForo/Deferred/Sitemap.php(165): XenForo_Deferred_Sitemap->_writeResult(Array)
#5 /var/www/html/library/XenForo/Deferred/Sitemap.php(90): XenForo_Deferred_Sitemap->_buildSitemap(Object(XenForo_SitemapHandler_Core), 0, 7.9999988079071)
#6 /var/www/html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Sitemap->execute(Array, Array, 7.9999988079071, '')
#7 /var/www/html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999988079071, '', false)
#8 /var/www/html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#9 /var/www/html/deferred.php(23): XenForo_Model_Deferred->run(false)
#10 {main}
Request State:
array(3) {
["url"] => string(32) "http://MYDOMAIN.COM/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(3) {
["_xfRequestUri"] => string(1) "/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Hope there is a solution for this!
-Frank
Recently i have been trying to transfer Xenforo and all its files to my new VPS, but it isn't working properly. The home page displays normally, but when you try to click on the e.g. 'Forums' Navigation tab, it won't let you acces it with the 404 error page not found. I have looked into the xenforo admin panel and it gives an error, but i don't know what it means or how i can fix this. Error displayed below:
Error Info:
ErrorException: fopen(/var/www/html/internal_data/sitemaps/sitemap-1493408019-1.xml): failed to open stream: Permission denied - library/XenForo/Deferred/Sitemap.php:210
Stack Trace:
#0 [internal function]: XenForo_Application::handlePhpError(2, 'fopen(/var/www/...', '/var/www/html/l...', 210, Array)
#1 /var/www/html/library/XenForo/Deferred/Sitemap.php(210): fopen('/var/www/html/i...', 'a')
#2 /var/www/html/library/XenForo/Deferred/Sitemap.php(230): XenForo_Deferred_Sitemap->_openFile()
#3 /var/www/html/library/XenForo/Deferred/Sitemap.php(202): XenForo_Deferred_Sitemap->_writeSitemapString('\t<url><loc>http...')
#4 /var/www/html/library/XenForo/Deferred/Sitemap.php(165): XenForo_Deferred_Sitemap->_writeResult(Array)
#5 /var/www/html/library/XenForo/Deferred/Sitemap.php(90): XenForo_Deferred_Sitemap->_buildSitemap(Object(XenForo_SitemapHandler_Core), 0, 7.9999988079071)
#6 /var/www/html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Sitemap->execute(Array, Array, 7.9999988079071, '')
#7 /var/www/html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999988079071, '', false)
#8 /var/www/html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#9 /var/www/html/deferred.php(23): XenForo_Model_Deferred->run(false)
#10 {main}
Request State:
array(3) {
["url"] => string(32) "http://MYDOMAIN.COM/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(3) {
["_xfRequestUri"] => string(1) "/"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Hope there is a solution for this!
-Frank