Re: How to get comments.py work?
Wari Wahab <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Joseph Reagle wrote: >config.py is in: > /home/reagle/data/2web/reagle.org/joseph/pyblosxom/web/ >(whatever "web" means), but I have no problem importing it: > > Ok, just to inform you on your previous mail that you got an importerror because tb.cgi cannot find config.py >If I move it, doesn't make any difference in any case. > > Ok, just as long as you know how to get to config.py.. BTW, everything in the web directory is supposed to go into where your web server can see the files, like cgi-bin/ or your documentroot. I have no idea what to name that directory except for web/ if you've got a better suggestion, you can tell me and I'd take that into consideration. >I'm not sure to what you refer. (I'm using the default comment flavours.) In >the comment form, if I type an e-mail, URL, and Comment, it accepts it. If >I also give it a Name -- for some weird reason -- I get an Apache error. >You can try it yourself at: > http://reagle.org/joseph/blog/test/one > It would be more helpful if you uncomment the cgitb line in your blog program, all of us can then see the actual errors, btw, a name is mandatory, so if you don't fill in the name parameter, the comment plugin seems to accept it, but in actual fact it is ignoring the comment. I hope Ted will fix this to produce an actual error instead. >In any case, I'm probably going to go offline today while I move, and maybe >by the time I get back on-line, 0.8-final will be out and my problems will >dissapear. <smile/> > Your problem seems to be that the webserver cannot write to the comment directory, just enable cgitb in your cgi program (a few lines below the sys.path.append lines) and we hope to see the actual error messages. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01