Error creating index

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
tiagojbi
Posts: 16
Joined: Mon Mar 09, 2020 4:27 pm

Error creating index

Post 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 *.*
User avatar
Carles
Posts: 937
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: Error creating index

Post by Carles »

Hi,

You need specify all path of index

C.
Salutacions, saludos, regards

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

https://modharbour.app
https://modharbour.app/compass
https://forum.modharbour.app
Post Reply