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

Re: Can't run xxxtest.prg

$
0
0
Re: Can't run xxxtest.prg
FoxInCloud
Re: Can't run xxxtest.prg
12/13/2011
05:36:44 AM
3DS0C16AU Show this entire thread in new window
Another hint,
you should build your server on your production application, not on the copy made by FoxInCloud Adaptation Assistant

Hi Boyd,

Thanks for using the FoxInCloud section of wwThreads

1- Though you don't mention it, I guess you replaced 'xxx' by your application code ...
2- This is the code of xxxTest.prg:

LPARAMETERS ; tuFormsLaunch,; && [xxxServer.uFormsLaunchAtStartup] {en} Forms to launch at startup, .T. all tlHTMLcomment && [.F.] {en} Comment generated HTML && {en} tuFormsLaunch = .T. generates global styles sheet 'awDefaultAll.css' IF Pcount() = 0 CLEAR ALL && {en} useful during development LOCAL tuFormsLaunch, tlHTMLcomment && {en} CLEAR ALL released these variables ENDIF AW() && {en} Loads FoxInCloud resources SET PATH TO Addbs(JustPath(Sys(16))) + 'Progs\' ADDITIVE && {en} Replace 'Progs\' by the sub-folder in which you usually store your .prgs, where 'xxxEnv.prg' and 'xxxServer.prg' should reside SET PROCEDURE TO xxxServer, xxxSets ADDITIVE && {en} both these .prgs are automatically included to your project #IF File('xxxTest.forms') EXTERNAL FILE xxxTest.forms && {en} application forms generated with xxxServer.uFormsLaunchAtStartup = .T.; always keep included in project! #ENDIF RETURN awServerStart('xxxServerTest', m.tuFormsLaunch, m.tlHTMLcomment) && {en} Starts xxxServerTest in file mode

This instruction:

AW() && {en} Loads FoxInCloud resources

adds the procedure you mention to Set("PROCEDURE")

My best guess is that you probably have a SET PROCEDURE without ADDITIVE in between;
Otherwise cModuleInfo() and abSet class would be in scope.

HTH,
Thierry Nivelet
FoxInCloud

Hi:

I've been going through all the steps, I thought, meticulously. I've been foloowing directions from "Installing a Development FoxinCloud Application Server." I am now on Step A5 where I "DO <App folder>\xxxtest.prg."

When it his the statement:
RETURN awServerStart('xxxServerTest',m.tuFormsLaunch, m.tlHTMLcomment)
I get:
File 'cmoduleinfo.prg' does not exist
Followed by:
Cless Definition ABSET is not found

I cancel it there.

Any idea what I may be doing wrong?

TIA.

BR




Viewing all articles
Browse latest Browse all 10393

Trending Articles