Quantcast
Channel: Edmonds Commerce » debugging
Browsing all 10 articles
Browse latest View live

Netbeans + Xdebug Not Highlighting Lines or Opening Files when Step Through...

If you use Netbeans along with Xdebug to facilitate step through debugging when coding PHP then you may come across this issue. It’s possible to get it into a semi working scenario where you can have...

View Article



Magento admin backend slow (quick speed tip)

One of the things that can catch you out if you have a paranoid server admin is that various magento extensions will contact external servers (such as SagePay or Mailchimp). If the server admin has...

View Article

PHP SimpleXML CData not loading + solution

The php simpleXML object is my preferred way of working with XML, but it has some unusual quirks that can drive you up the wall. One of these is that, by default, it will not read CDATA within an XML...

View Article

Magento addAttributeToFilter() and addAttributeToSelect()

These two Magento functions looks more like there is no obvious difference between them, but there is. addAttributeToFilter(‘some_attribute1′,’attribute_value’) filters a Magento entity collection (e.g...

View Article

Using Live Images on Staging Without Absolute URLs (but a bit of JS)

If you have a staging copy of your site anywhere then you might not bother copying over your entire catalogue of product images etc. You might decide to drop in absolute URLs for those images so that...

View Article


Format searched log files

When you are monitoring a log file you may want to narrow it down, and format the results. This simple one line command will break up the output from a log file to make it easier to quickly read tail...

View Article

PHP Stack traces you can click on! (in PhpStorm)

Having a stack trace is very handy at times but wouldn’t it be nice if you could click on the filename in the stack trace in your browser and your IDE take you to the file and line that it’s talking...

View Article

Tip: How to get the right-click reload button in Chrome

Recently the good folks at chrome have added a feature where you can reload without the cache, which is in a right-click on the reload button, but I was really confused as some machines seem to have it...

View Article


Register Shutdown Function not Working in Magento + Solution

I am currently putting together an automated system that converts user input within Magento. As this runs using cron, I will be unable to see if anything goes wrong, unless the errors are logged. Now...

View Article


SQLSTATE[28000]: Invalid authorization specification: 1045 Access denied for...

I have recently been running some MySql scripts that wrote to a file. These worked fine locally, but as soon as I deployed them I started to get the error above. After much looking around I came across...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images