Skip to main content

#73 Image upload function bug - Submit A Contest Entry (multilanguage)

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.1.23

Latest post by ssnobben on Thursday, 12 October 2023 13:45 EEST

ssnobben

Hi

I cant get this extension to work. I tried everything now for hours and hours. Joomla 4.3.4 and updated all your updates today with component, modules etc

The simple image upload function doesnt work for Submit A Contest Entry and I get this error messag. See the info in credentials where you can test and make a Submit A Contest Entry and try to upload a picture there for the contest. Doesnt work.. I also tried to change the Uploads Folder before from ncuploads to another upload folder and save but didnt work so I changed back. Also enable/disable Disable UIkit.

Joomla\CMS\Filesystem\File::copy: Can't find or read file: [ROOT]/ncuploads/photos[TMP]/orig_65269e70824ee_1697029744.jpg

Got this message but image doesnt upload but its is in the temp folder: "The cropped photo will be only used as a small photo in the list of contest entries. It does not affect the full size photo.
You can change the crop area by stretching the frame."

You can test on front end and see the error there...

b2z

Hi,

I have uploaded without any error and there is no bug.

BUT... Your server does not allow to display these images. I have this in the browser console:

Failed to load resource: the server responded with a status of 403 (Forbidden) 6526be78a9947_1697037944.jpg:1

If you try to reach the image directly by https://www.***.com/ncuploads/photos/tmp/6526be78a9947_1697037944.jpg the response will be 403 Forbidden.

So there is some misconfiguration or restriction on the server and the component can do nothing with it.

 

Kind regards,

Dmitrijs

ssnobben

HI Dmitrijs

thanks for very fast response.

I managed to solve this issue and it was a combination with the htaccess file and settings of Admin Pro tools there. I did a lot of test with that before but now I have solved that. Anyhow one other issue is if you make an Entry submission in a a multilanguage site hmm how do you get the fields thre to be multilanguage too? Bcs these you set up manually and then there is no extra language tab there..

or is there another solution for that?

Cheers!

b2z

Glad that you have solved your issue. Do not judge the component, ask the support first :)

Field names and labels will be displayed in a language selected by user on the website. But field values cannot be translated as it does not make sense.

Kind regards,

Dmitrijs

sulpher

Hi ssnobben,

Yes, it is common problem related to Admin Tools. It is described here:
No images appear after submitting entries

Regards,
Eugene

ssnobben

Ok thanks..

 

closing

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.