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
From 09:00 To 17:00 Europe/London (BST)

Please post your question in the Forum and we will get back to you as soon as we can.

  Tuesday, 05 September 2023
  7 Replies
  288 Visits
Hello,

I am not able to upload files with my JCE browser since upgrading to PHP 8.1. Help! None of my sites can. All work with PHP 8.0 though.

[05-Sep-2023 14:46:01 UTC] PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
3 weeks ago
·
#114612
Accepted Answer
Is this new to Joomla or PHP 8.1?


This is not a Joomla thing. The PHP tmp directory is required to be set for any version of PHP.

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

cpointcc changed the title from Cannot Upload files if file browser on PHP 8.1 to Cannot Upload files if JCE file browser on PHP 8.1 — 3 weeks ago
3 weeks ago
·
#114606
Do you get the same error when using the Joomla Media Manager (Conent -> Media) to upload?

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

3 weeks ago
·
#114607
Hello,

When I upload via the Joomla media manager, I get this error: Property 'name' of argument 'item' of event onFetchMediaItem has a wrong item. Valid: non empty string
3 weeks ago
·
#114608
Do you get any similar errors when you try and install an extension?

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

3 weeks ago
·
#114609
Hmmm, yes, Now I get There was an error uploading this file to the server. The PHP temporary folder is not set. Unable to find install package. I do have the temporary folder set.

https://snipboard.io/o5rR9n.jpg

https://snipboard.io/0wxrZh.jpg
3 weeks ago
·
#114610
It's not the Joomla tmp folder but the server PHP tmp folder. Speak to your hosting company about this.

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

3 weeks ago
·
#114611
Hello,

Yes, the php.ini setting was not defined. We changed it to force to /tmp. I don't recall ever having to do this in previous Joomla versions. Is this new to Joomla or PHP 8.1?

Files are uploading fine now.
3 weeks ago
·
#114612
Accepted Answer
Is this new to Joomla or PHP 8.1?


This is not a Joomla thing. The PHP tmp directory is required to be set for any version of PHP.

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

cpointcc selected the reply #114612 as the answer for this post — 3 weeks ago
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!