CI4 on shared hosting return error 500 |
@Waithere,
> And .htaccess removed (to avoid the 500 error). The main purpose of the .htaccess file is to redirect every URL to the index.php file. Redirection requires the apache2 "mod_rewrite.c" module to be loaded. If it is not loaded then redirection and pretty URLs will not work. It will be necessary to call "index.php?routing-parameters". .htaccess file is also used to set the either "production", "development" or "test" modes. Once the Welcome_message page is rendered correctly then try to get logging to create the log file. Try and introduce PHP errors and see what effect they have on rendering pages and the log items. The log file can be safely deleted if there are too many entries. A new log file will be created with new errors, warnings or debug entries are raised. |
Messages In This Thread |
CI4 on shared hosting return error 500 - by Waithere - 02-29-2020, 03:41 PM
RE: CI4 on shared hosting return error 500 - by jreklund - 03-01-2020, 01:05 AM
RE: CI4 on shared hosting return error 500 - by Waithere - 03-01-2020, 03:28 AM
RE: CI4 on shared hosting return error 500 - by dave friend - 03-01-2020, 11:45 AM
RE: CI4 on shared hosting return error 500 - by Waithere - 03-02-2020, 06:41 AM
RE: CI4 on shared hosting return error 500 - by dave friend - 03-02-2020, 10:26 AM
RE: CI4 on shared hosting return error 500 - by Waithere - 03-02-2020, 05:18 PM
RE: CI4 on shared hosting return error 500 - by John_Betong - 03-02-2020, 05:55 PM
RE: CI4 on shared hosting return error 500 - by Waithere - 03-03-2020, 02:05 PM
RE: CI4 on shared hosting return error 500 - by John_Betong - 03-03-2020, 09:04 PM
|