Zen Cart Logo
Forums / Basic Configuration / Changing directories. Can't edit configure.php

Changing directories. Can't edit configure.php

Locked

Views: 1,261

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
26 Aug 2010, 9:09 PM
#1
simpleestated avatar

simpleestated

New Zenner

Join Date:
Aug 2010
Posts:
18
Plugin Contributions:
0

Changing directories. Can't edit configure.php

Hello all. I have installed a template and all went well. I am trying to change my directories. Before my site could be seen at http://martingordonusa.com/catalog. I wanted to drop the /catalog extension so I was advised to move all the files from /catalog to my root folder. I did that. Then, I was told to modify /includes configure.php and admin configure.php I modified /includes perfectly. I can see my website just fine but I lost my zencart area. I should mention that the template I installed has a splash page that you click into to get to the shop.

I opened /admin configure.php in dreamweaver and edited but anytime I try to save it or replace the old file with the new one it says it can't be done. I at my wits end and would like to get this done tonight. Can anyone offer any suggestions? It's appreciated in advance.

26 Aug 2010, 9:12 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Changing directories. Can't edit configure.php

The file is normally set to read-only. Did you change its permissions to allow write-access, before trying to apply your changes?

26 Aug 2010, 9:12 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Changing directories. Can't edit configure.php

The file is set to read-only. You'll have to make it writable by changing its permissions before you can save changes to it.
That's all discussed in the tutorial on changing directories: https://www.zen-cart.com/tutorials/index.php?article=122

Additionally, dreamweaver is not the most ideal tool for what you're trying to do, and especially when dealing with read-only files. I gave up using it for PHP-based sites several years ago.

26 Aug 2010, 9:28 PM
#4
simpleestated avatar

simpleestated

New Zenner

Join Date:
Aug 2010
Posts:
18
Plugin Contributions:
0

Re: Changing directories. Can't edit configure.php

That makes sense! I actually set it to write but only on the "owner" part. Do I need to change it to "777" for both lines as the initial setup requires?

Also, what would you suggest I use? I only have dreamweaver installed? Are there any good programs for Macs?

Also will this take my splash page and cart over together? Because for some reason I was able to see the splash page fine but I just couldn't access admin.

Thanks you guys!
Posted via Mobile Device

26 Aug 2010, 10:35 PM
#5
richphitzwell avatar

richphitzwell

Zen Follower

Join Date:
Jul 2010
Location:
My heart will always be in the NorEast
Posts:
110
Plugin Contributions:
0

Re: Changing directories. Can't edit configure.php

I dont own a mac, but I use crimson editor only and doing a quick search on google this was the first link
http://hintsforums.macworld.com/showthread.php?t=92332

and the google search

http://www.google.com/#hl=en&source=hp&q=crimson+editor+mac&aq=1sx&aqi=g-s1g-sx9&aql=&oq=chrimson+edi&gs_rfai=CTKwnY-t2TNHIL5L4pATGwsADAAAAqgQFT9D7my4&pbx=1&fp=7db4f7af4a13aa89

I would recommend any file that you edit until you are sure the editor is not messing with the files is to make two copy of the files and dont touch one of them.

As for permissions set it to 777 and immediately after loading set back to 444

26 Aug 2010, 10:55 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Changing directories. Can't edit configure.php

There are lots of good FTP programs out there for Mac. FileZilla is free.

Useful reference: http://www.zen-cart.com/wiki/index.php/Useful_Tools

27 Aug 2010, 11:44 AM
#7
simpleestated avatar

simpleestated

New Zenner

Join Date:
Aug 2010
Posts:
18
Plugin Contributions:
0

Re: Changing directories. Can't edit configure.php

It worked! Thank you all. I just needed to change the permissions, like you all said. I will also look into filezilla. I appreciate the help, thanks for such speedy replies!