Welcome Guest, Not a member yet? Register   Sign In
CI 4.0.4 PHP Error On Install
#1

Apologies if asked and answered.  I could only find one topic in the forum with the same question and it was unanswered with no further topics in search.

Fresh download / install, no changes to basic paths. Running MAMP on Mac, PHP 7.2.8.  CI 3 runs fine.  Edited base_url in app/Config/app.php 

Had blank screen on install, but fixed with setting php_flag display_errors 1 in my .htaccess.  Now am just getting php errors:

Code:
Fatal error: Uncaught Error: Class 'CodeIgniter\Autoloader\FileLocator' not found in {...}forge/system/Config/BaseService.php:171 Stack trace: #0 {...}forge/system/Common.php(539): CodeIgniter\Config\BaseService::locator(true) #1 {...}forge/system/bootstrap.php(167): helper('url') #2 {...}forge/public/index.php(36): require('{...}...') #3 {main} thrown in {...}/forge/system/Config/BaseService.php on line 171

Obviously, I can comment out the autoload portion, but I get multiple PHP errors after that.  Any help would be appreciated.
Reply
#2

You are running it from a folder that contains invalid ansi characters (a-z) so move your application.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB