I am working on a project that uses codeigninter. I worked on this on Windows 7, and it was good, but after I moved this project to Ubuntu to work on it there, it gives me this error in every page / controller / method that I am trying to access :
Warning: require_once(/opt/lampp/htdocs/TS_Project/system/core/CodeIgniter.php): failed to open stream: Permission denied in /opt/lampp/htdocs/TS_Project/index.php on line 202 Fatal error: require_once(): Failed opening required '/opt/lampp/htdocs/TS_Project/system/core/CodeIgniter.php' (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/TS_Project/index.php on line 202
The CodeIgniter.php file exists, the path to it is correct, and I can read and write it (I can open it in a text editor and freely edit it). I tried changing the permission of the file to it using the chmod , but nothing happens. Why is permission denied in CodeIgniter.php ?
source share