Hi,
I have a fresh Magento install, I’ve then installed JMBasetheme and the Gem theme.
I’ve then created a simple test product and I get the following error when trying to view it…
Fatal error: Call to a member function getFile() on a non-object in /home/countryc/public_html/app/design/frontend/gem/default/template/catalog/product/view/media.phtml on line 66
It looks correct in the search results
http://www.countryclothingdirect.com/index.php/catalogsearch/result/?q=test
If you could tell me what I’ve done wrong I would appreciate it.
Regards,
Richard
-
It would appear that the error occurs when I exclude an image. So how do I go about excluding images from the media gallery on the product view page, but still allow them to be the base image or small image or thumbnail? I dont have this problem on another site which is using the Crafts template.
10 answers
Hi
I need a closer look to detect the root of the issue. Please provide me the url, admin , screenshots and FTP credentials of your site.
Best regards,
Kan
Hi Richard Wilkinson,
I need to check current code of your site to detect the root of issue.
I can’t connect to server of your site, let recheck the FTP credential you are provided.
Regards,
Mall.
Hi Richard,
I have created and backuped the file /app/design/frontend/gem/default/template/catalog/product/view/media.phtml
Have a look and please tell me know how it goes.
Best regards,
Kan
Hello! I’ve got exactly the same problem with Gem theme.
Could you please publish the things to change in media.phtml if it’s possible?
This would be much appreciated.
Kind regards,
Sergei
@solitaire: I have create a back-up and edited the file at /app/design/frontend/gem/default/template/catalog/product/view/media.phtml
and the issue as you said was solved: http://solitaireengagement.com.au/settings/paried-hearts-18k.html
Have a look and tell me know how it goes.
Regards,
Mall.
Looks great!
Cheers!
Hi Solitaire,
Thank you for your thought, please let us know if you have any question on your issue.
Have a good day
Sincerely,
Lannt.