I had the same problem, this is often caused when wordpress is installed by fantastico through cpanel.
All I did was, ftp’d my site, went into the themes folder and into the related theme, then CMOD all files to 755 (some servers you may need to 777 them).
Log back into your dashboard and you should be able to edit themes.