In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Dependency Graph View Issue ] Relation Graph ] Vertical ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0001002 [In-Portal CMS] Database bug report always 2011-02-14 11:59 2011-03-30 09:53
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0001002: Process critical database errors even when debug mode is off
Description If any error will happen during database query execution, then:
* in debug mode: fatal error will be raised and script execution stops
* in non-debug mode: warning is raised and script continues to execute

It works pretty well actually, since (as we thought before) no MySQL error could be important enough to stop script execution for regular users (not developers).

We was wrong actually, since these errors require reconnecting to MySQL server to fix them:
* #2006 - MySQL server has gone away
* #2013 - Lost connection to MySQL server during query


In case on of these errors will happen during database query execution, then we should:
1. disconnect and connect to MySQL again
2. try to run database query that raised an error
3. do 3 retries and if we still got an error, then

- act the same as before
OR
- die?
Additional Information



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker