Archive: error

 

Posts Tagged ‘error’


If you are struggling to understand why Magento is not finding images that are definitely there, the problem may well be that you are not prefixing your image with a slash, i.e for a new image we would put: /image.jpg and the image would be in media/import/image.jpg Unfortunately whoever wrote the Dataflow product importer though [...]



 

One of the first stumbling blocks newcomers to Magento might find is that when things go wrong, they don't know how to find out what it is that's actually going wrong. This is because Magento does an excellent job of keeping all of the error information away from people browsing the site. This is without [...]



 

I have never been a particular fan of PHP's standard stack trace - it tantalises you with a short snippet of info for each step of the trace that always seems to miss off the really useful bit of info. I have done previous posts before on how to get a more detailed stack trace. [...]



 

If you are scratching your head trying to figure out where in your Javascript the mysterious doIt error is coming from when testing using Chrome, this might just save you.. After loads of digging around it turns out that the error is actually caused by the Chrome SEO extension I had installed. Disable that and [...]



 

If your shiny new Magento 1.4 is displaying this error message at the bottom of the page then you might want to apply this fix. Fatal error: Exception thrown without a stack frame in Unknown on line 0 The solution is to comment out a small section of code in app/code/core/Mage/Core/Model/Cache.php line 180 PLAIN TEXT [...]



 

If you encounter the error : Invalid bind-variable name xxxxxx When trying to use named bound parameters with Zend Framework, then you are probably using the Mysqli adapter. Unfortunately this doesn't actually support named parameters, but the Exception message isn't really clear on that, despite being thrown in this block of code: PLAIN TEXT PHP: [...]



 

If you see this error message when trying to access the backups section of Magento Admin: Warning: Invalid argument supplied for foreach() in /home/*****/public_html/lib/Varien/Data/Collection/Filesystem.php on line 234 Then this simple fix is for you: replace (line 24): PLAIN TEXT PHP: foreach (glob($folder . DIRECTORY_SEPARATOR . ‘*’) as $node) { with this: PLAIN TEXT PHP: foreach [...]



 

If you get an error message like this: PLAIN TEXT CODE: Fatal error: Call to a member function getDbVersion() on a non-object in /var/www/magento/app/code/core/Mage/Core/Model/Resource/Setup.php on line 136 Then it looks like your app/etc/config.xml file has been corrupted somehow. Restore this file from a backup or otherwise replace it and hopefully you should be back in [...]