View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
Yes, but are you getting an error message if you try to compile this file from fwadmin.fwx?

FoxWeb Support Team
support@foxweb.com email

Sent by Michael Wheat on 05/09/2005 02:17:34 PM:
From Error Log:
File 'fw_exit.prg' does not exist.
 
On Browser:
Error trying to call postprocessor (FW_EXIT)
 
Code in fw_Exit.prg:
SET PROCEDURE TO
RETURN .T.
 
 
Sent by FoxWeb Support on 05/09/2005 02:11:32 PM:
You don't need fw_exit.prg in order to have fw_enter.prg.  Can you remember what the error message was?  It's possible that there was a bug in your original version of fw_exit.prg.

FoxWeb Support Team
support@foxweb.com email

Sent by Michael Wheat on 05/09/2005 01:52:10 PM:
Hi Support Team,
 
I finally figured out how to make it work.  I think.
 
If I have fw_enter.prg, am I required to have a fw_exit.prg also?
 
If I am using FoxWeb Administration to compile these files and fw_exit exists, but fw_exit.fxp does not.  When I click compile scripts, I get an error.  If I delete fw_exit.prg, click compile scripts, recreate fw_exit.prg, click compile, it worked.
 
There is nothing in the docs about this.
 
Thank you for your help.
 
Mike
 
 
Sent by FoxWeb Support on 05/09/2005 01:30:14 PM:
Since you are using the run-time DLL, you will need to compile fw_enter.prg and fw_exit.prg whenever you modify their content.  At this point the two files have never been compiled, so you are getting an error because there is no corresponding FXP file on your server.  In the future you will need to be extra careful when you modify PRG and FWX scripts, because the VFP run-time DLL will run FXP files, regardless of whether there's a newer PRG file.
 
The easiest way to compile files with FoxWeb 3 is the new fwadmin.fwx script.

FoxWeb Support Team
support@foxweb.com email

Sent by Michael Wheat on 05/09/2005 01:11:36 PM:
Hi,
 
I either fw_exit.prg or fw_enter.prg exist in the Programs folder, I get the following errors.
 
Error trying to call postprocessor (FW_EXIT)
 
Error trying to call preprocessor (FW_ENTER)
 
I am using runtime dll's and FoxWeb version 3.0
 
I am trying to set up environment by using these two files.
 
Thank you for the help.
 
Mike