View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
This is a VFP error, whose definition is as follows:
Insufficient stack space (Error 1308)
One of the following has occurred:
- Your program is too recursive.
- Your program is too complex and is nested too deeply.
- An error in Visual FoxPro.
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.

FoxWeb Support Team email

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" )
Errnum    :1308
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:
<form ENCTYPE="multipart/form-data" method="post" action="save@chargefile.fwx">

FoxWeb Support Team email

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'
    +'<form ENCTYPE="multipart/form-data" method post action=save@chargefile?>'
    <input type="file" name="fichier" size=40 value="">
Here is my procedure save:
Proc save
   W_fichier= formfield("fichier")
   W_file = formfield("fichier", ,2)
   W_type = formfield("fichier", ,3)
   W_rep = 'c:\temp\'
   W_res = WriteFile("&W_rep.image\&W_file",W_fichier)
   If !W_res
      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



Foxweb is working on Windows NT4 Workstation.

Can somebody help me ?