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

#   File upload field returns error “Failed to load resource:

##

- **[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")**
- [![Lumiga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31479.png)](/forum/user/31479-lumiga "View Lumiga's Profile") Topic Author
- [ Offline](/forum/user/31479-lumiga)

Less More

- Posts: 637
- Thank you received: 26
-
-
-

1 year 1 week ago [\#369195](#369195) by [Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")  *[File upload field returns error “Failed to load resource:](/forum/25-install-update/909853-file-upload-field-returns-error-failed-to-load-resource#369195 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.4.0 -- PHP version -- : 8.3  Hi HikaShop team,  I created a custom field of type Item with File upload enabled. The file upload itself works correctly on the website, but the field is shown in red after uploading. But when I look at /media/com&#95;hikashop/upload/safe all the files are there.  When I check in the browser console, I see the following error:  Failed to load resource: the server responded with a status of 500 () hikashop.js?v=610:200 failed parsing JSON in string below: hikashop.js?v=610:201 {closure}  I have already tested the following to rule out conflicts: Using the default HikaShop layout (no overrides) Restoring the root .htaccess file to Joomla’s default Testing without any custom scripts or CSS  Do you have any idea where I should look to solve this issue?  Best regards, Lumiga")* was created by *[Lumiga](/forum/user/31479-lumiga "View Lumiga's Profile")*

-- HikaShop version -- : 6.1.0
-- Joomla version -- : 5.4.0
-- PHP version -- : 8.3

Hi HikaShop team,

I created a custom field of type Item with File upload enabled.
The file upload itself works correctly on the website, but the field is shown in red after uploading.
But when I look at /media/com_hikashop/upload/safe all the files are there.

When I check in the browser console, I see the following error:

Failed to load resource: the server responded with a status of 500 ()
hikashop.js?v=610:200 failed parsing JSON in string below:
hikashop.js?v=610:201 {closure}

I have already tested the following to rule out conflicts:
Using the default HikaShop layout (no overrides)
Restoring the root .htaccess file to Joomla’s default
Testing without any custom scripts or CSS

Do you have any idea where I should look to solve this issue?

Best regards,
Lumiga

[ ![screenshot-20&#95;2025-10-31.png](/forum/attachment/60963) ](/forum/attachment/60963 "...2025-10-31.png")

[ ![screenshot-22&#95;2025-10-31.png](/forum/attachment/60962) ](/forum/attachment/60962 "...2025-10-31.png")

---

Kind regards,
Lumiga

- [ ![screenshot-22&#95;2025-10-31.png](/forum/attachment/60962) ](/forum/attachment/60962 "...2025-10-31.png") [ ](/forum/attachment/60962?download=1 "...2025-10-31.png")
- [ ![screenshot-20&#95;2025-10-31.png](/forum/attachment/60963) ](/forum/attachment/60963 "...2025-10-31.png") [ ](/forum/attachment/60963?download=1 "...2025-10-31.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwOTg1My1maWxlLXVwbG9hZC1maWVsZC1yZXR1cm5zLWVycm9yLWZhaWxlZC10by1sb2FkLXJlc291cmNlP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

1 year 1 week ago [\#369198](#369198) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[File upload field returns error “Failed to load resource:](/forum/25-install-update/909853-file-upload-field-returns-error-failed-to-load-resource#369198 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.4.0 -- PHP version -- : 8.3  Hi HikaShop team,  I created a custom field of type Item with File upload enabled. The file upload itself works correctly on the website, but the field is shown in red after uploading. But when I look at /media/com&#95;hikashop/upload/safe all the files are there.  When I check in the browser console, I see the following error:  Failed to load resource: the server responded with a status of 500 () hikashop.js?v=610:200 failed parsing JSON in string below: hikashop.js?v=610:201 {closure}  I have already tested the following to rule out conflicts: Using the default HikaShop layout (no overrides) Restoring the root .htaccess file to Joomla’s default Testing without any custom scripts or CSS  Do you have any idea where I should look to solve this issue?  Best regards, Lumiga")*

Hi,

The upload process takes several steps :
- the file is received by the server
1- Joomla is loaded
2- HikaShop is loaded
3- HikaShop is called for the processing
4- HikaShop copies the uploaded file from the PHP temporary folder to its upload folder
5- HikaShop generates data to be sent back to the browser
6- HikaShop formats the data via a view file

If you get a 500 error with the upload, it means that there is likely a PHP error during all that processing. And if you have the file in the upload folder, it means that it happens after step 4.

Still, without the real error message behind the generic 500 error, it will be hard to say what the problem is.
I would recommend activating the "debug" setting of the Joomla configuration and trying again.
Then, in the developer tools of your browser, look at the HTTP request with the 500 status code and check its response from the server. It should hopefully contain the error message along with the call stack etc.
If that's not the case, it could be your template hiding the details with a custom templates/YOUR_TEMPLATE/error.php file. So renaming that file temporarily via FTP could help to get the details.
Or it could also be your web server configured to not provide the details. In that case, you'll have to check the PHP error log or the web server error log for more details on the issue.

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

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