World: r3wp
[!CureCode] web-based bugtracking tool
older newer | first last |
Henrik 30-Aug-2009 [622] | ** Script Error : draw has no value ** Where: generate ** Near: [save/png img: make binary! 25000] Looks like it. |
Dockimbel 30-Aug-2009 [623] | response/clear => you've found a bug, it's a typo, as Will says, it should be response/reset. (now fixed in 0.9.9). |
Henrik 30-Aug-2009 [624] | ok, thanks |
Dockimbel 30-Aug-2009 [625] | Did you removed the admin user creation from the install script? You need that admin user in order to create new projects and manage them (the bug you just hit is in a code branch that is evaluated only if a non-admin user try to access manager pages). |
Henrik 30-Aug-2009 [626] | I didn't. I'm currently wondering how to get View to run on this headless Linode server, so the captcha process can work. |
Dockimbel 30-Aug-2009 [627x2] | I'm sorry that the install process is not more handier, AFAIK, you're just the 2nd user (after Graham) trying to install CC. I guess that I can call that a "community" and start working on a nicer install process. ;-) |
Make View work on linux (debian/ubuntu) : http://cheyenne-server.org/blog.rsp?view=14&cmt=on#comments | |
Henrik 30-Aug-2009 [629x3] | thanks |
I understand. :-) it can be hard to make things plug and play, when you are worried about the simplicity of the app. | |
seems all packages in that list are installed, but no go for View. | |
Will 30-Aug-2009 [632] | why not put CC on svn like you did for Cheyenne 8) |
Henrik 30-Aug-2009 [633x2] | hmm... installing the Cheyenne from the link above, rolls out 2 new errors: script error ! filter-access has no value script error ! enum-projects has no value |
perhaps the app-init.r file is now not being run | |
Dockimbel 30-Aug-2009 [635x2] | It seems that an error is occuring in app-init.r. Is the captcha working? |
installing the Cheyenne from the link above => you've installed Cheyenne 0.9.17?? | |
Henrik 30-Aug-2009 [637] | the captcha appears not to be working, but there is no DRAW error this time. |
Dockimbel 30-Aug-2009 [638] | The cheyenne version that you should be using is http://cheyenne-server.org/dl/0919/linux/face/cheyenne.gz |
Henrik 30-Aug-2009 [639x4] | ok, thanks. I must admit, it's rather hard to keep track of which cheyenne is running. |
which version | |
yes, finally. captcha available now. | |
now a new error... possibly mail related. | |
Dockimbel 30-Aug-2009 [643] | you need to edit %CureCode/private/curecode.conf to set the correct mail server. |
Henrik 30-Aug-2009 [644] | URL = /bugs/register.rsp File = www/bugs/register.rsp ** Script Error : read expected source argument of type: file url object block ** Where: send-confirmation ** Near: [template: read join locale/get-path %email-activation.tpl] |
Dockimbel 30-Aug-2009 [645] | Check the %/private/helper.r script, they might be some things hardwired in 'send-confirmation function (like mail server). |
Henrik 30-Aug-2009 [646] | The output of this: join locale/get-path %email-activation.tpl is: nonenone/email-activation.tpl |
Dockimbel 30-Aug-2009 [647x2] | Did you change something in %app-init.r? Did you create the webapp correctly in Cheyenne's config file? |
This line in the webapp declaration should remain with a relative path : locales-dir %private/locales/ | |
Henrik 30-Aug-2009 [649x4] | ah, that one. thanks. |
ok, new error. where does %private/ start? my root dir occurs twice in locale/get-path | |
webapp [ virtual-root "/bugs/" root-dir %www/bugs/ locales-dir %private/locales/ ] | |
I see you used an absolute path for root-dir in the example you gave above, but in the example testapp in httpd.cfg, the root-path is relative, so I used that here. | |
Dockimbel 30-Aug-2009 [653] | Try with an absolute path for root-dir. I remember having hit the same issue once a long time ago, but can't remember the fix. |
Henrik 30-Aug-2009 [654x2] | yep, that works. now I get the mail error I expected. configuring smtp... |
I think it would be a good idea to create a set of sanity checks, to check that the webapp paths are correct and that the right rebol version is used. that would be the easiest way to improve installation. | |
Dockimbel 30-Aug-2009 [656] | Yep, sure. I have currently 2 weeks of intensive coding for upgrading one of our commercial product. Once done, I'll get back to CureCode with some major improvements in plan. |
Henrik 30-Aug-2009 [657x5] | crap... seems I need to install my own smtp server. |
Successfully sent mail from a rebol command prompt, but it doesn't work in Cheyenne, despite identical set-net config. Odd. | |
URL = /bugs/register.rsp File = /home/henrikmk/serve/www/bugs/register.rsp ** User Error : Server error: tcp connection failed ** Where: none ** Near: [insert smtp-port reduce [from reduce [addr] tmp]] | |
and it should be running with root privileges. | |
DocKimbel, I noticed that it's spelled "STMP-server" in the config file and in the other sources. Is that correct? The correct spelling would be "SMTP-server" | |
Graham 30-Aug-2009 [662] | can't you use localhost as the smtp server? |
Henrik 30-Aug-2009 [663x3] | from rebol yes, cheyenne, apparently not. |
If I'm right, sending mail only happens in the helper.r file. But even if I try to make an error well before the actual mail sending happens in 'send-confirmation, it still returns a tcp error. It seems I'm not hitting the right place in the code. | |
BTW, I spotted another error with the captcha: URL = /bugs/captcha.rsp File = /home/henrikmk/serve/www/bugs/captcha.rsp ** Access Error : Port none not open ** Where: confirm ** Near: [save/png img: make binary! 25000] At that time I noticed the image was not displayed in the browser, but it only happened once. | |
Graham 30-Aug-2009 [666] | I never got the captcha working the way doc has it .. I had to write my images to the public folder and display them from there. |
Henrik 30-Aug-2009 [667] | it's probably a permissions problem |
Graham 30-Aug-2009 [668x4] | in ram? |
There used to be a tracker at http://softinnov.org:8000/curecode | |
for curecode itself ... | |
send-confirmation: func [ spec [block!] vkey [string!] /local url login pass template ][ system/user/name: "REBOL3 Tracker" set-net reduce [[no-reply-:-curecode-:-org] "softinnov.com"] url: rejoin [ request/headers/Host either request/server-port = 80 [""][join ":" request/server-port] request/web-app "/validate.rsp?id=" url-encode spec/login "&key=" vkey ] login: spec/login pass: spec/pass template: read join locale/get-path %email-activation.tpl replace template "$url" url replace template "$login" login replace template "$pass" pass send/subject spec/email template rejoin ["[REBOL3 Tracker] " say "Account activation"] ] | |
older newer | first last |