Post by Qphoria » Fri Aug 07, 2009 9:37 am

It seems silly to me that just because 1 small file like a language file is missing, the entire site shuts down on you. I've changed all my "exits" to "echo" so that the error reports, but I can still get into my site. Even if the language file is missing i'd rather see things like "text_enabled" and "text_login" than a big ugly error that makes the site unusable.

Would be nice to see this at least as an admin switchable feature.

At any rate for others who hate the error

Find all places where you see:
exit(....)
and change to
echo ....

Example:
In system/engine/controller:
Change:

Code: Select all

exit('Error: Could not load controller ' . $child . '!');
To:

Code: Select all

echo 'Error: Could not load controller ' . $child . '!';
This will then print the error, but still allow you to access your site

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 3 guests