Hooks doesn't work..Collections [FOUND the Devil !]

Unfortunely the hook call lock my collection, the only way to have access to my database is to erase hooks in data.js.
Have someone the same problem ?
thx
Mauro

1 Like

I was going crazy! Wix Assistance told me that the hooks violated access to my database, so I had to remove them. Access was repressed, BUT, nothing seemed to go in the right direction.
The problem is elsewhere.
The Wix database engine that imports is not consistent , that’s the problem.

I’ve 2 sites, 1st created almost two years ago and the other one a week ago.

1st problem :
The import engine is in not able to manage Date items in the format dd/mm/ YY

2nd problem
So If I import a .csv file with Date in format dd/mm/ YYYY in my newer wix site, ok it works and the Date items seem good.
But if I import the same file in the oldest wix site, the major part of the Date items are red, incorrectly imported !!

I hand edited with Text editor in Mac OS X the csv file, the problem is that in the oldest site, the engine is not able to correctly manage the date format dd/ m /yyyy, but only the dd/ mm /yyyy.

Of course the solution is to correctly manage date in Excel, choosing the right format (dd/mm/YYYY in my case) before to export to .csv file.

That’s all
Mauro