Jump to content

Can upload files but not images in admin


joer80
 Share

Recommended Posts

I am having an issue where I can upload files but not images in the admin section.  Activating the IMagick Image Sizer does not seem to help.

Files will go to the temp and assets directory but images only create in the temp directory. (Image will create WireUpload1YmvUT in the temp directory.) Uploads temp directory is 755 permission and temporarily making it 777 doesnt fix the issue.

Log shows this:

[25-Oct-2024 23:39:00 UTC] PHP Warning:  Unknown: Unable to create temporary file, Check permissions in temporary files directory. in Unknown on line 0
[25-Oct-2024 23:39:00 UTC] PHP Warning:  Unknown: POST data can't be buffered; all data discarded in Unknown on line 0


Any advice?

ProcessWire 3.0.229, php 7.4, memory limit 600M

Edit: Looks like changing php from 7.4 to 7.2 fixes the issue.  I am guessing there is something wrong with that version of php on this server. Not sure how to fix it.  It appears GD and image magik was installed.

Thanks!

Edited by joer80
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...