CodeIgniter Forums
CI4, getting ERROR 500 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: CI4, getting ERROR 500 (/showthread.php?tid=75838)



CI4, getting ERROR 500 - Hexes - 03-22-2020

Hello,

I am trying to manually install CI4 on a local apache server.

I downloaded CI from here: https://github.com/CodeIgniter4/framework/releases/tag/v4.0.2

When I try to access Public folder I just get HTTP ERROR 500.

Did I miss something?


RE: CI4, getting ERROR 500 - includebeer - 03-22-2020

Make sure the “writable” folder is actually writable. Also, check the error logs in apache’s directory and CI’s directory.


RE: CI4, getting ERROR 500 - Hexes - 03-22-2020

Code:
[Sun Mar 22 18:33:07 2020] [error] [client ::1] client denied by server configuration: /Users/Marius/Google Drive/@Web/htdocs/ci4/app/
[Sun Mar 22 18:33:07 2020] [error] [client ::1] client denied by server configuration: /Users/Marius/Google Drive/@Web/htdocs/ci4/writable/
[Sun Mar 22 18:33:07 2020] [error] [client ::1] client denied by server configuration: /Users/Marius/Google Drive/@Web/htdocs/ci4/system/

Everything else on this local server works fine.


RE: CI4, getting ERROR 500 - includebeer - 03-22-2020

Check the files and directories permissions.


RE: CI4, getting ERROR 500 - Hexes - 03-23-2020

I got it running.

But now I am getting this ERROR: 

Code:
Fatal error: Uncaught Error: Class 'CodeIgniter\Autoloader\FileLocator' not found in /Users/Marius/Google Drive/@Web/htdocs/ci4/system/Config/BaseService.php:171 Stack trace: #0 /Users/Marius/Google Drive/@Web/htdocs/ci4/system/Common.php(494): CodeIgniter\Config\BaseService::locator(true) #1 /Users/Marius/Google Drive/@Web/htdocs/ci4/system/bootstrap.php(154): helper('url') #2 /Users/Marius/Google Drive/@Web/htdocs/ci4/public/index.php(36): require('/Users/Marius/G...') #3 {main} thrown in /Users/Marius/Google Drive/@Web/htdocs/ci4/system/Config/BaseService.php on line 171

Files are all original nothing was changed.


RE: CI4, getting ERROR 500 - pws - 08-10-2022

(03-22-2020, 09:37 AM)Hexes Wrote:
Code:
[Sun Mar 22 18:33:07 2020] [error] [client ::1] client denied by server configuration: /Users/Marius/Google Drive/@Web/htdocs/ci4/app/
[Sun Mar 22 18:33:07 2020] [error] [client ::1] client denied by server configuration: /Users/Marius/Google Drive/@Web/htdocs/ci4/writable/
[Sun Mar 22 18:33:07 2020] [error] [client ::1] client denied by server configuration: /Users/Marius/Google Drive/@Web/htdocs/ci4/system/

Everything else on this local server works fine.
Hello, How you fix the permission please?


RE: CI4, getting ERROR 500 - ikesela - 08-10-2022

maybe try check host configuration file