Page 1 of 1

mistake

Posted: Fri Nov 01, 2019 8:50 am
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?

Re: mistake

Posted: Fri Nov 01, 2019 8:59 am
by Antonio Linares
Are you using Windows 32 or 64 bits ?

Those examples should work fine without errors

Could you post some screenshots ?

Re: mistake

Posted: Fri Nov 01, 2019 10:39 am
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

Re: mistake

Posted: Fri Nov 01, 2019 2:19 pm
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

Re: mistake

Posted: Sat Nov 02, 2019 4:45 pm
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

Re: mistake

Posted: Sat Nov 02, 2019 9:12 pm
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

Re: mistake

Posted: Sun Nov 03, 2019 6:24 am
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:)

Re: mistake

Posted: Sun Nov 03, 2019 6:43 am
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! :)

Re: mistake

Posted: Mon Jan 27, 2020 7:51 am
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...

Re: mistake

Posted: Mon Jan 27, 2020 3:44 pm
by Antonio Linares
Please restart apache