fujitsuDev
New Member
Hi,
I get always a white page without any error/debug information when submit form for which I apply a 'replace' PHP validation. So I can't identify issue without this.
I had try this try-catch way but nothing happens...
https://joomla.stackexchange.com/questions/223/whats-the-correct-way-for-exception-handling
Example:
Condition:
PHP code:
Thanks for help!
I get always a white page without any error/debug information when submit form for which I apply a 'replace' PHP validation. So I can't identify issue without this.
I had try this try-catch way but nothing happens...
https://joomla.stackexchange.com/questions/223/whats-the-correct-way-for-exception-handling
Example:
Condition:
Code:
return isset(JFactory::getApplication()->input->get('select_value_to_check', 0, 'int'));
PHP code:
Code:
try
{
if (JFactory::getApplication()->input->get('select_value_to_check', 0, 'int') == "1") {
return 1;
} else {
return 0;
}
}
catch (Exception $e)
{
// How to catch and display error?
}
Thanks for help!