Re: [WebDNA] Processor Maxing out
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104919
interpreted = N
texte = Dan,I like the capitalize tip. That makes everything easier to read. Thanks.Tony Millertmiller@thehawkeye.comOn Mar 2, 2010, at 12:35 PM, Dan Strong wrote:> Maybe "eqcartdata=[eqcartdatarq]" is a cut/paste typo?> Should be "eqCARTDATArq=[cartdata]> > (I capitalize in these instances for this very reason)> > -Dan Strong> http://www.DanStrong.com> > > On 3/2/2010 10:30 AM, Donovan Brooke wrote:>> O.K., a quick glance:>> >> [search db=LineItems.db&eqcartdata=[eqcartdatarq]&rank=off][/search]>> >> doesn't do anything.>> >> >> >> [WriteFile ^/WorldShip.txt][body][/WriteFile]>> >> maybe:>> [WriteFile ^WorldShip.txt][body][/WriteFile]>> >> (not sure if "/" will try an absolute path which>> could cause a permissions issue. You may want to>> add a "timeout" param to that context as well.>> >> I'm guessing this code came from someone that was>> not using relative paths... so things like above>> and:>> >> [search db=/>> [encrypt method=base64&file=^/ etc.>> >> >> may be an issue depending on your preference settings.>> I like to use relative-to-the>> template-paths most often.>> >> Lastly, you have a sendmail in there.. maybe check>> your mail logs to see if the mail is getting through.>> If emailer gets stuck, it can cause race conditions.>> -You need a valid 'from' address in your sendmails.>> -Your permissions need to be writable by WebDNA>> for the email directories in WebCatalogEngine.>> -Make sure you are setting up your emailer prefs>> in the correct spot.. ie, if this is in a sandbox,>> your email prefs need to be set up in the sandbox>> admin, not the main admin.>> >> -Also, you have a double "]]" in the opening context.>> >> >> That's all I saw in a very quick pass through the code.>> >> Good luck.>> >> Donovan>> >> >> >> > ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288
Associated Messages, from the most recent to the oldest:
Dan,I like the capitalize tip. That makes everything easier to read. Thanks.Tony Millertmiller@thehawkeye.comOn Mar 2, 2010, at 12:35 PM, Dan Strong wrote:> Maybe "eqcartdata=[eqcartdatarq]" is a cut/paste typo?> Should be "eqCARTDATArq=[cartdata]> > (I capitalize in these instances for this very reason)> > -Dan Strong> http://www.DanStrong.com> > > On 3/2/2010 10:30 AM, Donovan Brooke wrote:>> O.K., a quick glance:>> >> [search db=LineItems.db&eqcartdata=[eqcartdatarq]&rank=off][/search]>> >> doesn't do anything.>> >> >> >> [WriteFile ^/WorldShip.txt][body][/WriteFile]>> >> maybe:>> [WriteFile ^WorldShip.txt][body][/WriteFile]>> >> (not sure if "/" will try an absolute path which>> could cause a permissions issue. You may want to>> add a "timeout" param to that context as well.>> >> I'm guessing this code came from someone that was>> not using relative paths... so things like above>> and:>> >> [search db=/>> [encrypt method=base64&file=^/ etc.>> >> >> may be an issue depending on your preference settings.>> I like to use relative-to-the>> template-paths most often.>> >> Lastly, you have a sendmail in there.. maybe check>> your mail logs to see if the mail is getting through.>> If emailer gets stuck, it can cause race conditions.>> -You need a valid 'from' address in your sendmails.>> -Your permissions need to be writable by WebDNA>> for the email directories in WebCatalogEngine.>> -Make sure you are setting up your emailer prefs>> in the correct spot.. ie, if this is in a sandbox,>> your email prefs need to be set up in the sandbox>> admin, not the main admin.>> >> -Also, you have a double "]]" in the opening context.>> >> >> That's all I saw in a very quick pass through the code.>> >> Good luck.>> >> Donovan>> >> >> >> > ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288
Tony Miller
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2 beta 11 - new prefs ... (1997)
Emailer prefs in two places ... (1997)
Status of variable hierarchy changes? (2000)
redirect from the errorsMessages.db entry (1997)
I'm having trouble using [url][interpret][math] together inlookup (1997)
Formvars in a formula? (2000)
WebCat virtual postcard is done! Thanks for the help! (1998)
Cannot calculate prices (1997)
BGcolor (1997)
Buying sans cart (1997)
[WebDNA] mail header timezone problem (2008)
Cookie Expires (2004)
2.0.1 new commands and contexts (1997)
[SHOWIF AND/OR] (1997)
WebCatalog Mac 2.1b3 (1997)
Mime Headers for Mail (1998)
2.0 Info (1997)
Sorry WebCatalog Server Not Running (2002)
Fax Broadcast (1998)
Date problems-more (1997)