Error creating index

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

Error creating index

Postby tiagojbi » Wed Jun 03, 2020 5: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 *.*
tiagojbi
 
Posts: 16
Joined: Mon Mar 09, 2020 4:27 pm

Re: Error creating index

Postby Carles » Fri Jun 05, 2020 5: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
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1137
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 2 guests