Re: [WebDNA] Processor Maxing out
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 104914
interpreted = N
texte = 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 whichcould cause a permissions issue. You may want toadd a "timeout" param to that context as well.I'm guessing this code came from someone that wasnot using relative paths... so things like aboveand:[search db=/[encrypt method=base64&file=^/ etc.may be an issue depending on your preference settings.I like to use relative-to-thetemplate-paths most often.Lastly, you have a sendmail in there.. maybe checkyour 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 WebDNAfor the email directories in WebCatalogEngine.-Make sure you are setting up your emailer prefsin the correct spot.. ie, if this is in a sandbox,your email prefs need to be set up in the sandboxadmin, 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-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.com
Associated Messages, from the most recent to the oldest:
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 whichcould cause a permissions issue. You may want toadd a "timeout" param to that context as well.I'm guessing this code came from someone that wasnot using relative paths... so things like aboveand:[search db=/[encrypt method=base64&file=^/ etc.may be an issue depending on your preference settings.I like to use relative-to-thetemplate-paths most often.Lastly, you have a sendmail in there.. maybe checkyour 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 WebDNAfor the email directories in WebCatalogEngine.-Make sure you are setting up your emailer prefsin the correct spot.. ie, if this is in a sandbox,your email prefs need to be set up in the sandboxadmin, 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-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.com
Donovan Brooke
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:
Sorting by sku (2001)
WebCat2b13MacPlugIn - [include] (1997)
[WebDNA] PDF creation (2013)
[WebDNA] EMailer timezone bug? (2015)
SiteEdit NewFile.html ? (1997)
Num Sort Descending (OT) (2004)
Chatroom (2000)
Javascript Form Validation (2002)
PIXO support (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Generating unique SKU from [cart] - FIXED! (1997)
Search design (1997)
Not reading blanks (1998)
no template caching (1997)
[WebDNA] Convertchars Weirdness (2014)
weird happenings (1997)
Re2: Calculating multiple shipping... (1997)
Two stores, one server (1998)
Working with framesets (1998)
Linux Install Question (2000)