[Skip to main content](#vessel-content)

#   \[SOLVED\] Images for custom field not displayed on

##

- **[glazweb](/forum/user/2408-glazweb "View glazweb's Profile")**
- [![glazweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2408-glazweb "View glazweb's Profile") Topic Author
- [ Offline](/forum/user/2408-glazweb)

Less More

- Posts: 33
- Thank you received: 0
-
-

11 years 10 months ago -  11 years 10 months ago [\#187285](#187285) by [glazweb](/forum/user/2408-glazweb "View glazweb's Profile")  *[\[SOLVED\] Images for custom field not displayed on](/forum/26-product-category-display/874352-solved-images-for-custom-field-not-displayed-on#187285 "-- url of the page with the problem -- :   www.glazweb.com/vente-en-ligne-viande-bovine/produit/pot-au-feu  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.1.1 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 35.0  Hello. I've created custom fields for my products. One of them is an image (screenshot 1) The image is displayed on back-office, on a product page (screenshot 2) But the image is not displayed on frontside, but only the name of the image (screenshot 3) Firebug says Error 500. I just can't understand this message because the image is displayed on back-office.  Any help would be very appreciated. Thank you. Best regards")* was created by *[glazweb](/forum/user/2408-glazweb "View glazweb's Profile")*

-- url of the page with the problem -- : [ www.glazweb.com/vente-en-ligne-viande-bovine/produit/pot-au-feu](http://www.glazweb.com/vente-en-ligne-viande-bovine/produit/pot-au-feu)
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.1.1
-- PHP version -- : 5.5.9
-- Browser(s) name and version -- : Firefox 35.0

Hello.
I've created custom fields for my products. One of them is an image (screenshot 1)
The image is displayed on back-office, on a product page (screenshot 2)
But the image is not displayed on frontside, but only the name of the image (screenshot 3)
Firebug says Error 500. I just can't understand this message because the image is displayed on back-office.

Any help would be very appreciated.
Thank you. Best regards

- [ ![Capture&#95;du&#95;2015-01-19&#95;110058.png](/forum/attachment/21800) ](/forum/attachment/21800 "...-19&#95;110058.png") [ ](/forum/attachment/21800?download=1 "...-19&#95;110058.png")
- [ ![Capture&#95;du&#95;2015-01-19&#95;110001.png](/forum/attachment/21801) ](/forum/attachment/21801 "...-19&#95;110001.png") [ ](/forum/attachment/21801?download=1 "...-19&#95;110001.png")
- [ ![Capture&#95;du&#95;2015-01-19&#95;105834.png](/forum/attachment/21802) ](/forum/attachment/21802 "...-19&#95;105834.png") [ ](/forum/attachment/21802?download=1 "...-19&#95;105834.png")

Last edit: 11 years 10 months ago by [glazweb](/forum/user/2408-glazweb "View glazweb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQzNTItc29sdmVkLWltYWdlcy1mb3ItY3VzdG9tLWZpZWxkLW5vdC1kaXNwbGF5ZWQtb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 10 months ago [\#187348](#187348) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Images for custom field not displayed on frontside](/forum/26-product-category-display/874352-solved-images-for-custom-field-not-displayed-on#187348 "-- url of the page with the problem -- :   www.glazweb.com/vente-en-ligne-viande-bovine/produit/pot-au-feu  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.1.1 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 35.0  Hello. I've created custom fields for my products. One of them is an image (screenshot 1) The image is displayed on back-office, on a product page (screenshot 2) But the image is not displayed on frontside, but only the name of the image (screenshot 3) Firebug says Error 500. I just can't understand this message because the image is displayed on back-office.  Any help would be very appreciated. Thank you. Best regards")*

Hi,

Could you please check your PHP error log in order to know more about the 500 error you got ?
The "downloadFieldFile" function of the HikaShop file class check the asked file.
During these checks, it reads the custom field configuration in order to authorize the download of the default value ; so it should authorize the download of the file.
Because you got a 500 error, I think that there is a PHP fatal error ; knowing this error will help us to fix the issue.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQzNTItc29sdmVkLWltYWdlcy1mb3ItY3VzdG9tLWZpZWxkLW5vdC1kaXNwbGF5ZWQtb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[glazweb](/forum/user/2408-glazweb "View glazweb's Profile")**
- [![glazweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2408-glazweb "View glazweb's Profile") Topic Author
- [ Offline](/forum/user/2408-glazweb)

Less More

- Posts: 33
- Thank you received: 0
-
-

11 years 10 months ago [\#187420](#187420) by [glazweb](/forum/user/2408-glazweb "View glazweb's Profile")  Replied by *[glazweb](/forum/user/2408-glazweb "View glazweb's Profile")* on topic *[Images for custom field not displayed on frontside](/forum/26-product-category-display/874352-solved-images-for-custom-field-not-displayed-on#187420 "-- url of the page with the problem -- :   www.glazweb.com/vente-en-ligne-viande-bovine/produit/pot-au-feu  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.1.1 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 35.0  Hello. I've created custom fields for my products. One of them is an image (screenshot 1) The image is displayed on back-office, on a product page (screenshot 2) But the image is not displayed on frontside, but only the name of the image (screenshot 3) Firebug says Error 500. I just can't understand this message because the image is displayed on back-office.  Any help would be very appreciated. Thank you. Best regards")*

Hello, and thank you for your help.

Here are the two error lines in error log file :
PHP Notice: Undefined property: hikashopFileClass::$db in /.../administrator/components/com_hikashop/classes/file.php on line 619
PHP Fatal error: Call to a member function quoteName() on a non-object in /.../administrator/components/com_hikashop/classes/file.php on line 619
A thing I don't understand is that this website is a dev version. The one in production works fine. I made a copy to change the template (official JoomlaMonster "Modern Store" with Hika inside). I upgraded the Hika component to Business version (2.3.5) with my licence.
I also upgraded Joomla to 3.3.6 yesterday but no change.

A new point is an encoding error when I display a product page. Error Message in Firefox is "La page que vous essayez de voir ne peut être affichée car elle utilise un type de compression invalide ou non pris en charge."
And error log is :
PHP Notice: Trying to get property of non-object in /.../templates/jm-modern-hika-store/html/com_hikashop/product/listing_img_title.php on line 24
This problem occures only on product page.
I tried the two cache systems, but there is no change about this encode error. The display works only if I disable cache system (native plugin).

Hope this information can help you to point out the problem(s).

Best regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQzNTItc29sdmVkLWltYWdlcy1mb3ItY3VzdG9tLWZpZWxkLW5vdC1kaXNwbGF5ZWQtb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 10 months ago [\#187458](#187458) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Images for custom field not displayed on frontside](/forum/26-product-category-display/874352-solved-images-for-custom-field-not-displayed-on#187458 "-- url of the page with the problem -- :   www.glazweb.com/vente-en-ligne-viande-bovine/produit/pot-au-feu  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.1.1 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 35.0  Hello. I've created custom fields for my products. One of them is an image (screenshot 1) The image is displayed on back-office, on a product page (screenshot 2) But the image is not displayed on frontside, but only the name of the image (screenshot 3) Firebug says Error 500. I just can't understand this message because the image is displayed on back-office.  Any help would be very appreciated. Thank you. Best regards")*

Hi,

Please replace in the line 619 for your "classes/file.php" file the "$this-&gt;db" into "$this-&gt;database".
You can also re-download HikaShop 2.3.5 ; I do not have any "db" in my side so I think that the issue has been already solved in the forum.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [glazweb](/forum/user/2408-glazweb "View glazweb's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQzNTItc29sdmVkLWltYWdlcy1mb3ItY3VzdG9tLWZpZWxkLW5vdC1kaXNwbGF5ZWQtb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[glazweb](/forum/user/2408-glazweb "View glazweb's Profile")**
- [![glazweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2408-glazweb "View glazweb's Profile") Topic Author
- [ Offline](/forum/user/2408-glazweb)

Less More

- Posts: 33
- Thank you received: 0
-
-

11 years 10 months ago [\#187533](#187533) by [glazweb](/forum/user/2408-glazweb "View glazweb's Profile")  Replied by *[glazweb](/forum/user/2408-glazweb "View glazweb's Profile")* on topic *[Images for custom field not displayed on frontside](/forum/26-product-category-display/874352-solved-images-for-custom-field-not-displayed-on#187533 "-- url of the page with the problem -- :   www.glazweb.com/vente-en-ligne-viande-bovine/produit/pot-au-feu  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.1.1 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 35.0  Hello. I've created custom fields for my products. One of them is an image (screenshot 1) The image is displayed on back-office, on a product page (screenshot 2) But the image is not displayed on frontside, but only the name of the image (screenshot 3) Firebug says Error 500. I just can't understand this message because the image is displayed on back-office.  Any help would be very appreciated. Thank you. Best regards")*

All right !
Problem of images not displayed is solved, thank to you. I re-upload Hika 2.3.5 and it works fine.
But still have problem with this encode error.
Is there somewhere in Hika a parameter to fix encoding ? When I enable the native cache of J! in configuration+plugin, each page of the website is displayed properly, except product page. And no output message in Firebug.
Curiously, after the browser error message, it works when I reload the page.

Anyway, thanks a lot for solving the image problem ! And long live to Hika.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQzNTItc29sdmVkLWltYWdlcy1mb3ItY3VzdG9tLWZpZWxkLW5vdC1kaXNwbGF5ZWQtb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 10 months ago [\#187536](#187536) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Images for custom field not displayed on frontside](/forum/26-product-category-display/874352-solved-images-for-custom-field-not-displayed-on#187536 "-- url of the page with the problem -- :   www.glazweb.com/vente-en-ligne-viande-bovine/produit/pot-au-feu  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.1.1 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 35.0  Hello. I've created custom fields for my products. One of them is an image (screenshot 1) The image is displayed on back-office, on a product page (screenshot 2) But the image is not displayed on frontside, but only the name of the image (screenshot 3) Firebug says Error 500. I just can't understand this message because the image is displayed on back-office.  Any help would be very appreciated. Thank you. Best regards")*

Hi,

HikaShop, as a e-commerce solution, is not compatible with the Joomla cache system.
The cache will store complete page, including the cart details so ; it generally broke how the store react.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQzNTItc29sdmVkLWltYWdlcy1mb3ItY3VzdG9tLWZpZWxkLW5vdC1kaXNwbGF5ZWQtb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[glazweb](/forum/user/2408-glazweb "View glazweb's Profile")**
- [![glazweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2408-glazweb "View glazweb's Profile") Topic Author
- [ Offline](/forum/user/2408-glazweb)

Less More

- Posts: 33
- Thank you received: 0
-
-

11 years 10 months ago -  11 years 10 months ago [\#187614](#187614) by [glazweb](/forum/user/2408-glazweb "View glazweb's Profile")  Replied by *[glazweb](/forum/user/2408-glazweb "View glazweb's Profile")* on topic *[Images for custom field not displayed on frontside](/forum/26-product-category-display/874352-solved-images-for-custom-field-not-displayed-on#187614 "-- url of the page with the problem -- :   www.glazweb.com/vente-en-ligne-viande-bovine/produit/pot-au-feu  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.1.1 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 35.0  Hello. I've created custom fields for my products. One of them is an image (screenshot 1) The image is displayed on back-office, on a product page (screenshot 2) But the image is not displayed on frontside, but only the name of the image (screenshot 3) Firebug says Error 500. I just can't understand this message because the image is displayed on back-office.  Any help would be very appreciated. Thank you. Best regards")*

Of course !
Sorry about the question. And thanks again for the help and solution.

Best regards

Sorry, but how to mark this 'solved' ?

Last edit: 11 years 10 months ago by [glazweb](/forum/user/2408-glazweb "View glazweb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQzNTItc29sdmVkLWltYWdlcy1mb3ItY3VzdG9tLWZpZWxkLW5vdC1kaXNwbGF5ZWQtb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 10 months ago [\#187624](#187624) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Images for custom field not displayed on frontside](/forum/26-product-category-display/874352-solved-images-for-custom-field-not-displayed-on#187624 "-- url of the page with the problem -- :   www.glazweb.com/vente-en-ligne-viande-bovine/produit/pot-au-feu  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.1.1 -- PHP version -- : 5.5.9 -- Browser(s) name and version -- : Firefox 35.0  Hello. I've created custom fields for my products. One of them is an image (screenshot 1) The image is displayed on back-office, on a product page (screenshot 2) But the image is not displayed on frontside, but only the name of the image (screenshot 3) Firebug says Error 500. I just can't understand this message because the image is displayed on back-office.  Any help would be very appreciated. Thank you. Best regards")*

Hi,

You have to edit the subject of your first post.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzQzNTItc29sdmVkLWltYWdlcy1mb3ItY3VzdG9tLWZpZWxkLW5vdC1kaXNwbGF5ZWQtb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
