Page 1 of 1

Error creating index

PostPosted: Wed Jun 03, 2020 5:24 pm
by tiagojbi
Hi, when using the command:

USE ( hb_GetEnv( "PRGPATH" ) + "/SUOEST.dbf" ) ALIAS "data" SHARED
INDEX ON field->COD TO data

I get server error:

Error: Erro de cria‡Ćo
filename: data.ntx
called from: ../../apache.prg, (b)MAIN, line: 50
called from: ORDCREATE, line: 0
called from: ../../../rddord.prg, DBCREATEINDEX, line: 0
called from: pcode.hrb, MAIN, line: 43
called from: HB_HRBDO, line: 0
called from: ../../apache.prg, EXECUTE, line: 116
called from: ../../apache.prg, MAIN, line: 61

Could someone give me a light?
I used commands via SSH in the hosting:

cd jbiloja
sudo chmod 755 data
sudo chown www-data:www-data *.*

Re: Error creating index

PostPosted: Fri Jun 05, 2020 5:06 pm
by Carles
Hi,

You need specify all path of index

C.