If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Linux/Unix Server / dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

Started by earthangelgiftwrap on 11 Nov 2012, 10:59 PM · Views: 924

Results 1 to 9 of 9
11 Nov 2012, 10:59 PM
#1
earthangelgiftwrap avatar

earthangelgiftwrap

New Zenner

Join Date:
Nov 2012
Posts:
4
Plugin Contributions:
0

dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

Hello,

I am a brand new zen-cart user. I haven't been able to find this particular question answered anywhere, so I'd appreciate any guidance you could offer before I launch into further experiments.

I am trying to install version 1.5.1 on a hostgator linux server. It has Apache 2.2.22; php 5.3.15; MySQL 5.5.21.

I am following the "e-start your webstore" manual and have already created the database, uploaded and extracted the zip file to the server in the /public_html/store directory, and am now trying to rename and check the permissions on the specified files prior to running installation as instructed (on p.12 of the ebook):

"Rename the following two files that reside under the main Zen Cart directory from dist-configure.php to
configure.php. Also make sure their permissions are set to writeable (e.g. chmod 644 or chmod 777).
▪ /admin/includes/dist-configure.php
▪ /includes/dist-configure.php"

However, I do not see any "dist-configures.php" files, so i thought they may have been automatically renamed as required, but I do not see any plain "configure.php" files either. I only see extra_configures.php files in these locations. Are these the files that should be renamed to plain "configure.php" files?

I should mention that this is my second attempt at installing. Last time I went ahead and renamed and set the permissions of the extra_configures.php files, and I got all the way to the "zencart setup finished congratulations" page, and then followed the "next steps" described for renaming and changing permissions for security, but was then unable to go to the admin area, receiving error messages. I thought perhaps this stemmed back to the dist- vs extra_configures.php dilemma.

Thanks again for any insight.

Earth Angel

12 Nov 2012, 12:43 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

uploaded and extracted the zip file to the server in the /public_html/store directory

I do not see any "dist-configures.php" files
These dist-configure.php files are part of the distribution
If you are not seeing them question how you have "extracted the zip file to the server"

Zen-Venom Get Bitten

12 Nov 2012, 2:13 AM
#3
earthangelgiftwrap avatar

earthangelgiftwrap

New Zenner

Join Date:
Nov 2012
Posts:
4
Plugin Contributions:
0

Re: dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

kobra:

These dist-configure.php files are part of the distribution
If you are not seeing them question how you have "extracted the zip file to the server"

Thanks for your response. I just remembered that before I started any of this Zen Cart process, I did have to manually edit the htaccess file to use the later version of php on the server, so maybe I threw something off then.

Both times I have used Firefox and downloaded Zen Cart through the link on this site. I unzipped it on my computer to make sure it's not corrupted (Would that be obvious? It looked fine to me.) and then I used the File Manager in my cPanel to upload the zipped file directly from the Firefox download window (to avoid any trouble by having to rezip it) by dragging and dropping it into the upload file browse field. Then I used the icon in File Manager to extract the zipped file. Then I deleted the original zipped file, and renamed the extracted file "store." Do you think I am causing a problem with the files in there somewhere? Maybe by using the firefox download window instead of rezipping and uploading from my computer?

I would like to achieve a textbook perfect manual install so I can sleep at night knowing its done the best way and won't be problematic down the road. This is my first experience so I am pretty blindly following directions, and really appreciate your help.

I thought I might try:

  1. Using the Fantastico installation for comparison's sake so I can see how the files look then? If I'm still missing dist-configures in the auto-install would that indicate something off with the hosting that's affecting my manual install? I think it's easy to delete the auto-installation, unless that might leave residual problems?

  2. Editing the htaccess file back to the default earlier php version.

Thanks again,

Earth Angel

12 Nov 2012, 3:04 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

I unzipped it on my computer to make sure it's not corrupted
Was there the dist-configures.php files present when unzipped locally??

Zen-Venom Get Bitten

12 Nov 2012, 3:22 AM
#5
earthangelgiftwrap avatar

earthangelgiftwrap

New Zenner

Join Date:
Nov 2012
Posts:
4
Plugin Contributions:
0

Re: dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

Hello again,

I don't know if the dist-configures files were there locally the first two times since I deleted the local unzipped files before I thought to go back and check that, but I decided to give it a fresh start one more time, and there they are: dist-configures.php right where they should be: third time's the charm! I don't think I did anything differently during the upload process, so I am sorry not to have a specific solution along those lines for anyone else who encounters this, but I'm going to try the rest of the installation process now and will post the results.

I think the difficulty may have been due to a problem that hostgator was having with the file management program (I got an email from them saying that the File Manager is loading correctly now). Who knows what else might have been missing that I wasn't specifically looking for: I hope this isn't a common occurrence with them. I'm still in the 45 day guarantee period, so we'll see how it goes!

Thanks so much again,

Earth Angel

12 Nov 2012, 3:47 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

Suggest that you unzip files on the server and just run zc_install
Do not worry about renaming as the install routine will take care of this

Zen-Venom Get Bitten

12 Nov 2012, 3:52 AM
#7
earthangelgiftwrap avatar

earthangelgiftwrap

New Zenner

Join Date:
Nov 2012
Posts:
4
Plugin Contributions:
0

Re: dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

The installation was a perfect success, I followed the initial security recommendations so I have no warnings, but I will check for any patches/bug fixes, etc. and then I am excited to learn my way around the shop tomorrow. Thanks again for your guidance!

Earth Angel

12 Nov 2012, 3:58 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

Use the tutorials posted here as they cover much of the initial questions

Zen-Venom Get Bitten

12 Nov 2012, 4:15 AM
#9
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: dist-configures vs. extra_configures rename during pre-installation activities v1.5.1

And for learning your way around Zen Cart, it is VERY helpful to install the demo products when you install Zen Cart. This is something that the install routine doesn't emphasize fully. They all have teaching functions to show how various features of the program work. Once you understand things, you can delete the demo products, or better yet, have a test installation with the demo products (and its own database) as well as your live installation which you develop for your store.