Forums

Can't update css in themes, reverts back to normal (5 posts)

  1. epsylon
    Member
    Posted 2 years ago #

    Hey there
    Other people seem to be having this problem as well, but it's not resolved...

    So, whenever i want to edit a theme's code in wordpress and hit the "update file" button, it tells me that the file was updated successfully, but every change i made to the code is gone. The code simply reverts back to it's original state.
    I tried deleting and reinstalling wordpress. I tried every version from 2.5 up to 2.8. I deleted and opened up a new mySQL account several times. But nothing works. Versions 2.5 to 2.6.1 seem to have a different problem though, there I'm not even able to log into the admin-page.
    I have another domain where wordpress is running just fine, where i can edit everything i want and it works.

    I've been searching the net, different forums, and found posts regarding the same issue, but there is no solution as of yet.

    Any help would be greatly appreciated (I am going nuts).

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Have you tried deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

  3. epsylon
    Member
    Posted 2 years ago #

    I tried deactivating all plugins but it still doesn't work...

  4. naeemnur
    Member
    Posted 2 years ago #

    Edit this line on your header.php

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); echo '?' . filemtime( get_stylesheet_directory() . '/style.css'); ?>" type="text/css" media="screen, projection" />

    Now everyone instantly sees your changes.

  5. CoreMatt
    Member
    Posted 2 years ago #

    I too was faced with the same problem when running wordpress on a server hosted by Apache. I resolved this by giving the "Apache Account" modify permissions on the "wp-content" folder.

    HTH

Topic Closed

This topic has been closed to new replies.

About this Topic