Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 19, 20222 yr Hi, We are trying to move to another host. We moved all the files and the database but we are getting a 500 error. In the uploads/log directory there aren't any logs created. The domain will stay the same in the end but for testing purposes we are using another domain first. Could this be the reason of the 500 error or can I find a more detailed log somewhere? Thanks in advance.
April 19, 20222 yr Have you run the compatibility checker to make sure the new host can run IPB? Generally 500 errors will happen either due to file ownership or permission issues. Also since you mentioned changing domains, did you update your conf_global.php and check your constants.php for any hard coded values? (Those would not cause 500 errors but more problems later.)
April 19, 20222 yr Solution Have you updated the URL in the config file and have you flushed the cache by deleting the datastore folder content.
April 19, 20222 yr Author Thanks both for the quick replies! After applying the mentioned steps it worked right away on my local environment (Mac). It seemed that some folder permissions were not correct on the test environment (Windows). The forum is loading up correctly now.
May 3, 20222 yr Author Hi again, Unfortunately still having some issues. Local on nginx every page works without any additional settings. But on the new IIS server only the index works.. all the other pages return a 404. Are there any settings that must be set on IIS before these pages work? thanks in advance!
May 3, 20222 yr 8 minutes ago, Fifty50 said: Hi again, Unfortunately still having some issues. Local on nginx every page works without any additional settings. But on the new IIS server only the index works.. all the other pages return a 404. Are there any settings that must be set on IIS before these pages work? thanks in advance! Check your .htaccess for friendly URLs: https://invisioncommunity.com/4guides/promotion/seo-r295/#furls Upload it another time, sometimes it is broken after moving.
May 3, 20222 yr 1 hour ago, Sonya* said: Check your .htaccess for friendly URLs: https://invisioncommunity.com/4guides/promotion/seo-r295/#furls Upload it another time, sometimes it is broken after moving. IIS will not be using htaccess, and I suspect thats your issue there. We would very much recommend against using IIS for your server