If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Linux/Unix Server / Help - Overwrote configure.php file!

Help - Overwrote configure.php file!

Locked

Started by paulsingleton on 16 May 2006, 6:07 PM · Views: 3,567

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
16 May 2006, 6:07 PM
#1
paulsingleton avatar

paulsingleton

New Zenner

Join Date:
May 2006
Posts:
1
Plugin Contributions:
0

Help - Overwrote configure.php file!

Hello, I have stepped in as site admin to a Zen-Cart based site. I have integrated a third party component for Linkpoint Connect, and I was moving on to turning SSL on when I accidentally overwrote /include/configure.php with /admin/include/configure.php.

Everything else on the site is intact. I don't know enough about the host to rebuild some of the path variables in configure.php. Is there another file that I may draw some of those same paths from?

Any help would be greatly appreciated. If anyone has a utility file I can upload to my host which will answer some of the questions or get me moving along we can do that too.

Thanks in advance. Zen seems to be a great product and I'm excited to work with it.

Paul

16 May 2006, 8:07 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Help - Overwrote configure.php file!

A few ways to deal with this. Pick your choice from the list:

  1. Restore from backup :dontgetit

  2. compare the /includes/dist-configure.php with the /includes/configure.php you currently have, and make adjustments

  3. Rebuild the files:
    a. Do a database-backup via phpMyAdmin or other preferred means.
    b. re-upload zc_install folder, and mark your configure.php files read/write.
    c. run zc_install/index.php and when get to the database-setup screen, BEFORE filling in any fields, add this to the URL in the browser:
    &configfile=only
    and then carry on with filling in the fields for database-setup
    d. This will re-write your configure.php files for this server, based on settings it detected and you provided in the various input screens leading up to the database-setup page.
    e. At the Database-Upgrade page, you can either do upgrades, or skip them if none apply.

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