-
- 4 Posts
When I try to upload a new .jpg file to replace an image on the site, I am unable to upload the image. It says the upload is complete, will refresh, but the file will not be there.
I've tried clearing the cache & logging in and out both of which do not work.
MODX Revolution 2.4.3-pl is the version I am using.
-
- 24,544 Posts
Are you uploading the file on the Files tab of the Manager, or using something else for the upload?
-
- 4 Posts
At the top under "Media", I am clicking the first drop down "Media Browser". Then the top left icon "Upload Files".
Attached is a screenshot
You may want to check which directory you're clicked into. It sounds like the file is going into a different directory than you're expecting. Also, after choosing the file to upload and seeing it in the list, you need to use the upload button (in case you didn't see that already).
-
- 24,544 Posts
You might try the FileUpload extra to see if you get a different result (or a helpful error message).
-
- 1 Posts
may be the file is saved properly, if yes check if the format and the size of the file is compatible to upload on this website..hope this help
Arvind
-
- 24,544 Posts
It should work out of the box.
http://bobsguides.com/fileupload-tutorial.html
How large is the file? It may be over the size limit.
-
- 372 Posts
Like Bob say : "It should work out of the box."
1. Like Bob say again "it may be over the size limit"
So go to "System Settings" -> filter by "File System" and check upload_maxsize. You can now compare to the file you try to upload. You can change the upload_maxsize to more if needed. Don't forget that the value have to be in bytes.
2. When you upload an image from "File Manager" you have to choose the folder where the file will go. If you do not choose, the file will go to the root of the website.
3. I had the same problem by the past and it was the permission of the files and folders. Example : with a 444 files and folders permission you can't upload file to the folder.
I hope this help.