SysX
10-28-2005, 04:48 AM
In a form that have connected to a MySQL database this error keeps popping up at the top of the page:
An error occurred in script c:\Inetpub\wwwroot\website\config.inc on line 8
This is the document it's refering to:
<?php # Script config.inc
// This script sets the error reporting and logging for the site.
error_reporting (0); // Production level
// Log a message to a text file when a problem occurs.
$message = 'An error occurred in script ' . __FILE__ . ' on line ' . __LINE__ . "\n";
error_log ($message, 3, 'errors.txt');
?>
the form is supposed to be submitting details to the database but it isn't at the moment.
Can any one help me?
Kind regards
SysX
An error occurred in script c:\Inetpub\wwwroot\website\config.inc on line 8
This is the document it's refering to:
<?php # Script config.inc
// This script sets the error reporting and logging for the site.
error_reporting (0); // Production level
// Log a message to a text file when a problem occurs.
$message = 'An error occurred in script ' . __FILE__ . ' on line ' . __LINE__ . "\n";
error_log ($message, 3, 'errors.txt');
?>
the form is supposed to be submitting details to the database but it isn't at the moment.
Can any one help me?
Kind regards
SysX