Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2010
    Posts
    18
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default 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/i...hp?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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Aug 2010
    Posts
    18
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Jul 2010
    Location
    My heart will always be in the NorEast
    Posts
    106
    Plugin Contributions
    0

    Default 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=...b4f7af4a13aa89

    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

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default 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
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Aug 2010
    Posts
    18
    Plugin Contributions
    0

    Default 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!

 

 

Similar Threads

  1. configure.php permissions changing
    By JohnBoyCR in forum General Questions
    Replies: 9
    Last Post: 27 Nov 2010, 08:40 PM
  2. Can't login after changing 'HTTP_SERVER' in configure.php
    By tootuff305 in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 28 Sep 2009, 11:31 AM
  3. Can't rename dist-configure.php because there is already a configure.php
    By mamasylvia in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 17 Mar 2008, 06:57 AM
  4. How do I edit the 2 configure.php files correctly?
    By mugyver in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 5 Jan 2008, 05:58 AM
  5. DIR_WS_TEMPLATE errors after edit configure.php to setup SSL
    By andrereis in forum General Questions
    Replies: 4
    Last Post: 7 Aug 2007, 12:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg