On my Ubuntu server VM, remotly debugged with Xdebug & Netbeans I search for a long time why no product images get viewed. Afte I debug all the processing, I found the mistake. I don't have GD2 installed. No errors where shown in logfiles (display errors enabled, renaming of /errors/local.xml & checking permissions of var/log/).
On lib/Varien/Image/Adapter/Gd2.php / Line 565-572 there is a dependencies check:
public function checkDependencies()
{
foreach( $this->_requiredExtensions as $value ) {
if( !extension_loaded($value) ) {
throw new Exception("Required PHP extension '{$value}' was not loaded.");
}
}
}
But I don't see any error in browser or exception log. Anybode know why? With netbeans and xdebug I can't debug what happens with the thrown exception.
Thanks!