This is a VFP error, whose definition is as follows:
I am not sure why this error would oddur in this situation, unless your script that calls the FormField function is too complex. Of course the last bullet item (an error in Visual FoxPro), indicates that this may be due to a VFP bug.
From what you wrote in your original message, it seems that the problem only occurs when you upload large files. This may be an indication that the problem is not related to your code, but rather to a combination of a VFP limitation and insufficient memory on your server.
Sent by Jphilippe LAPORT on 10/06/2003 01:45:02 AM:
Finally, I've succeed to retrieve an errors.dbf, running on Window 2000.
We have the same error on this Server, using the same program.
The error obtained is in French :
Message : Espace de pile insuffisant.
(I think the English traduction is : "Stack overflow" )
Program : FORMFIELD WWW_READ.FXP
Prev_prog : SAVEDOC C:\INETPUB\SANDIWEB\CGI-SHL\CHARGEFILE
Lineno : 339
Line : ...
Sent by FoxWeb Support on 09/11/2003 03:42:52 PM:
The FoxWeb Error Log always contains additional information about the "Error in FoxWeb Foundation Program" message. If the information you find is not sufficient, please post it here, or send us a copy of the log. We will need errors.dbf, errors.cdx and errors.fpt.
By the way, your form tag is incorrect. The correct syntax is:
Sent by Jphilippe LAPORT on 09/11/2003 08:23:56 AM:
I have a problem with Foxweb 1.29 :
I use a script which upload Files from Clients to the Server. Here is a part of my script :
html_out = 'content-type=text/html'
<input type="file" name="fichier" size=40 value="">
Here is my procedure save:
W_file = formfield("fichier", ,2)
W_type = formfield("fichier", ,3)
W_rep = 'c:\temp\'
W_res = WriteFile("&W_rep.image\&W_file",W_fichier)
html_out = procedureError
These scripts work very well, here. But At client's home, I have this error when the file to upload is more than 200 ko :
Error in CGI data Server
There was an error during the interpretation of your request.
Error #: 0 Message: Error in FoxWeb Foundation Program Program: FoxWeb