How to Fix Discuz X Avatar Upload Error (Error Code:0)

         This issue is caused by folder permission problems. The root cause is that the /uc_server/data/ directory cannot have its attributes changed to 777, and can only be resolved using the following method.
Additionally, the following method applies to all versions of Discuz X and Discuz!

Solution:

Grant 777 permissions to the /uc_server/data/ directory.

Leave a Comment

Your email address will not be published.