2010/4/6 Yarko Tymciurak <resultsinsoftw...@gmail.com>: > On Apr 5, 11:55 am, Yarko Tymciurak <resultsinsoftw...@gmail.com> > wrote: >> On Apr 5, 3:23 am, Alexei Vinidiktov <alexei.vinidik...@gmail.com> >> wrote: >> >> > I think I got it to work! I deleted the domain from the control panel >> > altogether and then readded it, and web2py 1.76.5 started working. >> > Problem solved for the time being. I don't know what what the exact >> > cause though. >> >> I'm guessing here, as you did not explicitly say - maybe you did not >> stop / restart the server (i.e. Apache...). Not sure how Dreamhost >> has it configured, but removing the app and re-installing it would >> have that effect also. > > The general thing to remember: > > Your app is read on a per-request basis: first models, then the > controller, and the function call; > If you change any core modules, you need to restart the server > (otherwise, just reload the page!). > Getting used to developing by just updating the code, I sometimes > forget when a restart needs to happen. > I'm not sure, but in the past I think adding a module (?) also needed > a server restart (not sure exactly why; correct me if I'm wrong). > > - Yarko
Thanks, Yarko! I didn't realize I could reboot my VPS at Dreamhost, but I've now found that there is such functionality in the control panel. [...] -- Alexei Vinidiktov -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.