Well I'm back a bit earlier
I see a lot of posts, so I'm going to read them carefully and reply!
Other people have linked to Joomla! forum entries, but this could be the "Pingus effect"
I'll add in the links in the next revision.
I know I have a 404.php in my installation of Joomla! 1.0, but I don't have any other error numbers.
Thanks for verifying.
I don't see a /templates//css/error.css or /templates//error.php file.
What am I missing? I wonder if that is old documentation? Or, is there an example error.php file we can copy from somewhere to get started?
But, I believe you are talking about files that I do not see existing. So, we might need more information. Do you know where those files are?
That is very true... I now noticed not all templates have an error.php and error.css file included. I'll need to add to the document how to copy these files from /templates/system/error.php and /templates/system/css/error.css into their template's folder and then proceed, if necessary.
Also regarding "old documentation", I'm writing this document from viewing the file structure and Joomla!'s behavior, not from previous documentation, since it is probably outdated (anyways, I have not found previous documentation on custom error pages for Joomla!).
We'll figure it out. Now, do you understand how important this work is? This is a valuable document. Thank you for taking this task for our community. And personally if I would have more time, I would volunteer more hours to open source projects... but Google's incentive has "made time"
in my busy schedule... Developing new technologies, preparing to launch a startup, working on side projects for personal benefit/practice and school takes away most of your free time, unfortunately.
I am realizing how important this is, because when I Google "Joomla custom 404" or "Joomla custom error page", and variations of these, I cannot find any actual guide on doing this for Joomla!. This document is also very important since old documentation for Joomla! 1.0 wouldn't apply to Joomla! 1.5 due to the changes in file structure for error pages.
I noticed that, too. I also tried to navigate to a URL within my site that does not exist. That resulted in an error message "Notice: Undefined index: option in D:\VirtualWebsites\JoomlaPlace\JoomlaGHOP\includes\router.php on line 226." I do not believe the error.php file was used.
Need more info...
Thanks, Max. I should have been specific as the problem is with SEF URL pages. In particular, the SEF URL option absent index.php (so 2nd and 3rd.) But, you are right in that this can be documented using that testing. Then, hopefully, the bug will be figured out..
I didn't take into consideration SEF URLs... I'll experiment more with Joomla!'s SEF URLs and see if it is possible to use the template's error pages... (maybe using the code Amy posted on another thread, but that involves editing of the template source files)
Please let me know if there is any other way for Joomla! to also use error.php when using SEF URLs.
For the next revision...
- Adding links for Apache, IIS, etc. instructions on customizing error pages.
- Adding notes to copy files from System template if not provided by template.
And after publishing the next revision, going to experiment with SEF URLs error pages. Any extra info on this is welcome!
Well, I see I have plenty of work to do in the morning! Happy Holidays!