user3909863
user3909863

Reputation: 401

Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

When I enter my web address in the browser it showing error like this.

Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

Please anyone give me the solution.

Upvotes: 21

Views: 128793

Answers (10)

tarek fellah
tarek fellah

Reputation: 367

Check if you have a vendor folder, if not run composer install

Upvotes: 0

khn Rzk
khn Rzk

Reputation: 1292

This is because your system path is missing

  1. Go to index.php file
  2. Check the $system_path ='path' variable
  3. Check the $application_folder ='path' variable
  4. Probably the folder path missing or Renamed which you shouldnt do
  5. If your using composer composer install will create the system folder path
  6. If not the case you have to re-install Codeignitor

Remember : Never ever modify or rename system files

Upvotes: 0

Omkar Ghurye
Omkar Ghurye

Reputation: 393

  1. check your index.php file like the error said and look for $system_path and $application_folder. Those folders must exist in the root of your application, if you delete them(which you shouldn't do) or renamed them, it will cause that error

    $system_path = 'system'; $application_folder = 'application';

  2. Change the php version to 5.6 (if its 7.2+ changing it to 5.6 , worked for me)

Upvotes: 0

mukesh
mukesh

Reputation: 23

please check your system folder in root directory. I think it is not exist. I was getting same issue and i have fixed it.

Upvotes: 0

jbrahy
jbrahy

Reputation: 4425

I had the same problem but for me, it was the first time installing code ignitor using composer. When I copied the files from vendor/codeignitor/ to my web root then everything worked fine.

Upvotes: 0

Tiago Damascena
Tiago Damascena

Reputation: 86

Your project don't have a system folder, if you are using composer try to run composer install on your project root folder. In my case its the problem.

Upvotes: 1

Veeresh Hiremath
Veeresh Hiremath

Reputation: 25

When you copying the project files from one system to other some files are missing. so copy once again properly and refresh the page with the same url you will get.

Upvotes: 1

William
William

Reputation: 749

Check if the required application and system folders exist. I had the same problem after deleting the "system" folder

Upvotes: 10

Zamicol
Zamicol

Reputation: 5044

Check your permission. The web server user may not have permissions to read everything.

Upvotes: 6

user3137046
user3137046

Reputation: 244

check your index.php file like the error said and look for $system_path and $application_folder. Those folders must exist in the root of your application, if you delete them(which you shouldn't do) or renamed them, it will cause that error

$system_path = 'system';
$application_folder = 'application';

Upvotes: 18

Related Questions