Page 1 of 5

Fivewin & web

PostPosted: Tue Jan 31, 2017 9:16 pm
by damianodec
Hi guys
Is there any concrete example of FWH and web?
Thank you
Damiano

Re: Fivewin & web

PostPosted: Wed Feb 01, 2017 11:09 am
by Antonio Linares
Damiano,

You may review FiveWeb:

https://bitbucket.org/fivetech/fiveweb/wiki/Home

A RAD for the Web using Harbour and FiveWin syntax

Re: Fivewin & web

PostPosted: Wed Feb 01, 2017 1:06 pm
by norberto
Hi,
im trying this :

http://itarraco.com/demo_dr/dr.php

user
1234

http://itarraco.com/forum/


and to app, visual studio with Xamarin.

regards

Re: Fivewin & web

PostPosted: Thu Feb 02, 2017 10:35 am
by byte-one
Antonio, i have first tested FiveWeb but the resulting exe runs not! The server reports a error.

Re: Fivewin & web

PostPosted: Thu Feb 02, 2017 10:36 am
by Antonio Linares
what error is it ?

Re: Fivewin & web

PostPosted: Thu Feb 02, 2017 10:43 am
by byte-one
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
suexec policy violation: see suexec log for more details
[Thu Feb 02 11:28:43.927429 2017] [cgid:error] [pid 23575:tid 140161375508224] [client 213.225.4.29:57138] End of script output before headers: demo.exe

Re: Fivewin & web

PostPosted: Thu Feb 02, 2017 10:47 am
by Antonio Linares
Please post here the source code of demo.prg

Re: Fivewin & web

PostPosted: Thu Feb 02, 2017 10:50 am
by byte-one
Antonio, demo.prg is from the sample-folder of FiveWeb.

Re: Fivewin & web

PostPosted: Thu Feb 02, 2017 11:17 am
by Antonio Linares
Please try with tutor01.prg

I recently modified FiveWeb to use Bootstrap instead of JQuery UI and actually FiveWeb is broken

but tutor01.prg should work fine

Re: Fivewin & web

PostPosted: Thu Feb 02, 2017 3:15 pm
by byte-one
Antonio, thanks. Now i know that on my server no exe run, as on the server runs linux.
On XAMPP the exes run, but no dialogs are produced, only the text is to see. The msginfo(...) is displayes normal.

Re: Fivewin & web

PostPosted: Thu Feb 02, 2017 8:13 pm
by Antonio Linares
Günther,

You can use Harbour and FiveWeb for Linux too

If you pull a previous FiveWeb version from bitbucket, before I pushed the changes for Bootstrap,
then FiveWeb will work fine

Re: Fivewin & web

PostPosted: Thu Feb 02, 2017 9:12 pm
by byte-one
Antonio, thanks, but i found not a older version from fiveweb!?

Re: Fivewin & web

PostPosted: Thu Feb 02, 2017 10:46 pm
by Antonio Linares
You need to fetch a certain commit from the repository:

git fetch https://bitbucket.org/fivetech/fiveweb 29401af838a5ecf922945433e9a63bc6331c7989

not sure how to do this using TortoiseGit on Windows

We may do it from OSX, where git runs from the terminal

Re: Fivewin & web

PostPosted: Fri Feb 03, 2017 8:35 am
by damianodec
hi Antonio,
I explain my need:
Now I read from server (AS400) with SELECT embedded in FWH and it's ok.
my company in the future will change this way and we will use server linux and web.
Can you tell me if is it possible to use FWH in the future?
which way?

Damiano

Re: Fivewin & web

PostPosted: Fri Feb 03, 2017 9:50 am
by Antonio Linares
Damiano,

You can run Harbour and FiveWeb on Linux server, so you could reuse your Harbour source code

Or you rewrite your app using another language as PHP, etc