• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't access my code igniter 3 website

(04-07-2021, 02:46 AM)Muzikant Wrote: In application/config/config.php file set $config['log_threshold'] = 1;

Make sure, the application/logs directory is writable.

Disable .htaccess file by renaming it to htaccess (remove dot from the beginning).

Try to access pages with index.php in the URL. For example: site.com/index.php/controller/method

If it is working with index.php, then the problem is in .htaccess rules. There is no universal solution for this and you must play with it. Every shared hosting is different.

Rename htaccess file back to .htaccess

If it is not working at all, then look in the log files in application/logs directory for more information. There should be some.

Thanks, I'll play with it.  
This is funny cause it's an intermittent error and it was gone when checked today without any effort from me.  So I'll wait to see if the error returns or I'll try to deal with it preemptively. I'm sure these steps will come in handy.

Messages In This Thread
RE: Can't access my code igniter 3 website - by Lazarus-CG - 04-08-2021, 08:03 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.