Hi there,
Yesterday, I installed Dript in Drupal 5.1. I could only partially get it to work, mainly because of the lack of documentation. I didn't get much further than the "Hello World" example. But that's not the issue now.
This morning, I logged off as admin and logged back in as another user. All I got was an empty white screen, with this URL: http://www.xxx.xxx/?q=node/930&destination=node%2F930. Node 930 happens to be my frontpage.
When I erased everything from "?q=node" onward, I got my regular frontpage screen, but with these warnings / errors:
• warning: Cannot modify header information - headers already sent by (output started at /www/xxxxx/sites/all/modules/dript/lisp/lisp.inc:1593) in /www/xxxxx/includes/session.inc on line 100.
• warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /www/xxxxx/dru/includes/session.inc on line 103.
• warning: Cannot modify header information - headers already sent by (output started at /www/xxxxx/dru/sites/all/modules/dript/lisp/lisp.inc:1593) in /www/xxxxx/includes/common.inc on line 311.
I never had this error before. And it disappeared upon disabling Dript. So, somewhere, most likely, there's a blank line after the "?>" tag, the usual cause of the "headers already sent" error.
Hope it can be solved? And, while I'm at it, pleeeeeezzze do include a good series of Working Examples of Dript code!! For the developer, it is so obvious what the whole thing does, but for the rest of this world, it simply isn't. In the Dript Pages on the Drupal site, there were only a couple of very basic examples, and for the rest some "philosophical" musings about the advantages of Lisp. Nice, but it IS examples we're after!!
Ludo
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | lisp.patch | 91 bytes | tiziano |
Comments
Comment #1
tiziano commentedThere is a blank line at the end of file modules/dript/lisp/lisp.inc that should be dropped.