• Resolved riosbjj

    (@riosbjj)


    when I submit a form, the site redirects to homepage as specified, regardless whether data was successfully inserted into database or not. How can someone see an error message/error log / debug this plugin?

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @riosbjj

    I guess you are talking about the integration with a third party database through the “cp_calculatedfieldsf_insert_in_database.php” file, because if the issue is caused with the database of the plugin, if it fails the plugin stpos the execution and display an error message.

    Into the “cp_calculatedfieldsf_insert_in_database.php” file it is included the piece of code:

    
    catch( Exception $e )
    {
    	error_log($e->getMessage());
    }
    

    to generate a log in the error logs file if there is an error with your code, but as you can edit the code of this file as you want or need, you can stop the execution and display the errors in the browser.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘form redirect’ is closed to new replies.