This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Eoler
Eoler

dweimer said: I simply receive the error message "Error uploading file 'background.jpg': File is not valid".

Just guessing: do you have FileInfo PHP extension installed?

administrator57283
administrator57283

on CyberPanel I fixed it by following steps:

  1. Added made sure PHP version I am using is the same for what is for my website, i.e. 7.3
  2. Turned on file_uploads "ON" (Most important) (this is where everything started working good)
  3. Adding upload_tmp_dir dir might work but for me turning on only file_uploads worked
  4. Added /tmp directory to OpenLiteSpeed > Server Configuration > File Uploads

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.