Upgrade seemed to go well - I think I found most of the files that needed replacing. I want to get round to ObjNL some time, but at least it's now in place.
1 Download Dragonfly 0.60 from rundragonfly.
2 cd to example site.
3 Run server ./newlispServer
4 go to localhost:8080. Everything is OK.
5 Stop server in terminal.
6 Restart server.
7 go to localhost:8080. Error:
ERR: missing argument in function set
called from user defined function load-once
called from user defined function load-files-in-dir
8 quit and restart Safari and server
9 Everything is OK again.
I'm using Safari/Snow Leopard 10.6.2/. I'm trying to investigate this weirdness, but any clues as to where to look would be helpful...
Tried with a new download, same thing. Since the only thing I'm doing is Ctrl-C -ing the server process, perhaps the problem's related to that. But I don't understand the error
"ERR: missing argument in function set
called from user defined function load-once
called from user defined function load-files-in-dir"
- like there's some file/directory error somewhere...?
wait...
Ah - this only happens with Safari!! Opera and Firefox are fine. Only Safari does it every time...
After a bit more investigation, it seems that it's the second and subsequent pages which generate that error; the first one I load loads OK. I don't need to restart the server to see the error. No problems in Firefox, Opera, or Chrome. Conclusion - a weird Safari bug only on my machine that affects only locally-hosted Dragonfly sites... Weird!
Thanks for this interesting thing. But when I begin use it, I don't understand, how protect my configuration files without Apache. My .htaccess contains:
Dragonfly isn't a server though. Dragonfly is a web framework. It runs on top of a server. For example, it could run on top of the newLISP server, which may be what you're referring to, however the newLISP web server should never be used to host a real live site, it's just useful for testing purposes.