jasonhinkle / phreeze

Phreeze Framework for PHP
http://phreeze.com/
GNU Lesser General Public License v2.1
377 stars 207 forks source link

Not Loading Table #260

Open victorhalla opened 7 years ago

victorhalla commented 7 years ago

For some tables phreeze just shows Loading but not load anything. I found the following error:

controles.js:10 Uncaught TypeError: model.ControleCollection is not a constructor

Debuging the error I realize that for some reason the model.js loaded by browser does not found this model, but I can find it on the file created by phreeze.

image

What is happening here ?

stevetx30 commented 7 years ago

In your model.js look for model.ControlCollection Might want to look at line 10 in controles.js and see that object as well

fredscud commented 7 years ago

Same problem here. The reason was a table containing a blank space in its name.