Skip to main content
NorrNext Anniversary. We've been around for 10 years! Celebrate with us and get a 20% discount. Coupon code: ANNIVERSARY10

#178 Bulk Upload Freezes on Entry Form — Works for Single Images Only

Posted in ‘NorrCompetition’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
strokesavvy.info PHP 8.2 (ea-php82)

Latest post by b2z on Monday, 21 July 2025 10:20 EEST

strokesavvy

Hi NorrNext team,

I'm using the latest version of NorrCompetition on Joomla 5 (PHP 8.2, a4joomla-dark template). Single image uploads on the entry form work fine, but when I attempt a bulk upload via the gallery field (drag/drop area), the upload process hangs immediately.

Here’s what I’ve ruled out:

  • upload_tmp_dir is correctly set in PHP

  • PHP limits (memory, upload size, timeout) are generous (post_max_size = 3G, memory_limit = 256M, etc.)

  • Both GD and ImageMagick are installed and available

  • No server-side errors or PHP logs show during upload

  • Tested with PHP 8.1 and 8.2 — no difference

Browser console shows:

  Refused to apply style from 'https://strokesavvy.info/...' because its MIME type ('text/html') is not a supported stylesheet MIME type

I suspect this is affecting Dropzone/Plupload's ability to process the upload queue or bind properly to the DOM.

Could you please confirm:

  • Is this a known issue?

  • Is there a recommended fix or override to disable auto-upload and allow controlled gallery file uploads?

 

Thanks!

b2z

Hi Kevin,

Just tried to upload and see in the console for image upload response that Imagick is missing. Changed to GD in settings and now it is working fine for me - I have uploaded several images. See my entry with name TEST! ;)

Not sure why it is not working for you :(

Kind regards,

Dmitrijs

strokesavvy

Do you mind me asking what method you used to upload was it through submit entry as it still doesn't work for me. which browser did you use?

b2z

I was using direct /entry-form URL, but when I use /model-directory/entry-form I also have a problem as you have. After research I find out that there is a bug in AJAX call, because it is being made to /model-directory/index.php and indeed it is incorrect. That is because "Submit Entry" menu item is a child menu item and has /model-directory in URL and a piece of code that makes AJAX call doesn't have Uri::root() prefix for URL.

That's a bug indeed and will be fixed in the next version. For now you can fix it by yourself, just not to wait for the next version release.

1) Open the file:

administrator/components/com_competition/helpers/extension.php

2) Find this code (line 1008):

url: 'index.php?option=com_competition&task=ajaxUploadPhoto&format=raw&" . Session::getFormToken() . "=1',

3) Change it to:

url: '" . Uri::root() . "index.php?option=com_competition&task=ajaxUploadPhoto&format=raw&" . Session::getFormToken() . "=1',

This should fix the issue you have. I am looking forward to your response.

Kind regards,

Dmitrijs

b2z

Hi Kevin!

No issues found?

Kind regards,

Dmitrijs

Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.