Welcome Guest, Not a member yet? Register   Sign In
CI4, getting ERROR 500
#1

Hello,

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

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

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

Did I miss something?
Reply
#2

Make sure the “writable” folder is actually writable. Also, check the error logs in apache’s directory and CI’s directory.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#3

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.
Reply
#4

Check the files and directories permissions.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#5

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.
Reply
#6

(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?
Reply
#7

maybe try check host configuration file
Reply




Theme © iAndrew 2016 - Forum software by © MyBB