We have a service maintained by you where we upload a project using mo_harbour.
Whose link is: http://54.37.60.42/jbiloja/index.prg
But at the address: http://54.37.60.42/jbiloja/index.prg?ca-2
You should bring the contents of a DBF file, but you can't find it.
The prg used is a copy of http://54.37.60.42/modharbour_samples/d ... /data5.prg which is in the samples.
We made a change to point to another database but when trying to access the final file:
http://54.37.60.42/jbiloja/data/data-ca-2.prg shows the error:
Error: Open error
filename: /var/www/html/jbiloja/data/SUOFOR.dbf
called from: ../../apache.prg, (b) MAIN, line: 50
called from: DBUSEAREA, line: 0
called from: pcode.hrb, MAIN, line: 23
called from: HB_HRBDO, line: 0
called from: ../../apache.prg, EXECUTE, line: 116
called from: ../../apache.prg, MAIN, line: 61
The line used to trigger DBF is:
USE (hb_GetEnv ("PRGPATH") + "/SUOFOR.dbf") ALIAS "data" SHARED
On a local test server it works but when we upload the project to xbhosts, it generates the above error.
Could you help us?
Graciously,
error to find DBF file
Re: error to find DBF file
Sorry for my lack of attention.
For those who have a similar problem in the future, the DOCs have the solution: https://github.com/FiveTechSoft/mod_har ... the-server.
I performed the suggested actions and solved the problem.
For those who have a similar problem in the future, the DOCs have the solution: https://github.com/FiveTechSoft/mod_har ... the-server.
I performed the suggested actions and solved the problem.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: