dbrowse.prg

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

dbrowse.prg

Postby gruncic » Fri Nov 01, 2019 2:41 pm

Mod_harbor is a great project.
I think it will give a new life to the harbour and its community.

I installed mod_harbur on windows 10(64bit) ( XAMPP 64bit) and started to study the work of dbrowse.prg program.
In normal operation everything works correctly .
When I press the button NEXT quickly several times the program stops working.


I'm also sending a log for error analysis

Sory for my english


[Thu Oct 31 22:02:12.216629 2019] [ssl:warn] [pid 5992:tid 608] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 31 22:02:12.375628 2019] [core:warn] [pid 5992:tid 608] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Oct 31 22:02:12.383629 2019] [ssl:warn] [pid 5992:tid 608] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 31 22:02:12.436629 2019] [mpm_winnt:notice] [pid 5992:tid 608] AH00455: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.10 configured -- resuming normal operations
[Thu Oct 31 22:02:12.436629 2019] [mpm_winnt:notice] [pid 5992:tid 608] AH00456: Apache Lounge VC15 Server built: Aug 11 2019 12:20:04
[Thu Oct 31 22:02:12.436629 2019] [core:notice] [pid 5992:tid 608] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Oct 31 22:02:12.443630 2019] [mpm_winnt:notice] [pid 5992:tid 608] AH00418: Parent: Created child process 5856
[Thu Oct 31 22:02:13.670629 2019] [ssl:warn] [pid 5856:tid 720] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 31 22:02:13.819629 2019] [ssl:warn] [pid 5856:tid 720] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 31 22:02:13.878629 2019] [mpm_winnt:notice] [pid 5856:tid 720] AH00354: Child: Starting 150 worker threads.

Unrecoverable error 6005: Exception error:

Exception Code:C0000005 ACCESS_VIOLATION
Exception Address:00007FFFE921B8E8
RAX:0000000000000000 RBX:0000000000000020 RCX:0000000000000002 RDX:000002DB212CB7C8
RSI:00007FFFE8FB0000 RDI:000002DB21273D08 RBP:0000000000000001
R8 :0000000000000000 R9 :00007FFFE9491A40 R10:0000000000000FF8 R11:000002DB21273D08
R12:0000000000000000 R13:0000000000000000 R14:0000000000000000 R15:000002DB1FC424A0
CS:RIP:0033:00007FFFE921B8E8 SS:RSP:002B:000000F263F3F570
DS:002B ES:002B FS:0053 GS:002B
Flags:00010203
Exception Parameters: 0000000000000000 0000000000000008

Modules:
00007FF6F6B90000 000000000000C000 C:\xampp\apache\bin\httpd.exe
00007FF83BC60000 00000000001F0000 C:\Windows\SYSTEM32\ntdll.dll
00007FF83AD60000 00000000000B2000 C:\Windows\System32\KERNEL32.DLL
00007FF8383E0000 00000000002A3000 C:\Windows\System32\KERNELBASE.dll
00007FF838730000 00000000000FA000 C:\Windows\System32\ucrtbase.dll
00007FF8173A0000 0000000000072000 C:\xampp\apache\bin\libhttpd.dll
00000000659C0000 0000000000047000 C:\xampp\apache\bin\libaprutil-1.dll
00007FF83A250000 000000000006F000 C:\Windows\System32\WS2_32.dll
00007FF83A3B0000 0000000000120000 C:\Windows\System32\RPCRT4.dll
00007FF8394E0000 00000000000A3000 C:\Windows\System32\ADVAPI32.dll
00007FF83A190000 000000000009E000 C:\Windows\System32\msvcrt.dll
00007FF83B300000 0000000000097000 C:\Windows\System32\sechost.dll
0000000065980000 0000000000037000 C:\xampp\apache\bin\libapr-1.dll
00007FF839870000 00000000006E2000 C:\Windows\System32\SHELL32.dll
00007FF8391F0000 000000000004A000 C:\Windows\System32\cfgmgr32.dll
00007FF839740000 00000000000A9000 C:\Windows\System32\shcore.dll
00007FF83AA20000 0000000000336000 C:\Windows\System32\combase.dll
00007FF838830000 0000000000080000 C:\Windows\System32\bcryptPrimitives.dll
00007FF8388D0000 000000000077C000 C:\Windows\System32\windows.storage.dll
00007FF838690000 000000000009E000 C:\Windows\System32\msvcp_win.dll
00007FF8381D0000 000000000001F000 C:\Windows\System32\profapi.dll
00007FF838210000 000000000004A000 C:\Windows\System32\powrprof.dll
00007FF8381A0000 0000000000010000 C:\Windows\System32\UMPDC.dll
00007FF83A4D0000 0000000000052000 C:\Windows\System32\shlwapi.dll
00007FF83B5B0000 0000000000026000 C:\Windows\System32\GDI32.dll
00007FF839240000 0000000000021000 C:\Windows\System32\win32u.dll
00007FF839050000 0000000000194000 C:\Windows\System32\gdi32full.dll
00007FF839F60000 0000000000193000 C:\Windows\System32\USER32.dll
00007FF8381F0000 0000000000011000 C:\Windows\System32\kernel.appcore.dll
00007FF8388B0000 0000000000017000 C:\Windows\System32\cryptsp.dll
00007FF8157D0000 0000000000064000 C:\xampp\apache\bin\pcre.dll
00007FF8324A0000 0000000000016000 C:\Windows\SYSTEM32\VCRUNTIME140.dll
0000000065970000 000000000000D000 C:\xampp\apache\bin\libapriconv-1.dll
00007FF8379B0000 0000000000067000 C:\Windows\SYSTEM32\MSWSOCK.dll
00007FF83B8D0000 000000000002E000 C:\Windows\System32\IMM32.DLL
00007FF837520000 0000000000033000 C:\Windows\system32\rsaenh.dll
00007FF8383B0000 0000000000026000 C:\Windows\System32\bcrypt.dll
00007FF837B80000 000000000000C000 C:\Windows\SYSTEM32\CRYPTBASE.dll
00007FF812230000 00000000000AC000 C:\xampp\apache\bin\libssl-1_1-x64.dll
00007FFFF7A10000 0000000000349000 C:\xampp\apache\bin\libcrypto-1_1-x64.dll
00007FF833C90000 0000000000009000 C:\xampp\apache\modules\mod_access_compat.so
00007FF833B60000 0000000000008000 C:\xampp\apache\modules\mod_actions.so
00007FF833B50000 000000000000A000 C:\xampp\apache\modules\mod_alias.so
00007FF833B00000 0000000000007000 C:\xampp\apache\modules\mod_allowmethods.so
00007FF82F7E0000 0000000000007000 C:\xampp\apache\modules\mod_asis.so
00007FF82F4E0000 0000000000009000 C:\xampp\apache\modules\mod_auth_basic.so
00007FF82F1A0000 0000000000009000 C:\xampp\apache\modules\mod_authn_core.so
00007FF82E5F0000 0000000000008000 C:\xampp\apache\modules\mod_authn_file.so
00007FF82E530000 000000000000A000 C:\xampp\apache\modules\mod_authz_core.so
00007FF82E1A0000 0000000000009000 C:\xampp\apache\modules\mod_authz_groupfile.so
00007FF822D40000 0000000000009000 C:\xampp\apache\modules\mod_authz_host.so
00007FF822D30000 0000000000007000 C:\xampp\apache\modules\mod_authz_user.so
00007FF822D20000 000000000000D000 C:\xampp\apache\modules\mod_autoindex.so
00007FF822D10000 000000000000A000 C:\xampp\apache\modules\mod_cgi.so
00007FF822D00000 000000000000A000 C:\xampp\apache\modules\mod_dav_lock.so
00007FF822C90000 000000000001A000 C:\xampp\apache\modules\mod_dav.so
00007FF822CF0000 0000000000009000 C:\xampp\apache\modules\mod_dir.so
00007FF822C80000 0000000000007000 C:\xampp\apache\modules\mod_env.so
00007FF822C70000 000000000000A000 C:\xampp\apache\modules\mod_headers.so
00007FF822C60000 0000000000010000 C:\xampp\apache\modules\mod_include.so
00007FF8226B0000 000000000000C000 C:\xampp\apache\modules\mod_info.so
00007FF821120000 000000000000C000 C:\xampp\apache\modules\mod_isapi.so
00007FF821110000 000000000000D000 C:\xampp\apache\modules\mod_log_config.so
00007FF821100000 000000000000C000 C:\xampp\apache\modules\mod_cache_disk.so
00007FF81E980000 0000000000012000 C:\xampp\apache\modules\mod_cache.so
00007FF81D060000 000000000000A000 C:\xampp\apache\modules\mod_mime.so
00007FF81D050000 000000000000D000 C:\xampp\apache\modules\mod_negotiation.so
00007FF81CC60000 000000000001E000 C:\xampp\apache\modules\mod_proxy.so
00007FF81D040000 000000000000F000 C:\xampp\apache\modules\mod_proxy_ajp.so
00007FF81CC40000 0000000000014000 C:\xampp\apache\modules\mod_rewrite.so
00007FF81CC30000 0000000000009000 C:\xampp\apache\modules\mod_setenvif.so
00007FF81CC20000 000000000000A000 C:\xampp\apache\modules\mod_socache_shmcb.so
00007FF81B9D0000 0000000000032000 C:\xampp\apache\modules\mod_ssl.so
00007FF81C890000 000000000000B000 C:\xampp\apache\modules\mod_status.so
00007FF81C440000 0000000000008000 C:\xampp\apache\modules\mod_version.so
00007FF81C420000 000000000001B000 C:\xampp\apache\modules\mod_harbour.so
00007FFFE9AB0000 0000000000908000 C:\xampp\php\php7ts.dll
00007FF839380000 0000000000156000 C:\Windows\System32\ole32.dll
00007FF8376C0000 000000000003A000 C:\Windows\SYSTEM32\IPHLPAPI.DLL
00007FF837700000 00000000000CA000 C:\Windows\SYSTEM32\DNSAPI.dll
00007FF83A180000 0000000000008000 C:\Windows\System32\NSI.dll
00007FF81ABC0000 0000000000033000 C:\xampp\php\libpq.dll
00007FF82B3A0000 000000000000C000 C:\Windows\SYSTEM32\Secur32.dll
00007FF838090000 000000000002F000 C:\Windows\SYSTEM32\SSPICLI.DLL
00007FF81B9C0000 000000000000D000 C:\xampp\php\php7apache2_4.dll
00007FF81A0E0000 0000000000019000 C:\xampp\php\ext\php_bz2.dll
00007FF811D30000 0000000000089000 C:\xampp\php\ext\php_curl.dll
00007FF83B900000 0000000000068000 C:\Windows\System32\WLDAP32.dll
00007FF83A170000 0000000000008000 C:\Windows\System32\Normaliz.dll
0000000180000000 000000000003B000 C:\xampp\apache\bin\libssh2.dll
00007FF818060000 0000000000026000 C:\xampp\apache\bin\nghttp2.dll
00007FFFE9580000 0000000000529000 C:\xampp\php\ext\php_fileinfo.dll
00007FF80DEA0000 00000000001A2000 C:\xampp\php\ext\php_gd2.dll
00007FF81A0C0000 0000000000012000 C:\xampp\php\ext\php_gettext.dll
00007FF800900000 000000000015E000 C:\xampp\php\ext\php_mbstring.dll
00007FF818040000 0000000000015000 C:\xampp\php\ext\php_exif.dll
00007FF817560000 000000000001E000 C:\xampp\php\ext\php_mysqli.dll
00007FF81B0B0000 000000000000C000 C:\xampp\php\ext\php_pdo_mysql.dll
00007FFFFF690000 00000000000E1000 C:\xampp\php\ext\php_pdo_sqlite.dll
00007FF816AE0000 0000000000022000 C:\xampp\php\ext\php_openssl.dll
00007FF838260000 0000000000149000 C:\Windows\System32\CRYPT32.dll
00007FF8381B0000 0000000000012000 C:\Windows\System32\MSASN1.dll
00007FF812210000 0000000000012000 C:\xampp\php\ext\php_ftp.dll
00007FF83A2E0000 00000000000C4000 C:\Windows\System32\OLEAUT32.dll
00007FF834BC0000 00000000000EF000 C:\Windows\SYSTEM32\PROPSYS.dll
00007FFFE8FB0000 00000000005CC000 c:\xampp\htdocs\libharbour.dll
00007FF83B3A0000 00000000000CF000 C:\Windows\System32\COMDLG32.dll
00007FFFFC4E0000 0000000000100000 C:\xampp\apache\bin\libcurl.dll
00007FF82F3D0000 00000000000A9000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.18362.295_no
Called from HBARRAY(112)
[Thu Oct 31 22:02:36.688040 2019] [mpm_winnt:notice] [pid 5992:tid 608] AH00428: Parent: child process 5856 exited with status 3221225477 -- Restarting.
[Thu Oct 31 22:02:36.959137 2019] [ssl:warn] [pid 5992:tid 608] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 31 22:02:37.035161 2019] [mpm_winnt:notice] [pid 5992:tid 608] AH00455: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.10 configured -- resuming normal operations
[Thu Oct 31 22:02:37.035161 2019] [mpm_winnt:notice] [pid 5992:tid 608] AH00456: Apache Lounge VC15 Server built: Aug 11 2019 12:20:04
[Thu Oct 31 22:02:37.035161 2019] [core:notice] [pid 5992:tid 608] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Thu Oct 31 22:02:37.048673 2019] [mpm_winnt:notice] [pid 5992:tid 608] AH00418: Parent: Created child process 16304
[Thu Oct 31 22:02:38.447755 2019] [ssl:warn] [pid 16304:tid 620] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 31 22:02:38.604755 2019] [ssl:warn] [pid 16304:tid 620] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Oct 31 22:02:38.661756 2019] [mpm_winnt:notice] [pid 16304:tid 620] AH00354: Child: Starting 150 worker threads.
User avatar
gruncic
 
Posts: 3
Joined: Thu Oct 31, 2019 9:14 pm
Location: Serbia

Re: dbrowse.prg

Postby Antonio Linares » Fri Nov 01, 2019 6:38 pm

thank you

Yes, we are aware of such errors, still wondering why they happen and how to avoid them...

Welcome!
regards, saludos

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

Re: dbrowse.prg

Postby gruncic » Wed Nov 06, 2019 9:15 pm

After searching the web the solution to this problem is :

Step 1: Open httpd-ssl.conf at here:
C:\xampp\apache\conf\extra

Step 2: Hash the line, and change to “localhost”
#ServerName www.example.com:443
ServerName localhost

Step 3: Save and restart Apache. Done

( https://medium.com/@chongfai13/fixed-ww ... 8087630e94)

Although it may still interrupt the program with fast key press .
User avatar
gruncic
 
Posts: 3
Joined: Thu Oct 31, 2019 9:14 pm
Location: Serbia

Re: dbrowse.prg

Postby Antonio Linares » Thu Nov 07, 2019 5:58 am

Many thanks!
regards, saludos

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

Re: dbrowse.prg

Postby Silvio.Falconi » Thu Nov 07, 2019 11:45 am

How link dbedit.prg into dbrowse.prg to edit a record ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7066
Joined: Thu Oct 18, 2012 7:17 pm

Re: dbrowse.prg

Postby gruncic » Thu Nov 07, 2019 7:19 pm

I did not link anything, everything is done by mod_harbur.
I'm still in the beginning in studying mod_barbour.
User avatar
gruncic
 
Posts: 3
Joined: Thu Oct 31, 2019 9:14 pm
Location: Serbia

Re: dbrowse.prg

Postby Otto » Thu Nov 07, 2019 9:50 pm

Hello,
is this only a problem when we use localhost.
I never saw this error but I always work through internet.
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: 6333
Joined: Fri Oct 07, 2005 7:07 pm


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 10 guests