XF 1.5 transferring Xenforo to ubuntu 17.04

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
 
It is.

Once the files are finished uploading, you must set permissions (or CHMOD) several places. This is necessary to ensure that XenForo can write to those parts of your server. You can usually do this with your FTP client.

  1. In the set of files and directories you just uploaded, you will see 2 folders: data and internal_data.
  2. These two directories must be set to world writeable (CHMOD 0777) or give the IUSR_ Full Control in Windows.

You can find it here.

https://xenforo.com/help/installation/
 
Thanks, but it still isnt fixed. still the 404 error when i try to do mydomain.com/forums/

Not Found
The requested URL /forums/ was not found on this server.
Apache/2.4.25 (Ubuntu) Server at mydomain.com Port 443
 
Back
Top Bottom