Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Accident: Overwrote configure.php

    So I was moving my site over and accidentally overwrote the configure.php in the admin/includes folder with the configure.php in the includes folder. The site works fine but now I can't access the admin area, help?

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

    Default Re: Accident: Overwrote configure.php

    You do make regular backups, right?
    .

    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.

  3. #3
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Accident: Overwrote configure.php

    Quote Originally Posted by DrByte View Post
    You do make regular backups, right?
    No

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

    Default Re: Accident: Overwrote configure.php

    Quote Originally Posted by bpoilspill View Post
    So I was moving my site over
    What exactly do you mean by that?

    Was it sitting a little too far to the left or something?
    .

    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.

  5. #5
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Accident: Overwrote configure.php

    Quote Originally Posted by DrByte View Post
    What exactly do you mean by that?

    Was it sitting a little too far to the left or something?
    No I was moving it from www.ponyrparts.com/store to www.ponyrparts.com

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

    Default Re: Accident: Overwrote configure.php

    You do see the importance of making regular backups (of not just all your files, but also your database), right? ref: https://www.zen-cart.com/tutorials/i...hp?article=103

    Some ideas: http://www.zen-cart.com/forum/showthread.php?t=35812
    .

    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
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Accident: Overwrote configure.php

    I followed the steps in step3 and now the site is back to it's default settings.

  8. #8
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Accident: Overwrote configure.php

    This is great, now I'm dead in the water, I exported the database via PHPmyadmin, and tried importing it back, now everything's screwed.

  9. #9
    Join Date
    Jun 2009
    Posts
    63
    Plugin Contributions
    0

    Default Re: Accident: Overwrote configure.php

    Simple fix create a new username and password for the data base. Then go to your open config file in includes and in your admin and manually configure it with the new user and password you created in your control panel for that database.

    lexxie

  10. #10
    Join Date
    Jul 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: Accident: Overwrote configure.php

    Quote Originally Posted by Alexiss View Post
    Simple fix create a new username and password for the data base. Then go to your open config file in includes and in your admin and manually configure it with the new user and password you created in your control panel for that database.

    lexxie

    Ok, did that, site is up again, but I still need the right configure.php. Can't I just use someones and edit it?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Accidentally overwrote index.php
    By mikemetz in forum General Questions
    Replies: 7
    Last Post: 13 Jan 2012, 05:09 PM
  2. 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
  3. Deleted includes/configure.php by accident ?!
    By rp220 in forum General Questions
    Replies: 2
    Last Post: 14 Dec 2006, 06:06 PM
  4. Help - Overwrote configure.php file!
    By paulsingleton in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 16 May 2006, 09:07 PM

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