Sounds like you might be losing the SET PROCEDURE TO? Make sure all your SET PROCEDURE TO calls are made with ADDITIVE to not clear the procedure stack.
+++ Rick ---
From: | Rick Strahl |
To: | Harvey Mushman |
+++ Rick ---
Error Message: File 'zipfiles.prg' does not exist.
Error Number: 1
Running Method: onload
Current Code: lnResult = zipfiles('c:\...myWConnect\reports\' +
JUSTSTEM(lcFilename) + '.zip',lcFilesToZip)
Current Code Line: 240
Exception Handled by: Cncprocess.OnError()
After restarting VFP the server works perfectlly!
The page code which is referred to above is as follows:
oAPI=CREATEOBJECT('wwAPI')* zip attachments and report into one download lcFilesToZip = lcFilesToZip + '" "' + 'c:\...myWConnect\reports\' + JUSTSTEM(lcFilename) + '.pdf"' lnResult = zipfiles('c:\...myWConnect\reports\' + JUSTSTEM(lcFilename) + '.zip',lcFilesToZip)this.cZipFile = [<a class="zipFiles" href="Reports/] + JUSTSTEM(lcFilename) + [.zip">Zip Download</a>]
In myApplicationMain I've included set procedure to wwAPI as well.
This application is running in file mode.
Any ideas would be greatly appreciated. <g>
--hm