Page 1 of 1

Error accesing local database (openDatabase is not defined)

Posted: Sat Oct 06, 2012 10:25 am
by José María Gallardo Valle

Hello,

I'm using a local database in my proyect, and now I get the following error when I try to open it: Error: openDatabase is not defined.

The line is:

var db = openDatabase("hotel", "1.0", "Hoteles", 10000);

One day ago it did work.

Thanks


Error accesing local database (openDatabase is not defined)

Posted: Sat Oct 06, 2012 6:18 pm
by maxkatz

I don't know either why it doesn't work... it's your custom code. Check all the JavaScript, etc.. try to debug it. Make sure you are running in browser that supports this API.