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
-~----------~----~----~----~------~----~------~--~---

Reply via email to