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

#   Custom Field Downloads not working

##

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

Less More

- Posts: 47
- Thank you received: 1
-
-

14 years 4 months ago [\#55843](#55843) by [akcreation](/forum/user/4570-akcreation "View akcreation's Profile")  *[Custom Field Downloads not working](/forum/2-general-talk-about-hikashop/55843-custom-field-downloads-not-working#55843 "Hi there,  On my website I am using a custom field file upload for each 'Item', so that people can upload images. The problem I am having is that when an order comes through (with a link to the images), when I click the link, instead of the images it directs me through to hikashop on my browser, where I then see the error message 'No Orders Found'.  I have seen from the documentation that the upload file needs to be set to writable, so I have gone and changed the relevant 'safe' folder to 777, however this has not solved the problem.  Any ideas what is wrong please?  Thanks a lot,  Keith")* was created by *[akcreation](/forum/user/4570-akcreation "View akcreation's Profile")*

Hi there,

On my website I am using a custom field file upload for each 'Item', so that people can upload images. The problem I am having is that when an order comes through (with a link to the images), when I click the link, instead of the images it directs me through to hikashop on my browser, where I then see the error message 'No Orders Found'.

I have seen from the documentation that the upload file needs to be set to writable, so I have gone and changed the relevant 'safe' folder to 777, however this has not solved the problem.

Any ideas what is wrong please?

Thanks a lot,

Keith

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 4 months ago [\#55898](#55898) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Field Downloads not working](/forum/2-general-talk-about-hikashop/55843-custom-field-downloads-not-working#55898 "Hi there,  On my website I am using a custom field file upload for each 'Item', so that people can upload images. The problem I am having is that when an order comes through (with a link to the images), when I click the link, instead of the images it directs me through to hikashop on my browser, where I then see the error message 'No Orders Found'.  I have seen from the documentation that the upload file needs to be set to writable, so I have gone and changed the relevant 'safe' folder to 777, however this has not solved the problem.  Any ideas what is wrong please?  Thanks a lot,  Keith")*

Hi,

Could you give an example of link that you're trying to download ? And tell us from where you're trying to do that ?
An email ? Which one ? The back end ? Which menu ? The front end ?

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

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

Less More

- Posts: 47
- Thank you received: 1
-
-

14 years 4 months ago [\#56205](#56205) by [akcreation](/forum/user/4570-akcreation "View akcreation's Profile")  Replied by *[akcreation](/forum/user/4570-akcreation "View akcreation's Profile")* on topic *[Re: Custom Field Downloads not working](/forum/2-general-talk-about-hikashop/55843-custom-field-downloads-not-working#56205 "Hi there,  On my website I am using a custom field file upload for each 'Item', so that people can upload images. The problem I am having is that when an order comes through (with a link to the images), when I click the link, instead of the images it directs me through to hikashop on my browser, where I then see the error message 'No Orders Found'.  I have seen from the documentation that the upload file needs to be set to writable, so I have gone and changed the relevant 'safe' folder to 777, however this has not solved the problem.  Any ideas what is wrong please?  Thanks a lot,  Keith")*

Hi Nicolas,

OK here is a link to a page on the website:

[ www.tenant4landlords.com/option-1](http://www.tenant4landlords.com/option-1)

It is a property website, where users can upload the details of their properties, which are then sent by email to the site admin (this is what I use hikashop for), who then inputs the details into a real estate component in the back end, to then be displayed on the site. Here, you will see at the bottom of the form, the option to upload up to 10 images. When this product is purchased, an order email gets generated and sent to the site administrator with all of the details from the form (including links to the images). However, for some reason when you click the link on the images, instead of downloading the image, you get the problem as described in my previous message.

If you supply me with an email address I can send you the email so you can see for yourself. Can you possibly email me at keith.mason@akcreation.co.uk so that I can send forward the email / links to you?

Many thanks,

Keith

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 4 months ago [\#56265](#56265) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Field Downloads not working](/forum/2-general-talk-about-hikashop/55843-custom-field-downloads-not-working#56265 "Hi there,  On my website I am using a custom field file upload for each 'Item', so that people can upload images. The problem I am having is that when an order comes through (with a link to the images), when I click the link, instead of the images it directs me through to hikashop on my browser, where I then see the error message 'No Orders Found'.  I have seen from the documentation that the upload file needs to be set to writable, so I have gone and changed the relevant 'safe' folder to 777, however this has not solved the problem.  Any ideas what is wrong please?  Thanks a lot,  Keith")*

You can send that via our contact form:
[ www.hikashop.com/en/contact-us.html](http://www.hikashop.com/en/contact-us.html)

Please also give a link to that thread.

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

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

Less More

- Posts: 47
- Thank you received: 1
-
-

14 years 4 months ago [\#56273](#56273) by [akcreation](/forum/user/4570-akcreation "View akcreation's Profile")  Replied by *[akcreation](/forum/user/4570-akcreation "View akcreation's Profile")* on topic *[Re: Custom Field Downloads not working](/forum/2-general-talk-about-hikashop/55843-custom-field-downloads-not-working#56273 "Hi there,  On my website I am using a custom field file upload for each 'Item', so that people can upload images. The problem I am having is that when an order comes through (with a link to the images), when I click the link, instead of the images it directs me through to hikashop on my browser, where I then see the error message 'No Orders Found'.  I have seen from the documentation that the upload file needs to be set to writable, so I have gone and changed the relevant 'safe' folder to 777, however this has not solved the problem.  Any ideas what is wrong please?  Thanks a lot,  Keith")*

thanks Nicolas, I have just emailed it to you using the contact form

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 4 months ago [\#56325](#56325) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Field Downloads not working](/forum/2-general-talk-about-hikashop/55843-custom-field-downloads-not-working#56325 "Hi there,  On my website I am using a custom field file upload for each 'Item', so that people can upload images. The problem I am having is that when an order comes through (with a link to the images), when I click the link, instead of the images it directs me through to hikashop on my browser, where I then see the error message 'No Orders Found'.  I have seen from the documentation that the upload file needs to be set to writable, so I have gone and changed the relevant 'safe' folder to 777, however this has not solved the problem.  Any ideas what is wrong please?  Thanks a lot,  Keith")*

Please replace the file administrator/components/com_hikashop/classes/field.php and the file media/com_hikashop/mail/order_admin_notification.html.php by the ones attached and that should fix the problem.

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

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

Less More

- Posts: 47
- Thank you received: 1
-
-

14 years 4 months ago [\#56364](#56364) by [akcreation](/forum/user/4570-akcreation "View akcreation's Profile")  Replied by *[akcreation](/forum/user/4570-akcreation "View akcreation's Profile")* on topic *[Re: Custom Field Downloads not working](/forum/2-general-talk-about-hikashop/55843-custom-field-downloads-not-working#56364 "Hi there,  On my website I am using a custom field file upload for each 'Item', so that people can upload images. The problem I am having is that when an order comes through (with a link to the images), when I click the link, instead of the images it directs me through to hikashop on my browser, where I then see the error message 'No Orders Found'.  I have seen from the documentation that the upload file needs to be set to writable, so I have gone and changed the relevant 'safe' folder to 777, however this has not solved the problem.  Any ideas what is wrong please?  Thanks a lot,  Keith")*

Thank you Nicolas, I will install the new files and let you know how we get on

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

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

Less More

- Posts: 47
- Thank you received: 1
-
-

14 years 4 months ago [\#56523](#56523) by [akcreation](/forum/user/4570-akcreation "View akcreation's Profile")  Replied by *[akcreation](/forum/user/4570-akcreation "View akcreation's Profile")* on topic *[Re: Custom Field Downloads not working](/forum/2-general-talk-about-hikashop/55843-custom-field-downloads-not-working#56523 "Hi there,  On my website I am using a custom field file upload for each 'Item', so that people can upload images. The problem I am having is that when an order comes through (with a link to the images), when I click the link, instead of the images it directs me through to hikashop on my browser, where I then see the error message 'No Orders Found'.  I have seen from the documentation that the upload file needs to be set to writable, so I have gone and changed the relevant 'safe' folder to 777, however this has not solved the problem.  Any ideas what is wrong please?  Thanks a lot,  Keith")*

Hi Nicolas,

Unfortunately this has not worked - since I have put the new files in it has caused a new error. Now, after a user fills out the userform and then clicks add to cart, the page it directs to is broken (template doesn't work etc - I have attached a screen dump of it) and I get the following error message "Catchable fatal error: Object of class hikashopFile could not be converted to string in /mywebsite/administrator/components/com_hikashop/classes/field.php on line 1119"

As a result of this I have had to switch back to the old files otherwise my website is not working at all and people cannot buy anything.

Please can you urgently look into this for me.

Thanks very much,

Keith

- [ ![Screenshot2012-07-05at12.51.37.png](/forum/attachment/4619) ](/forum/attachment/4619 "...at12.51.37.png") [ ](/forum/attachment/4619?download=1 "...at12.51.37.png")
- [ ![Screenshot2012-07-05at12.51.50.png](/forum/attachment/4620) ](/forum/attachment/4620 "...at12.51.50.png") [ ](/forum/attachment/4620?download=1 "...at12.51.50.png")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 4 months ago [\#56567](#56567) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom Field Downloads not working](/forum/2-general-talk-about-hikashop/55843-custom-field-downloads-not-working#56567 "Hi there,  On my website I am using a custom field file upload for each 'Item', so that people can upload images. The problem I am having is that when an order comes through (with a link to the images), when I click the link, instead of the images it directs me through to hikashop on my browser, where I then see the error message 'No Orders Found'.  I have seen from the documentation that the upload file needs to be set to writable, so I have gone and changed the relevant 'safe' folder to 777, however this has not solved the problem.  Any ideas what is wrong please?  Thanks a lot,  Keith")*

Please try with that field.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzU1ODQzLWN1c3RvbS1maWVsZC1kb3dubG9hZHMtbm90LXdvcmtpbmc/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.062 seconds

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