• Hello everybody,

    I made a fresh install of WordPress 3.7.1.
    Once everything is set, I go to the editor to edit style.css
    but instead of showing me the style sheet code, it asks me to login. Once I enter my ID and pass, it does nothing, keeps asking me to log in. Any idea on how this can be solved, or what I may have done wrong?

    Thank you

Viewing 13 replies - 1 through 13 (of 13 total)
  • 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).

    – switching to the default theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading all files & folders – except the wp-content folder and wp-config.php & root .htaccess files – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    Thread Starter Xsjado

    (@xsjado)

    It does that on a fresh install, with no extra plugins or theme.

    I reinstalled it 3 times, erasing both files, folders and sql base before reinstalling.

    Are you sure that this is not an FTP login that is being requested?

    Thread Starter Xsjado

    (@xsjado)

    Nope, the usual login box :/

    Is this happening on any other admin page? Have you tried using another browser? Or another computer?

    Thread Starter Xsjado

    (@xsjado)

    Yes, tried on Chrome and Firefox, and on different computers on different networks 😮

    Thread Starter Xsjado

    (@xsjado)

    It happens only when I want to edit style.css and rtl.css

    Are the permission for those files different than others in the theme?

    The built editor is pretty meh too, you might want to look into something free like Aptana or Notepad++ if you’re going to editing code regularly. Or step it up to sublime text, webstorm, etc.

    Thread Starter Xsjado

    (@xsjado)

    They’re both 604, like all the other files. I haven’t modified any permission, and it’s the basic theme twentythirteen!

    I tried a fresh install on a linux server and my local machine and couldn’t reproduce the issue, so something’s off in your environment most likely. Can you try working with a decent code editing program and see if that helps? What about creating a child theme instead of directly editing twentythirteen too?

    Thread Starter Xsjado

    (@xsjado)

    I think I’m gonna go with a desktop editor and the ftp client, that’s just more steps.

    I’m just unhappy things don’t work properly with a fresh install…

    What do you think about this plugin: http://wordpress.org/plugins/advanced-code-editor/ ?

    I would go insane without a full blown professional ide at this point but I started with Notepad++ and it’s still as good as it ever was. Aptana can directly edit files on a server, which could be good for what you’re wanting to do. It’s a memory hog though.

    I really wouldn’t trust editing code in a browser, you’re just going to end up with something weird through all of the line break conversions, http madness/headers, etc. It’s amazing that thing works at all really.

    Thread Starter Xsjado

    (@xsjado)

    Esmi and Andrew, thanks for all your answers. This problem is unsolved but I bypass it using TextWrangler which allows to directly edit fils on the server.

    Thank you!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Have to login to edit style.css’ is closed to new replies.