Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2011
    Posts
    22
    Plugin Contributions
    0

    Default How To Change Admin Configuration.php?

    Hey,

    I've set up a development site on the same host that my other store is. Everything is working great besides that when I try to go to the development site's admin, it redirects me to my live store's admin. I'm guessing I'm going to need to change something in the configuration.php file in the development admin directory in order to make it go to the development admin's site. Does any one know what I need to change though?

    Thanks!

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How To Change Admin Configuration.php

    What version are you using?
    Do you mean that you can't get to the dev admin? Or that when logging into it, actions send you to the live admin?
    In v1.3.9 and earlier, you would edit all defines for DIR_WS_CATALOG, DIR_WS_ADMIN, DIR_FS_CATALOG, DIR_FS_ADMIN and their HTTPS versions to include the web or file path to the dev installation. Also edit the DB and SQL defines to reflect the dev installation.

  3. #3
    Join Date
    Apr 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: How To Change Admin Configuration.php?

    Hey,

    What it's doing is as soon as I type in that url say yoursite.com/dev/zc_admin it doesn't go there but it redirects me to yoursite.com/zc_admin. I've been told I need to correct the path on the admin side within configure.php. Any idea how I do that?

    Thanks!
    Last edited by 1105designs; 15 Dec 2011 at 06:49 PM.

  4. #4
    Join Date
    Apr 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: How To Change Admin Configuration.php?

    Is this the line that I'm supposed to edit:

    Code:
    zen_redirect(zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cID));
    If so what would I need to change?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: How To Change Admin Configuration.php?

    Why are you touching "configuration.php" AT ALL?

    All your configuration settings are in "configure.php" ... ie: /your_admin_folder/includes/configure.php
    .

    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.

  6. #6
    Join Date
    Apr 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: How To Change Admin Configuration.php?

    Quote Originally Posted by DrByte View Post
    Why are you touching "configuration.php" AT ALL?

    All your configuration settings are in "configure.php" ... ie: /your_admin_folder/includes/configure.php
    I haven't I'm just telling you what I've been told. Can you please elaborate and tell me what I need to do in that file to make my problem go away?

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: How To Change Admin Configuration.php?

    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. v150 Image Upload problem after change PHP configuration to suphp
    By damien_c2 in forum General Questions
    Replies: 1
    Last Post: 5 Jul 2013, 08:33 AM
  2. how change this line in admin Configure.php
    By tundria in forum General Questions
    Replies: 16
    Last Post: 1 Dec 2012, 01:47 PM
  3. Change sort order of Admin > Configuration menu?
    By frank18 in forum General Questions
    Replies: 8
    Last Post: 18 Aug 2010, 07:25 AM
  4. Admin Configuration takes me to index.php
    By dnnsldr in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 18 Nov 2008, 06:48 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