mistake

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

mistake

Postby MMK » Fri Nov 01, 2019 8: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?
MMK
 
Posts: 13
Joined: Thu Jan 22, 2009 6:24 am

Re: mistake

Postby Antonio Linares » Fri Nov 01, 2019 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: mistake

Postby Natter » 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
Natter
 
Posts: 1219
Joined: Mon May 14, 2007 9:49 am

Re: mistake

Postby MMK » Fri Nov 01, 2019 2: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
MMK
 
Posts: 13
Joined: Thu Jan 22, 2009 6:24 am

Re: mistake

Postby Otto » Sat Nov 02, 2019 4: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: mistake

Postby Antonio Linares » Sat Nov 02, 2019 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: mistake

Postby MMK » Sun Nov 03, 2019 6: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:)
MMK
 
Posts: 13
Joined: Thu Jan 22, 2009 6:24 am

Re: mistake

Postby MMK » Sun Nov 03, 2019 6: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! :)
MMK
 
Posts: 13
Joined: Thu Jan 22, 2009 6:24 am

Re: mistake

Postby damianodec » Mon Jan 27, 2020 7: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 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
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: mistake

Postby Antonio Linares » Mon Jan 27, 2020 3:44 pm

Please restart apache
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 7 guests