Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

'style.css' is a remote file and cannot be edited?

New Here ,
Oct 31, 2011 Oct 31, 2011

man this is driving me absolutely nuts.  So far what i'm trying to do is edit an existing wordpress site in dreamweaver. I have installed and configured MAMP since im on a mac. I have imported a complete set of local files of my site and placed them in the root folder:mamp-htdocs-www.ive created a database in mySql and imported my tables from my server to it and configured it to match the wp-config file. No problems there. In Dreamweaver , after managing sites, i set up local folder as wamp-htdocs-www, and setup my testing server as local/network with address as http://localhost/www.With all that i am able to preview my site, animations and all. But when i try to click on my .css files or .js files and some other i get the error " 'style.css' is a remote file and cannot be edited. When i try to make changes to the css through the styles panel it tells me : Unable to open file "http://www.sitename.org/wp-content-themes/sitename/style.css. You can download the file by using remote view of the files panel, or by selecting the file in the Related Files toolbar and clicking "Get" in the info bar. So for some reason it seems that its still looking online for my css files instead of realizing that they are in my root folder. What Gives. Any help would be so greatly appreciated.Screen shot 2011-10-31 at 12.25.48 PM.png

Screen shot 2011-10-31 at 12.26.01 PM.pngScreen shot 2011-10-31 at 12.26.08 PM.pngScreen shot 2011-10-31 at 12.26.16 PM.pngScreen shot 2011-10-31 at 12.26.31 PM.png

TOPICS
Server side applications
5.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 31, 2011 Oct 31, 2011

The problem is the "http:// ..." path. DW will not let you edit "remote" files directly (even if they physically exist on your local hard disk).

In general, you can change the path to be site-root relative (i.e. "/wp-content-themes/sitename/style.css"), but that's not always possible when using WordPress. Otherwise, Get a copy to your local Site folder, then Put it back to the server when done editing.

HTH,

Randy

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 29, 2017 Dec 29, 2017
LATEST

I have the same problem even I don't have the mamp or wordpress, it directly from DW, and Still have the same problem?

Any help would be kind and appreciated.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines