Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » error.inc produces invalid html
error.inc produces invalid html [message #3371] Thu, 24 January 2013 08:12 Go to previous message
jjtoranzo2004 is currently offline  jjtoranzo2004
Messages: 261
Registered: September 2012
Senior Member

The error handler generates invalid html pages.

They are missing the following tags:
<!DOCTYPE html>
<title>This is the title </title>
<!-- here goes the content -->

Element <h2> cannot be a child of element <font>, nor of element <b>.
Element <p> cannot be a child of element <font>, nor of element <b>.

The REQUEST_URI contains a hyperlink with an unencoded ampersand. It should be changed to &amp;

Example of the html code generated by the error handler:

<h2>This application has encountered an unrecoverable error</h2>
<p>The following has been reported to the administrator:</p>

<b><font color='red'>
<h2>2006-09-25 05:06:17</h2>
<p>Fatal Error: mysqli_connect(): Cannot connect to database 'audit'..</p>
<p>Error in line 232 of file 'C:\xampp\htdocs\radicore\includes\dml.mysqli.class.inc'.</p >
<p>PHP_SELF: /radicore/dict/database(list1).php</p>
<p>CURRENT DIRECTORY: C:\xampp\htdocs\radicore\dict</p>
<p>SERVER_NAME: localhost</p>
<p>HTTP_HOST: localhost</p>
<p>REQUEST_URI: /radicore/dict/database(list1).php?selection=dict_table(list 1)&session_name=menu0 </p>



Read Message
Read Message
Read Message
Previous Topic: sample v3.0.0 search error
Next Topic: sample v3.0.0 XHTML markup errors
Goto Forum:

Current Time: Mon Jul 15 06:43:49 EDT 2024

Total time taken to generate the page: 0.02690 seconds