World: r3wp
[!CureCode] web-based bugtracking tool
older newer | first last |
Henrik 30-Aug-2009 [651x2] | 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"] ] | |
Henrik 30-Aug-2009 [672] | yes, I thought I could make an error! earlier in that function, but I still get a TCP error. |
Graham 30-Aug-2009 [673] | You know that ?? logs to trace.log |
Dockimbel 30-Aug-2009 [674] | STMP-server : thanks for finding that one! |
Graham 30-Aug-2009 [675] | So, was your smtp error related to trying to connect to sofinnov's mail server? |
Henrik 30-Aug-2009 [676] | I was trying to use ??, but couldn't get it to work. |
Dockimbel 30-Aug-2009 [677] | Port none not open on save/png...odd one. |
Graham 30-Aug-2009 [678x2] | Oh .. that's for RSP. |
helper.r is in the global name space ... so ?? may not work | |
Dockimbel 30-Aug-2009 [680] | Try debug/probe instead. |
Henrik 30-Aug-2009 [681x6] | debug/probe mold spec inserted on the first line... |
no difference. it still reports tcp error. it must be coming some time before that function. | |
got debug/probe working now. it definitely stops at 'send-confirmation. | |
oh that's it. I just need to fill that function up with debug/probes and it works. :-) got a mail now. | |
graham or doc, could you please try registering at: http://97.107.135.89/bugs/register.rsp | |
your account will be deleted after testing is done | |
Graham 30-Aug-2009 [687x3] | Type the code your read in the following image should be .. type in the code below or similar |
I'm registered and in! | |
nice work .. hope you document all the fixes you had to make. | |
Henrik 30-Aug-2009 [690] | cool. now I need to access the admin account. only need the password. |
Graham 30-Aug-2009 [691x4] | yeah ... you only have the hash! |
encode-pass: func [pass [string!]][ enbase/base checksum/method pass 'md5 16 ] | |
use that to create your new password and store that in the db | |
ie. store the result. | |
Dockimbel 30-Aug-2009 [695x3] | default admin account is : nimda |
that's in comment somewhere (build.sql or install script) | |
Registering: ok Email: ok Login/logou: ok | |
Henrik 30-Aug-2009 [698] | this is sweet! complete user and project management. |
Dockimbel 30-Aug-2009 [699x2] | v0.9.9 is a little bit better for management. |
I'll make a package asap, so you can upgrade. | |
older newer | first last |