Wyatt, It works just fine on my workstation. Could this be an issue in difference between .ini files?
An email is sent by the site when this occurs (i.e., often). This is the error: OperationalError: (OperationalError) (2006, 'MySQL server has gone away') u'SELECT accounts.id AS accounts_id, accounts.acct_no AS accounts_acct_no, ................... Looks like for some reason the app is unable to connect to MySQL. It seems that, by refreshing the page, a connection is made and the error doesn't occur. Thanks Edgar On Apr 26, 12:56 am, Wyatt Baldwin <[email protected]> wrote: > On Apr 25, 7:14 pm, edgarsmolow <[email protected]> wrote: > > > Works fine on my workstation, but after deploying the site to our web > > server, I'm seeing a strange error. The first time I go to a page, > > unable to connect to the database which causes an error page to be > > displayed. Refresh the page, and voila! the page works just fine. > > > Does anyone know why it can't connect to the database during the > > initial visit to the page, but can connect after that? > > Most likely because that first request causes some initialization to > happen. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
