Yes, you hit the nail on the head:
If you are not using the VFP Run-Time DLL:
Any version of FoxWeb will automatically compile scripts.
If you are using the VFP Run-Time DLL:
FoxWeb 3 will automatically compile PRG and FWX scripts as long as they are directly referenced in the URL, or are called with the Server.Execute and Server.Transfer methods. If they are called with the DO command, or as is the case here, as regular VFP functions, then they will need to be compiled manually (fwadmin.fwx, Compile object, fwxcompile.exe).
FoxWeb Support Team support@foxweb.com email |
Sent by Michael Wheat on 05/05/2005 02:40:52 PM:
FoxWeb Support Team,
I am using the latest version of the software. I just downloaded it the other day. I paid for the license a couple days ago and have not heard back from sales. I am using VFP8 runtime dll's. Anyway,
I thought FoxWeb will compile the files if the file is newer than the existing FXP file. Do I have to compile the external prg libraries manually because they are not being called within the url?
I am looking to have global procedures and functions that my other prg/fwx files can call.
Thank you,
Mike
Sent by FoxWeb Support on 05/05/2005 01:14:46 PM:
Are you running FoxWeb with the VFP Run-Time DLL? This is controlled by a setting in the Configuration screen of the FoxWeb Control Center. If yes, then you need to make sure that you compile all PRG and FWX files manually. If you are running FoxWeb 3 and above, and VFP 6 and above, you can use the new fwadmin.fwx to compile files from a Web browser. For details, please refer to the following links:
FoxWeb Support Team support@foxweb.com email |
Sent by Michael Wheat on 05/04/2005 03:19:21 PM:
Hi,
I am trying to make a procedure call to an external procedure outside the fxp file. The procedure file is in c:\Program Files\FoxWeb\Programs. I keep getting this error saying that the file does not exist.
<%=OLBFooterLogin()%>
This is the same as in the samples. Even the samples fail.
Error#: 1
Message: File 'olbheaderlogin.prg' does not exist.
Program: c:\program files\foxweb\programs\olblogin.fxp
Line#: 48
Line: OLBFooterLogin()
Any ideas what I am doing wrong?
Thank you,
Mike