Welcome Guest, Not a member yet? Register   Sign In
using base_url in errors/error_404.php
#8

[eluser]vrencianz[/eluser]
Yep. I see what you mean: if
Code:
http://localhost/codeigniter/test1
(non-existent page) is accessed then <i>Fatal error: Class 'CI_Controller' not found in blabla/CodeIgniter.php on line 233</i> appears.

That means that there is no controller instance when the url points to a non-existent one.

If you really want to use helpers, views in your 404 responses take a look to this:

http://maestric.com/doc/php/codeigniter_404


Messages In This Thread
using base_url in errors/error_404.php - by El Forum - 05-08-2012, 11:02 PM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 12:57 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 01:04 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 01:15 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 01:24 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 01:54 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 01:59 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 02:15 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 10:06 AM
using base_url in errors/error_404.php - by El Forum - 05-09-2012, 04:37 PM
using base_url in errors/error_404.php - by El Forum - 05-06-2013, 08:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB