JEDChecker: File not uploaded for security reasons

8 years 6 months ago - 8 years 6 months ago #1 by geoffc
We recently received the error when testing a new extension for JED compatibility reasons.

After some searching we found a possible reason . This helps to explain why it is getting the error.

We resolved the problem by editing the file: administrator\components\com_jedchecker\controllers/uploads.php

Find the line:
if (!JFile::upload($file['tmp_name'], $file['filepath'])) {
:

and replace it with
if (!JFile::upload($file['tmp_name'], $file['filepath'],false,true)) {

This will let Joomla permit the upload of unsafe files, which is find in this circumstance since we are testing the file anyway.

Hopefully this may help any others seeing this problem.

Regards
Geoff

Please Log in or Create an account to join the conversation.

8 years 5 months ago #2 by geoffc
This problem is also reportedly fixed in the release of JedChecker 1.6 from Compojoom.

Regards
Geoff

Please Log in or Create an account to join the conversation.

Time to create page: 0.150 seconds
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries