FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour Error creating index
Posts: 16
Joined: Mon Mar 09, 2020 04:27 PM
Error creating index
Posted: Wed Jun 03, 2020 05:24 PM

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 .

Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: Error creating index
Posted: Fri Jun 05, 2020 05:06 PM

Hi,

You need specify all path of index

C.

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix

Continue the discussion