Gem Theme – Fatal Error on product page

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
 

  1. 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

Profile photo of tuan le van 11570.00 $tone September 4, 2015
Public

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

#1
Profile photo of tuan le van 11570.00 $tone September 8, 2015
Public

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

#5
Profile photo of solitaire 40.00 $tone December 6, 2015
Public

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

#6
Profile photo of Mall Staff 184060.00 $tone December 17, 2015
Public

Hi solitaire
I need a closer look to detect the root of issue as you said in your site. Let’s provide me the admin and ftp credentials of your site.
I will check further and tell you how to solve that issue.
Regards,
Mall.

#7
Profile photo of Mall Staff 184060.00 $tone December 18, 2015
Public

@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.

#8

Please login or Register to Submit Answer

Written By

Comments