Hi @taufiq,
Note that 777 permissions can be useful for debugging, but they are never safe to use.
It’s likely that you’re running into a problem with OJS being unable to identify file types. Search the forum for the error message you received; there are lots of threads with suggestions on how to debug/fix.
Regards,
Alec Smecher
Public Knowledge Project Team