Welcome Guest, Not a member yet? Register   Sign In
Spicing up error pages (404, DB, etc)
#3

[eluser]t'mo[/eluser]
[quote author="ucantblamem" date="1199355799"]...my views I have a "sitemap" which calls helper functions like base_url() and anchor(), but if I include() this file in the /errors/error_404.php file, PHP complains that it doesn't know what the base_url() function is, etc... This is of course, because the error_404.php file is a stand-alone PHP file[/quote]

I was just reading an article about this very topic (http://www.rfinteractive.com/rfi-blogs/l...-foun.html) and wondered how I'd build the same sort of thing. When you get an answer to an "elegant" solution, I'd like to hear about it too. :-)


Messages In This Thread
Spicing up error pages (404, DB, etc) - by El Forum - 01-02-2008, 10:23 PM
Spicing up error pages (404, DB, etc) - by El Forum - 01-14-2008, 03:51 AM
Spicing up error pages (404, DB, etc) - by El Forum - 01-25-2008, 11:25 PM
Spicing up error pages (404, DB, etc) - by El Forum - 01-26-2008, 01:31 AM
Spicing up error pages (404, DB, etc) - by El Forum - 01-26-2008, 12:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB