Search found 16 matches

by berpa
Wed Mar 08, 2023 11:07 am
Forum: mod_harbour
Topic: Custom error handling
Replies: 0
Views: 947

Custom error handling

Hello everyone,

I need to write server errors (e.g. alias not valid, variable does not exist, unknown or unregistered symbol, etc.) in a log file for subsequent analyses.

I tried to override ERRORSYS procedure or to define a custom ERRORBLOCK but in both way I was not able to obtain the log file ...
by berpa
Wed Dec 07, 2022 4:32 pm
Forum: mod_harbour
Topic: A big hit: Neither Apache and mod_harbour are needed
Replies: 61
Views: 27233

Re: A big hit: Neither Apache and mod_harbour are needed

Hello everybody,

we are trying the new HbWeb functionality that seems really interesting.

However in our tests on FiveDBU.exe we can't obtain the results shown in the forum.

The Windows application FiveDBU.exe is generated with buildhmt.bat and seems to run as expected.
When we start the ...
by berpa
Mon Dec 05, 2022 3:55 pm
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

I've just tried with your libraries and all seems to work correctly.

Thank you again.

I'm just wondering what are the difference between your libraries and those which sent me Antonio, and also with the ones which I compiled by myself.

However now I have a functional mod_harbour + ADS environment ...
by berpa
Mon Dec 05, 2022 3:20 pm
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

You can send the files to paolo.beria[at]top-systemsrl.com.

Thanks in advance.
by berpa
Mon Dec 05, 2022 2:21 pm
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

Hi Paolo,
i'm using mod_harbour + ADS in Ubuntu 20.04 Linux distrib.

If you want contact me via mail . I can send you mod_harbour lib.
I suggest you to install ADS libs using this way:

1 - Download aceapi SDK using this command : wget "https://devzone.advantagedatabase.com/dz/download.aspx?Key=WD ...
by berpa
Thu Dec 01, 2022 3:15 pm
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

I am sorry but, despite all your help, I did not manage to make it work.

I will try again in the next days and let you know if I can finally find the solution.

Thanks again to everybody.
by berpa
Thu Dec 01, 2022 1:32 pm
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

Hello Giuliano,

thank you for your hint.

I will try to install ads libraries as you said.
I managed to successfully compile harbour libs following Antonio's guide so I think that my only problem are ads libs.
by berpa
Thu Dec 01, 2022 1:12 pm
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

I've sent you another email with the link to the ads files.

Anyway, I downloaded it from devzone advantagedatabase: https://devzone.advantagedatabase.com/dz/content.aspx?key=20&Release=19

This is the link from which I have downloaded the file: https://devzone.advantagedatabase.com/dz/content.aspx ...
by berpa
Thu Dec 01, 2022 11:56 am
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

I have sent you the file along with the URL of the site from where I have downloaded it.

Maybe I should try with the x86 version of the libraries even if I am working in a x64 environment?
by berpa
Thu Dec 01, 2022 11:24 am
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

I have tried to put libace.so and libadsloc.so in:
- ~/mod_harbour/linux/
- /var/www/html/

I have tried to put all permissions to those files.
I also tried to have both libace.so - libace.so.11.10.0.24 and libadsloc.so - libadsloc.so.11.10.0.24 in both directories.

Neither of those solved the ...
by berpa
Thu Dec 01, 2022 10:35 am
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

Thank you for the instruction on how to compile mod_harbour with ADS.

I've tried the file you sent me but I'm sorry to say that it does not work.
The browser receives no response from the server and in apache error.log there is the error:
/usr/sbin/apache2: symbol lookup error: /tmp/libharbour ...
by berpa
Thu Dec 01, 2022 9:38 am
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

Ok, I got it... I had to restart apache... :oops:

Now I get this error (both in my application and in mod_harbour examples):

mod_harbour version Dec 1 2022, 10:10:00
/tmp/libharbour.-846395648.-210844650: undefined symbol: HB_FUN_ADS
failed to load hb_apache()

Am I doing something wrong?
by berpa
Thu Dec 01, 2022 9:31 am
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

I am trying, but now it does not work anymore (even the examples bundled with harbour).
Maybe it's something about the permissions.

I will try to reconfigure mod_harbour environment from the start and I'll let you know if it works.

Thank you.
by berpa
Thu Dec 01, 2022 9:15 am
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

Thank you for your effort.

I also tried to compile mod_harbour following this guide https://github.com/FiveTechSoft/mod_harbour/tree/master/linux but did not succeed.
I got stuck on the step
chmod +x go.sh
./go.sh
because I could not find the go.sh script mentioned in the guide.

Anyway, I think ...
by berpa
Wed Nov 30, 2022 3:08 pm
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 40278

Re: mod_harbour + ADS on linux server

Dear Antonio,

thank you for you kind reply.

I am using Ubuntu Server 20.04 64 bit.
I also forget to mention the version of the ADS libraries which is 11.10.0.24. I tried with the 64 bit version of libace.so and libadsloc.so.