Zen Cart Logo
Forums / General Questions / Accident: Overwrote configure.php

Accident: Overwrote configure.php

Views: 1,172

Results 1 to 11 of 11
22 Jul 2011, 6:46 PM
#1
bpoilspill avatar

bpoilspill

New Zenner

Join Date:
Jul 2011
Posts:
72
Plugin Contributions:
0

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? :oops:

22 Jul 2011, 6:49 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Accident: Overwrote configure.php

You do make regular backups, right?

22 Jul 2011, 6:52 PM
#3
bpoilspill avatar

bpoilspill

New Zenner

Join Date:
Jul 2011
Posts:
72
Plugin Contributions:
0

Re: Accident: Overwrote configure.php

DrByte:

You do make regular backups, right?

No :oops:

22 Jul 2011, 6:56 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Accident: Overwrote configure.php

bpoilspill:

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? :blush:

22 Jul 2011, 6:58 PM
#5
bpoilspill avatar

bpoilspill

New Zenner

Join Date:
Jul 2011
Posts:
72
Plugin Contributions:
0

Re: Accident: Overwrote configure.php

DrByte:

What exactly do you mean by that?

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

No I was moving it from https://www.ponyrparts.com/store to https://www.ponyrparts.com

22 Jul 2011, 7:23 PM
#7
bpoilspill avatar

bpoilspill

New Zenner

Join Date:
Jul 2011
Posts:
72
Plugin Contributions:
0

Re: Accident: Overwrote configure.php

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

22 Jul 2011, 7:40 PM
#8
bpoilspill avatar

bpoilspill

New Zenner

Join Date:
Jul 2011
Posts:
72
Plugin Contributions:
0

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.

22 Jul 2011, 8:00 PM
#9
alexiss avatar

alexiss

New Zenner

Join Date:
Jun 2009
Posts:
63
Plugin Contributions:
0

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

22 Jul 2011, 9:44 PM
#10
bpoilspill avatar

bpoilspill

New Zenner

Join Date:
Jul 2011
Posts:
72
Plugin Contributions:
0

Re: Accident: Overwrote configure.php

Alexiss:

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?

23 Jul 2011, 3:06 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Accident: Overwrote configure.php

As per the link I posted, there's a dist-configure.php file in that same folder, which you can use as a model to plug in the correct information.