The error you reported at the end of your first post was from the error log?
What is the line of code that is referred to in the error?
It seems that it may be caused by a permissions issue. There may be insufficient privileges to run chmod. If you have a hosting provider or system administrator you should contact them to check that for you.