Herman van Rink a écrit :
Marc Delisle wrote:
Hi,
about this bug https://sourceforge.net/tracker/?func=detail&aid=2107746&group_id=23...
there is a way to trap this fatal error. Using register_shutdown_function() we can define a function that calls error_get_last(). Michal gave me a suggestion to keep the error message in session data and display it later. Of course it would be better to display it on the export interface but I can't find a way.
Is this only relevant when you 'Save as file' or in other cases as well?
I think this only hurts a user when saving as file because a user counts on this file as a backup and it's incomplete.
So, would it be worthwhile to display the error message on the user's next click (assuming he does a next click in phpMyAdmin)?
On the next click is better then nothing, but still a risk.
Regards,
Herman