Codeigniter to cPanel |
Hello guys. I badly need your help. I am currently an intern in an NGO. My job is to create a CMS for the organization. I followed a tutorial about creating a CMS. Actually it worked on my localhost. Now I will be moving it to the live server. I already uploaded all necessary files to cPanel. when I tried accessing it via (http://ngoWebsite.com) it showed a 404 error.
Here is my setting of my index.php before uploading it to cPanel: APPLICATION ENVIRONMENT: switch (dirname(__FILE__)) { case 'C:\xampp\htdocs\ngoWebsite': define('ENVIRONMENT', 'development'); break; default: define('ENVIRONMENT', 'production'); break; ERROR REPORTING: if (defined('ENVIRONMENT')){ switch (ENVIRONMENT) { case 'development': error_reporting(E_ALL | E_STRICT); break; case 'testing': case 'production': error_reporting(0); break; default: exit('The application environment is not set correctly.'); } Here is the structure of my cPanel: home/ngoWebsite >public_html >all my files here including index.php Thanks in advance. |
Messages In This Thread |
Codeigniter to cPanel - by marvinzamoras - 09-23-2015, 01:10 AM
RE: Codeigniter to cPanel - by Diederik - 09-23-2015, 06:30 AM
|