Hi,
What version of Zerif Lite are you using? I tried replicating this but everything was ok.
Regards,
Rodica
I was previously using 1.8.2.3, but I recently updated to the newest version (1.8.3.5) and it still isn’t working. I also recently updated to the newest version of wordpress. The editor didn’t work before or after the updates.
Hi,
After the update, have you tried again with other themes and it’s working? Also, can you let me know if you are using custom permalinks, and if this is the case, if you have tried reseting the permalinks?
Regards,
Rodica
Yes, now that everything is updated, I tried editing with two different themes, the other ones let me edit. Also yes, I tried reseting the permalinks. Tried setting them to various configurations, nothing fixes it. Okay, so I just noticed that I cannot edit the zerif theme stylesheet even when activating another theme, but I can edit other themes with Zerif activated, that is strange. So it seems like just that one file is protected. Under that theory, I checked to see the file permissions, and they are the same all all of the other style.css files, they also have the same file owner, so they are identical in terms of permissions as far as I can see. I just can’t figure it out… It just seems like I can’t edit that one file. I can edit it from an FTP connection using WinSCP and notepad, but I can’t edit that one file. I actually tried editing another file “comments.php” in the zerif theme, it worked fine. I just can’t edit “style.css” in the zerif theme, it always takes like 2 minutes and then takes me to a 404 page for some reason.
I thought it was working for a second, but it’s just the other pages still. I can edit php files, but not the style.css. I want to be able to give other admins access to the style sheet via the editor. So it would be nice if I could get it going and not have to give them FTP usernames and passwords.
I’ve figured it out!!!
So, on line 131 of style.css it says
“/* Selection colours (easy to forget) */”
The commenting followed by the word “select” was raising a security flag since when it was being submitted via POST by the editor page.
I changed the line to say $selection, instead of Selection and now it nolonger raises any security flags and it works fine…
Ta da!
It was php’s “mod_security” that was “breaking” things. It thought it was helping keep hackers out.
I’ll mark this topic as resolved now, I suppose…
By the way, you have a typo in your comments on line 2498 of “style.css”. The word “packages” is missing the letter ‘k’. Ha.
Hello,
Glad that you got it solved and thank you for sharing your solution with everybody here.
Also, thank you for reporting the typo. We will get that fixed.
Best regards,
Alexandra