HMGSCRIPT Compilation problem

Moderator: Rathinagiri

Post Reply
Shyam
Posts: 12
Joined: Thu Jul 27, 2017 7:04 am
DBs Used: DBF, MySql, SQlite
Location: Ahmedabad, Gujarat, India
Contact:

HMGSCRIPT Compilation problem

Post by Shyam »

To

Dear Group Friends,

I have recently downloaded HMGSCRIPT042 and installed to C: drive

I executed BUILD-CGI.BAT

the above batch file doing some things for MYAPP.PRG but

I can not get output or executed from browser program,

what should I do for compile and run WEB programs
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMGSCRIPT Compilation problem

Post by mol »

Are you running any web server, eg. Apache or uhttp server? Did you copied cgi file to correct folder?
Shyam
Posts: 12
Joined: Thu Jul 27, 2017 7:04 am
DBs Used: DBF, MySql, SQlite
Location: Ahmedabad, Gujarat, India
Contact:

Re: HMGSCRIPT Compilation problem

Post by Shyam »

To,
Sir, mol

I am new for HMGSCRIPT

how to start and compile and run

I used core php and mysql,apache server

I know localhost type concept,


I do not know lavalrel or other frame work

Thanks
shyam
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMGSCRIPT Compilation problem

Post by mol »

I'm using WAMP 64 sometimes.
It's installed in C:\WAMP64
Apache server is installed inside this folder.
in Apache folder there is cgi-bin folder.
In this folder you should place your bin files.
You should check configuration to enable cgi-bin files

My path to cgi-bin is c:\wamp64\bin\apache\apache2.4.27\cgi-bin
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMGSCRIPT Compilation problem

Post by mol »

The problem is that a lot of commercial servers in internet work under linux OS.
In this case your preparation of cgi-bin file is more complicated.
Better solution is to convert database to mysql and you php procedures to get data from DB.
I've created one network application in this way and it works OK on any server.
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMGSCRIPT Compilation problem

Post by mol »

Besides, hmgscript files are js, html and php files - you don't compile them
Post Reply