error to find DBF file
Posted: Mon May 04, 2020 3:07 pm
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,
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,