FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour mistake
Posts: 16
Joined: Thu Jan 22, 2009 06:24 AM
mistake
Posted: Fri Nov 01, 2019 08:50 AM

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?

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: mistake
Posted: Fri Nov 01, 2019 08:59 AM

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
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: mistake
Posted: Fri Nov 01, 2019 10:39 AM

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

Posts: 16
Joined: Thu Jan 22, 2009 06:24 AM
Re: mistake
Posted: Fri Nov 01, 2019 02:19 PM

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

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: mistake
Posted: Sat Nov 02, 2019 04:45 PM

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

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: mistake
Posted: Sat Nov 02, 2019 09:12 PM
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
Posts: 16
Joined: Thu Jan 22, 2009 06:24 AM
Re: mistake
Posted: Sun Nov 03, 2019 06:24 AM
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:)
Posts: 16
Joined: Thu Jan 22, 2009 06:24 AM
Re: mistake
Posted: Sun Nov 03, 2019 06:43 AM
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! :-)
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
Re: mistake
Posted: Mon Jan 27, 2020 07:51 AM
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 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: mistake
Posted: Mon Jan 27, 2020 03:44 PM

Please restart apache

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion