Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Really DUMB question...

Really DUMB question...

Locked

Views: 1,763

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
13 Mar 2007, 12:23 AM
#1
valaroopie avatar

valaroopie

New Zenner

Join Date:
Mar 2007
Posts:
27
Plugin Contributions:
0

Really DUMB question...

So, let's say someone were to install Zen and start configuring their shop, only to realize that they didn't rename the dist_config files in the beginning like they were supposed to ... :blush:

Where are those config settings stored, if I didn't have the config files renamed when I went through with the install??

PROBLEM: Now that I have the proper config files in place (and CHMOD 777), I need to fill in all the settings manually with the values that were stored when I installed. My store is ALL screwed up now, yikes!!:cry:

LOL, does this make sense?

13 Mar 2007, 12:25 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Really DUMB question...

Somewhere along the way through the install ... you managed to place a blank configure.php in the two directories:
/includes
/admin/includes

If they had not been there, you could not have installed Zen Cart nor could you later do an Upgrade ...

13 Mar 2007, 12:33 AM
#3
valaroopie avatar

valaroopie

New Zenner

Join Date:
Mar 2007
Posts:
27
Plugin Contributions:
0

Re: Really DUMB question...

Bizarre, right? That's what I was thinking too. However, there weren't configure.php files in either of those 2 directories when I went looking for them.

I was trying to figure out what was going on with the cache, and I found several threads here pointing me to the configure.php files ... but all I found on my server were the dist-configure.php files. That's when I thought I'd pieced it all together, renamed those to configure.php, and WHAM - I killed my shop! :lamo:

I know I should have looked at the code before doing that, I know I should have RTFM before installing ... trust me, I'm pretty upset with myself right now.

If you were in my shoes, what would you do? Well, besides slap yourself? :P

(I've spent the last 4 days configuring my shop, can I avoid a reinstall?)

PS: to clarify, the configure.php files are currently sitting here with all the factory defaults ... I could try and enter all the info manually, but if my settings are configured somewhere else, I'd really like to see them for reference - since it was all working beautifully before this!

13 Mar 2007, 12:44 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Really DUMB question...

You just need to remake the configure.php files ...

If you look at the dist-configure.php they show you the settings ...

You can backup your database so nothing is lost ... even if you make a mistake on the following and run the
/zc_install

Only run it up to and including the page:
Zen Cart™ Setup - Database Setup

And do the Save Database ... then stop!

Now quit the installer ... and do not complete it ...

This will remake the configure.php files from the blank or empty configure.php files ...

Be sure to download to your site after making them the 2 configure.php files from:
/includes/configure.php
/admin/includes.php

which now contain your settings for your site ...

13 Mar 2007, 12:57 AM
#5
valaroopie avatar

valaroopie

New Zenner

Join Date:
Mar 2007
Posts:
27
Plugin Contributions:
0

Re: Really DUMB question...

Zen Cart™ Setup - System Inspection

**NOTE:
If you are Upgrading, be sure to choose "Database Upgrade" below to keep your data.
If you choose "Install", you will erase all the contents of your database.
**

... I've done the backup, I'm assuming I should choose upgrade at this point? (THANK YOU, btw!!)

13 Mar 2007, 1:14 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Really DUMB question...

Actually do you see an Upgrade Cfg Files button or just the Upgrade Database button?

13 Mar 2007, 1:15 AM
#7
valaroopie avatar

valaroopie

New Zenner

Join Date:
Mar 2007
Posts:
27
Plugin Contributions:
0

Re: Really DUMB question...

NVM, I just found my thinking cap :smartass:

Since I backed up, I felt OK trying the install option; which then put me on the path you described above. Almost done, I'll LYK the results!