Skip to main content

#194 Error when uploading large images

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
8.2.29

Latest post by b2z on Saturday, 11 October 2025 11:46 EEST

SFB

Hi There,

I’m experiencing an error with Norrcompetition.

On my site, users upload large image files, 4500 px × 4500 px in JPG or PNG format are common, and sometimes they’re even larger, though always under 10 MB.

When I try to upload a large image 4500 px x 4500 px on the test site, it gives an error and doesn’t seem to allow these larger uploads. Is there a specific reason for this error, and can it be resolved?

 

 

b2z

Hi Sven,

Are there any errors in the log under /administrartor/logs/com_competition.php ?

Kind regards,

Dmitrijs

SFB

Hi Dmitrijs,

Yes, this is the data there

#Fields: datetime    priority clientip    category    message
2025-10-08T14:02:25+00:00    ERROR 150.107.172.144    com_competition    behavior::modal not found.
2025-10-08T22:48:07+00:00    ERROR 150.107.172.144    com_competition    behavior::modal not found.
2025-10-09T15:22:40+00:00    ERROR 150.107.172.144    com_competition    behavior::modal not found.

b2z

Well, behavior::modal should not be related. But still interesting, because this was removed from NorrCompetition a long time ago. Can you please create a separate thread about behavior::modal. Thank you.

Now back to upload error. Is it possible that you can check your browser console for error presence, specifically Network tab where you can see all requests? If you will click on the request you will have a response tab where the error should be visible.

Kind regards,

Dmitrijs

SFB

Norrcompetiton used to be installed on the J3 version of my site and was removed years ago. I'm currently updating to J5 where Norrcompetiton will be the main extension going forward. Perhaps this is related to the modal error.

Where can I find the browser console? C-panel?

 

b2z

Yes, J3 could be the source of this modal error. Just keep checking will it be on J5.

Browser console - it is your Internet browser console which is under Developer tools (on Windows click on F12 opens it).

There is another option - if you can provide the credentials (just update your fist post with them) we can try to debug the error by ourselves. 

Kind regards,

Dmitrijs

SFB

These are the 2 errors that I see that look related:

Failed index.php?option=com_competition&task=ajaxPreviewImage&format=raw:1  Failed to load resource: the server responded with a status of 500 (Internal Server Error)

and

Refused to apply style from https://website.com/entry-form
'https://website.com/index.php' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

 

b2z

500 (Internal Server Error) - this is the key. You should check error.log of the server. Probably PHP is failing by itself. But we can just make predictions, the log should show where the issue is.

Kind regards,

Dmitrijs

SFB

I've manage to solve the issue by increasing:

memory_limit = 768M

max_execution_time = 300

keep upload_max_filesize and post_max_size ≥ 10m

The only issue I have now is that images do not get resized to medium images and basically medium and big images are the same. Shall I open a new ticket for this?

b2z

What sizes do you have in the component Images settings? If you upload less resolution images do you have the same issue?

Kind regards,

Dmitrijs

SFB

I've changed the medium image size, saved the configuration, and it seems to work now.

Thanks for your help!

b2z

Great! Should you still experience problems, please open a new support thread.

This message is to confirm that the ticket is closed.

If you are happy with our support, we would be grateful if you took the time for a small review or just a vote on Trustpilot.
https://www.trustpilot.com/review/norrnext.com

Or leave a review about our extension at the JED
https://extensions.joomla.org/extension/clients-a-communities/ratings-a-reviews/norrcompetition

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.