CI4 on shared hosting return error 500 |
I get the impression that CI4 defaults to all app, system and writable folders in the index.php parent directory. This can be changed.
Run index.php but point halt/die; at the point where it is calling the app/paths. Change the calling path to wherever your app folder is located and make the necessary changes to the paths. echo getcwd(); die; frequently to find out the directory and adjust relative paths. When I am back on the desktop I will check the path file names. Edit: Wherever the writable folder is located it needs to be writable: sudo chmod -R 0777 writable Edit: - now on desktop I have set the following paths: /public_html/index-waithere.php /public_html/app/ /public_html/system/ /public_html/writable/ Online Demo: https://ci4-strict.tk/index-waithere.php https://ci4-strict.tk/index-waithere.php...-the-paths Code: <?php DECLARE(STRICT_TYPES=1); |
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
|