mistake

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
MMK
Posts: 7
Joined: Thu Jan 22, 2009 6:24 am

mistake

Post by MMK »

If when performing any .prg there was a mistake,
(for example at me midnight.prg gives a mistake) and after it to start the working .prg
(for example info.prg), in the browser the mistake will hang all the same. That info.prg
earned it is necessary to stop Apach in XAMPP'e, to start and refresh the page. Whether there is simpler option?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: mistake

Post by Antonio Linares »

Are you using Windows 32 or 64 bits ?

Those examples should work fine without errors

Could you post some screenshots ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Natter
Posts: 524
Joined: Mon May 14, 2007 9:49 am

Re: mistake

Post by Natter »

I am using Windows 64 and faced a similar situation. It's not the cause of the error, but the fact that, after each error, you need to restart Apache in XAMPP

For example I try to execute localhost\samples\AA.prg (in which I made a mistake) and get an error message. I correct the text AA.prg and run localhost\samples\AA.prg again. But until I restart Apache in XAMPP the browser page will not refresh
MMK
Posts: 7
Joined: Thu Jan 22, 2009 6:24 am

Re: mistake

Post by MMK »

Windows 64 bits
Xampp . Chrome
midnight.prg

Error: Unknown or unregistered symbol
operation: __DBGENTRY
called from: ../../../apache.prg, (b)MAIN, line: 50
called from: HB_HRBLOAD, line: 0
called from: ../../../apache.prg, EXECUTE, line: 116
called from: ../../../apache.prg, MAIN, line: 61
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: mistake

Post by Otto »

Hello,
can you please post the code of the prg file wihich causes the error.
So I can test on my servers.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: mistake

Post by Antonio Linares »

Error: Unknown or unregistered symbol
operation: __DBGENTRY
you need to run samples/debugoff.prg one or two times until this error goes away

HB_PRGFLAGS is set to -B and debugoff.prg removes this flag from the environment
regards, saludos

Antonio Linares
www.fivetechsoft.com
MMK
Posts: 7
Joined: Thu Jan 22, 2009 6:24 am

Re: mistake

Post by MMK »

Antonio Linares wrote:
Error: Unknown or unregistered symbol
operation: __DBGENTRY
you need to run samples/debugoff.prg one or two times until this error goes away
Remarkably! Many thanks:)
MMK
Posts: 7
Joined: Thu Jan 22, 2009 6:24 am

Re: mistake

Post by MMK »

Otto wrote:Hello,
can you please post the code of the prg file wihich causes the error.
So I can test on my servers.

Otto
It is an example from the samples folder - midnight.prg

Thank you for the instruction for installation! :)
User avatar
damianodec
Posts: 372
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia
Contact:

Re: mistake

Post by damianodec »

hi,
I try midnight.prg and get same erroe:
Error: Unknown or unregistered symbol
operation: __DBGENTRY
called from: ../../../apache.prg, (b)MAIN, line: 32
called from: HB_HRBLOAD, line: 0
called from: ../../../apache.prg, EXECUTE, line: 98
called from: ../../../apache.prg, MAIN, line: 43
run debugoff.prg one or two times but nothing...
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: mistake

Post by Antonio Linares »

Please restart apache
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply