Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Error - zipfiles not found?

$
0
0
Re: Error - zipfiles not found?
Web Connection
Re: Error - zipfiles not found?
Mar. 20, 2013
04:44 pm
3QQ0ZVA63Show this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:Harvey Mushman

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 ---



Strange error keeps poping up from time to time... the problem is cleared by clearing out memory or restarting VFP. Below is the error message that is returned.

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



Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393