I'm creating a website and I want to be able to read and write to and from a mysql database. I've built up my site and tested the store/model/gridpanel with inline data in the store to confirm it works.
I then built a php file to access my database and return the matching data in json format. I've tested the php page out (by directly accessing it in the browser) and it does return the data correctly.
The problem I'm running into is my store/proxy setup. When I fire up my site I and try to access the store, I get:
My store contains a url. The store looks like this:
Uncaught Ext.data.proxy.Server.buildUrl(): You are using a ServerProxy but have not supplied it with a url.
The url is definitely pointing to the right file (appending it to the end of the site's url returns the desired list(I'll be enabling the .htaccess file later so you can nav to the file, btw)), but I still get that error.
extend : 'Ext.data.Store',
requires : ['Ext.data.reader.Json','Ext.data.writer.Json'],
type : 'ajax',
url : 'resources/php/weddingdb.php',
reader : 'json'