I am getting the following error on the product page of a site that is a sub-domain of my primary site:
**Fatal error**: Call to undefined method Varien_Image_Adapter_Gd2::keepProportion() in **/homepages/45/d210005774/htdocs/AnimalLocomotion/lib/Varien/Image/Adapter/[url removed, login to view]** on line **195**
I have contacted my service provider 1&1 and here is the response:
"We have done further troubleshooting on your case regarding the error that can be found on this link below and found out that you are using GD which is a component of PHP that deals with image manipulation. Image manipulation is extremely heavy on memory usage and it is common for PHP scripts that deal with image manipulation to hit the 30MB PHP limit on our shared hosting if the script is not written in a way to adjust for this. What we can suggest is to try using smaller images at least not more than 2MB filesize or lesser is much better."
Since the Image the refer to is 159K I don't understand the response.
2nd response from 1&1:
"As we have double checked the application you are using which is the Magento Commerce which is a very resource demanding application, we found out that it requires a memory limit of 256MB or more. Please be informed that the memory limit in our shared hosting is only 30MB. You might want to go with our dedicated server or VPS packages. You can check the system requirements on this link below.
<[url removed, login to view]>"
The issue is that the subdomain is just a pointer back to the main site. The subdomain folder only has symbolic link pointing to the main folder. So the two links are basically identical:
The 1st gets the error and the 2nd works fine.
This is what is confusing me. Please let me know if you can fix this.