I have a new install of OJS 3.4.0.8 running on PHP version 8.2.28 on Direct Admin control panel on a subdomain at https://journal.westernfieldornithologists.org
OS: Linux
Apache Version: LiteSpeed
Dbase: 10.6.20 Maria DB
I installed OJS using Softaculous and was able to set up the basic configuration but when I try to upload a logo and images, I get the “One or more files could not be uploaded” error message same as this thread:
I see the solution in that case was: “changed ownership to the administration username of the server.” I did this but I still cannot upload files.
Via MySQL I changed the username of the site administrator to the admin username of the server. Then I tried to upload the file and got the same error message.
I checked the error logs and I don’t have any error log entries for this subdomain or in any log folders. I turned on log_errors in PHP settings for the server and display errors to On but in my Php info file display_errors is set to Off.
Please help. I am new to OJS. I have worked with WordPress for years. I thought I would be able to create any admin username I wanted. The files_dir folder also has the UID of the server.
No site administrator is listed. I added the first Journal so it appears I am the Journal manager and not administrator? Can the administrator not also be Journal Manager?
Or by public directory do you mean public_html? I tried that by adding write permissions for user and group 775 and still could not upload so I changed it back to 755.
That’s part of the problem. There’s nothing in the error log. So I’m in the dark about what the issue is. I’m going to hire a freelancer who understands server configuration to help me. I’ll report back what I discover in case it can help others who might have the same issue.
I installed OJS on another hosting platform that uses cPanel instead of DirectAdmin and I had no problem uploading images, so I can speculate that it has to do with default configurations within DirectAdmin.