I am setting up Code Igniter. My public html folder is a soft link to another folder on my server.
Hence, my directory structure looks like
README errors.txt license.txt system
application html user_guide
where html is a soft link to another folder /var/www/myPublicHTML/. html contains my index.php file.
Code Igniter currently issues this error.
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php
However, I did specify this in my index.php file within the html soft link / folder.
$system_path = '../system';
$application_folder = '../application';
Why is this error still surfacing? I feel that it may be a soft link issue. Thank you.
The directory that the system symlink points to should permit access to all users. The webserver is probably attempting to access the
systemdirectory but doesn’t have the proper clearance to do so (Note that the webserver doesn’t use your user credentials to do its work).If the
systemsymlink points to/var/www/frameworks/CodeIgniter/2.x.x/systemyou should see to it that/var/www/frameworks/CodeIgniter/2.x.x/systemis accessible to all users in order to allow the webserver to access that directory as well.Running
chmod 755 -R /var/www/frameworks/CodeIgniter/2.x.x/systemshould grant read and execute access to ALL users (and full access to yourself). Needless to say that you should enter the path to your system directory in the above command ;).