[ Djovanoti @ 30.10.2006. 13:56 ] @
Imam problem sa mail formom , i on je sledeci:stalno mi se pojavljuje

Error
No email was sent due to an error.

403 No variable substitutions in template

/home/radocom/public_html/e mail template.txt

cgiemail 1.6

Probao sam i sa obicnom html formom i ona radi...
http://www.rado.com.mk/e mail template.html

txt file je sledeci...
http://www.rado.com.mk/e mail template.txt



code u fla je sledeci...
Code:
stop();

var myMCL:MovieClipLoader = new MovieClipLoader();

// -------------------<send form LoadVars>------------------- \\
var gatherForm:LoadVars = new LoadVars();

function sendForm() {
    gatherForm.email_to = "[email protected]";
    gatherForm.visitor_email = contactForm.userEmail.text;
    gatherForm.visitor_name = contactForm.userName.text;
    getherForm.visitor_comments = contactForm.userComments.text;
    
    gatherForm.send("http://rado.com.mk/cgi-bin/cgiemail/e mail template.txt", "_blank", "POST");
}






Neko resenje?????
[ milantrax2005 @ 30.10.2006. 17:52 ] @
Probaj da u putanji praznine zamenis sa ovim _

Sto ovo ima ekstenziju TXT?

Kakav je sadrzaj tog TXT fajla?

Jel tu ima neki Perl kod ?
[ Djovanoti @ 31.10.2006. 09:38 ] @
Probao sam sa _ ali tako uopste ne radi...
Sadrzaj txt fajla je:

email_to: [email protected]
Subject: kontakt

visitor_email [userEmail]
visitor_name [userName]
visitor_comments [userComments]

U toj formi stize praceni mail...Nisam video a jos manje ja uradio Rerl kod.Ako mi treba taj kod gde da ga nadjem?
Na serveru ima neke /pretpostavljam/ cgi skripte koje ne znam gde da ih editiram i kako uopste da ih editiram

Ali cudi me kako html forma radi a flash forma nece da radi...

[ milantrax2005 @ 31.10.2006. 10:34 ] @
Otvori tu HTML stranu i pogledaj do koje CGI skripte prosledjuje podatke sa forme.Tu putanju do te CGI skripte ubaci u Flash gde ti je ono send.Taj text ti je kao neko upustvo u kom obliku da posaljes podatke sa forme toj skripti.Ti podatke iz Flash-a moras proslediti direktno CGI skripti...samo ti treba njena putanja.

Nema potrebe da editujes CGI skript,mozda i ne mozes :)
[ stolex @ 31.10.2006. 14:00 ] @
od koga si video da treba da stavljas blanko karaktere u imenu fajla?

nisam mogao da ocitam html (moguce bas zbog toga), a txt fajl je uglavnom neupotrebljiv.
[ Djovanoti @ 31.10.2006. 15:41 ] @
Jos nisam resio problem...
Probao sam sa istom putanjom kao u html dokumentu ali opet se pojavljuje
Error
No email was sent due to an error.

403 No variable substitutions in template

/home/radocom/public_html/e mail template.txt

cgiemail 1.6
Probao sam da ubacim direkno do jedinog fajla sa extenzijom .cgi
gatherForm.send("http://www.rado.com.mk/cgi-bin/randhtml.cgi", "_blank", "POST");
}
ali se pojavljuje
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.rado.com.mk Port 80


....a to sa e mail template sam radio sledeci neki tutorijal za cgi >>> http://web.mit.edu/wwwdev/cgiemail/user.html

Neznam vise sta da probam...
Ako neko zna da mu posaljem .fla file + pristup do strane a? a? a?
[ milantrax2005 @ 31.10.2006. 19:32 ] @
To verovatno nije taj CGI skript.Probaj t da gadjas ponovo onaj TXT fajl samo nemoj da ima praznine u nazivu...kao u upustvu.