Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Bulletbrain Posted February 10, 2019 Posted February 10, 2019 I've been trying to do a fresh install of 4.3.6 but have experienced a problem that I hope someone can assist me with. I ran the requirement checker prior to installation and got a green tick for everything. Installation went fine and I got to the final page which gave links to the suite and admin. However, when I try either of these links, I get "An error occurred (500 error)" page. The admin error page also says "Call to a member function language() on null" I checked the database, re-uploaded all the files, used the recovery mode file (constants.php) and tried a separate test install - all of which resulted in the same outcome. Does anyone know what is going on here? Thanks for any help you can provide.
Aiwa Posted February 10, 2019 Posted February 10, 2019 Generally speaking, a 500 error is a server whoops, not an IPS whoops. Check your server error logs for some clues as to what's going on. Also, this is the peer to peer support section. Suggest submitting a Support Ticket via your Client Area.
Adlago Posted February 10, 2019 Posted February 10, 2019 @Bulletbrain Check permissions your folders and files. For an application to work properly on servers, its directories must have 755 permissions, and 644-for files.
Bulletbrain Posted February 10, 2019 Author Posted February 10, 2019 Thanks for the suggestion Adlago - I've checked all permissions and they are as you suggested but unfortunately no change. I have submitted a support ticket, just thought I'd try here first.
Adlago Posted February 10, 2019 Posted February 10, 2019 10 minutes ago, Bulletbrain said: Thanks for the suggestion Adlago - I've checked all permissions and they are as you suggested but unfortunately no change. I have submitted a support ticket, just thought I'd try here first. You can check the content of your htaccess file for incorrect directives. PS. Also check errors logs in your Cpanel server
Bulletbrain Posted February 10, 2019 Author Posted February 10, 2019 The root installation folder has no .htaccess file
Adlago Posted February 10, 2019 Posted February 10, 2019 Try this - delete all files in a datastore directory
Bulletbrain Posted February 10, 2019 Author Posted February 10, 2019 Deleted them, and tried both admin and forums with no change. Checked datastore directory and files are back.
Adlago Posted February 10, 2019 Posted February 10, 2019 6 minutes ago, Bulletbrain said: Checked datastore directory and files are back. This action removes cache. That's why files are being restored from the suite. PS. Have you checked the error logs ?
Bulletbrain Posted February 10, 2019 Author Posted February 10, 2019 I guessed it was supposed to do that 😁
Adlago Posted February 10, 2019 Posted February 10, 2019 Ask your host support - if mod_security is enable, turn it disable.
Bulletbrain Posted February 10, 2019 Author Posted February 10, 2019 Hey guys I've just checked my hosts knowledgebase and it seems they do have mod_security enabled by default. I presume I'll just need to contact them and get them to whitelist it.
Bulletbrain Posted February 10, 2019 Author Posted February 10, 2019 I have sent a support ticket to my host and await their response in this matter - thanks for all your help so far. I hope you are correct and I can finally get it working.
Bulletbrain Posted February 11, 2019 Author Posted February 11, 2019 Got a reply this morning from my web host Quote We thoroughly investigated the error on the website. No errors are reported to the server error log. ModSecurity rules were not triggered as well.We tried enabling the debug mode and increasing the logging level. Unfortunately, no errors are being reported to uploads/logs.We would recommend contacting the Invision support to investigate the issue with the error and with no errors being reported by the website. The server is compatible with the application, you can see it on ips4.php , so the issue is somewhere in the code of the application. Invision support is looking into my problem - thanks to everyone for your suggestions
Bulletbrain Posted February 11, 2019 Author Posted February 11, 2019 Hey guys Just updating you to let you know that I managed to find the problem myself 😀 I narrowed the problem down to my hosting accounts default root php.ini file. When I commented out line 854 the forums worked [Session] ; Handler used to store/retrieve data. session.save_handler = files Not sure why this is a problem as it should default to "files" anyway. I checked phpinfo.php and it still sets the local and master values to files even with this line removed - problem solved??? Thanks for all your suggestions - they were much appreciated.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.