ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Can you catch db errors?

April 08, 2010 1:57pm

Subscribe [1]
  • #1 / Apr 08, 2010 1:57pm

    Derek The Jew

    2 posts

    I’m attempting to run a script that involves a few things including reloading the page itself over and over. Sometimes I’ll get a server has gone away error using the DB class and this causes the script to stop. I would like to know if there’s a way to catch the error and force a page reload. I’ve attempted to use a try catch in php with no success.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases