I go through this tutorial and my problem is that I am not getting any function. Include the error in "Global configuration and Model creation" (when assigning the variable Mage::getModel('weblog/blogpost') while the model does not exist yet).
At some point, I found an if statement in /index.php that calls the following method: Mage::setIsDeveloperMode(true); To test this, I put it outside the if statement (which I know is not good practice).
As a result, I received this warning:
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : XML declaration allowed only at the start of the document in /home/dowebro/public_html/magento/lib/Varien/Simplexml/Config.php on line 510
but still there is no error that I would expect.
So, how can I get rid of this warning, but more importantly, how can I see errors in design mode?
Thanks!
EDIT: Although I continue this tutorial, I see that I am not getting any feedback from the main classes. Example: I should get "Cannot get entity configuration: weblog / blogpost", trying to get data from a model whose definition is incomplete. Well, no .: |
source share