CodeIgniter Forums
I keep having the error "No direct script access allowed" - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: I keep having the error "No direct script access allowed" (/showthread.php?tid=79673)



I keep having the error "No direct script access allowed" - ProgrammerX - 07-17-2021

Hi!
I'm trying to install a web application with CodeIgniter, I use Visual studio + MySql. No matter what page I load I always get the
error "No direct script access allowed"... what could I do?


RE: I keep having the error "No direct script access allowed" - ikesela - 07-17-2021

Its a framework and use rewrite mode. all access direct script are not allowed. at least try to understand the basic of MVC (Model -View - Controller), all page view thru controller.


RE: I keep having the error "No direct script access allowed" - InsiteFX - 07-18-2021

If your on Windows make sure you are logged in as Administrator.


RE: I keep having the error "No direct script access allowed" - ProgrammerX2 - 07-20-2021

I'm running installer.php wchich allegedly should install the web application but it won't


RE: I keep having the error "No direct script access allowed" - InsiteFX - 07-21-2021

If you look in the application folder you will see an .htaccess file there, thats what is giving you the error.