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:
Bug or syntax error on my part? (1997)
HideIf ip= OR ip= (1998)
Add more fields to an existent data base (1997)
OT: Verbose messages - Web*4.2 (2000)
Sorting Numbers (1997)
Searching multiple Databases (1997)
RE: OK, here goes... (1997)
Multiple catalog databases and showcart (1997)
Smart caching problems with 2.1b3? (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Authenticate (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
Memory Error message (1998)
PCS Emailer's role ? (1997)
displaying New products (Yikes! it's Fixed!) (1997)
form data submission gets truncated (1997)
math problems (2000)
WebCat2 beta FTP site (1997)
WebCatalog can't find database (1997)
Database changes (1998)