You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#113032 erreur au load d'un fichier pdf dans la fenetre media depuis l'administration

Posted in ‘Editor’
This is a public ticket

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

Latest post by chantoune on Thursday, 16 February 2023 18:35 GMT

chantoune
Bonjour ,
je suis en version joomla 4.2.7 et en PHP 8.0.21

Meme si dans le backend via les parametres des medias je configure le check des TYPE-MiME à NON j'ai cette erreur

mime_content_type(): Argument #1 ($filename) must be of type resource|string, null given

Par contre si je reconfigure mon serveur avec le PHP 7.4.0 : le fichier se televerse bien sans erreur

cela semble faire partie du tupe d'erreur que je vois dans les messages d'erreurs des fichiers com_jce.ini
je ne sais comment resoudre ce probleme qui 'empeche de televersé des fichier via la fenetre media de l'administrateur


et par consequent je suis obligé de televerser mes pdf avec fillezilla

et cela se passe aussi bien avec ma comfiguration locale avec un wampserveur qu'avec ma configuration en remote hebergé par planet hoster

Cordiualement

Ryan
Meme si dans le backend via les parametres des medias je configure le check des TYPE-MiME à NON j'ai cette erreur


Does this happen with all file uploads?

Are you able to upload using the Joomla Media Manager (Content -> Media) ?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

chantoune
Yes it is the samething with doc, jpg..... but it works if I change of PHP version from PHP7 To PHP8 and i doesn't know where is the problem, So now i upload all my document with fillezilla instead of media manager

Attachments

Ryan
This is a fault with your server configuration, perhaps with the upload_tmp_dir value in the PHP configuration. Speak to your hosting company about this.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

chantoune
The problem was due to the PXLCompressor pluggin

When I Disactive it : the upload is correct for all types of media pdf, jpg, png, doc.....

It ssems that this plugin was for the J3 joomla version and it has no new update for it : but i never had problem with joomla 4 until the PHP version changed to PHP8