Zen Cart Logo
Forums / General Questions / I am so backwards with this install:-(

I am so backwards with this install:-(

Views: 757

Results 1 to 10 of 10
2 Oct 2011, 7:21 PM
#1
sendmenews avatar

sendmenews

Zen Follower

Join Date:
May 2008
Posts:
122
Plugin Contributions:
0

I am so backwards with this install:-(

I believe I did things totally backwards but I am where I am now. I was going to upload my site b/c I needed some help from the community. Did not realize a mess I would be in.

I have been working on my site as a local host. I have Godaddy (i know people here are not fans but i am there for 1 more year)

The Zencart got installed by godaddy and I then uploaded my Zencart folder from the computer where I have done all of my work the last few weeks. Well it failed basically - as the notice said that either there were configure.php issues or that I did not install the program etc or passwords did not match. I am so frustrated right now b/c I just want to upload the darn site to get help from you all with some layout issues.

So I uninstalled everything from Godaddy to start afresh. In reading the install I think my first mistake was that when I first started creating my site I never installed the zencart onto godaddy. I just did all the work on my computer. So if that is the case and that was the first screw up I am not too sure how to fix this since literally my website is 3/4 complete. I am sure I am making this way more complicated than it is which is why I am posting b/c I am so frustrated I know I am not thinking clearly.

Help is so appreciated right now and consider yourself hugged when I succeed from you input. Hopefully my site will be up within an hour to really get the feedback I need.

3 Oct 2011, 1:07 AM
#2
sendmenews avatar

sendmenews

Zen Follower

Join Date:
May 2008
Posts:
122
Plugin Contributions:
0

Re: I am so backwards with this install:-(

Hello. Thank you for loading Zen Cart™.
You are seeing this page for one or more reasons:

I keep getting this message so obviously I am missing something. I am wondering if it is safe to copy my config.php file and post it here to see if someone can find what I am overlooking.

3 Oct 2011, 1:19 AM
#3
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: I am so backwards with this install:-(

sendmenews:

Hello. Thank you for loading Zen Cart™.
You are seeing this page for one or more reasons:

I keep getting this message so obviously I am missing something. I am wondering if it is safe to copy my config.php file and post it here to see if someone can find what I am overlooking.

Yes just XXX out the sensitive stuff like passwords, admin directory names or whatever

  1. Did you just install your store, I thought you were working on a wamp server locally?
  2. Can you access admin or the store
  3. If you were working on a local server and have transferred to a live online server did you update all the paths correctly
3 Oct 2011, 1:34 AM
#4
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: I am so backwards with this install:-(

You could probably upload everything, as long as you didn't upload these two files

admin/includes/configure.php
/includes/configure.php

Also be aware that your admin folder would be named zc_admin (i think) by go-daddy so you would need to copy the contents of your admin folder (sans configure.php file) into the zc_admin folder.

And then you would need to rename the zc_admin folder

and you would also need to import your database into the godaddy one

3 Oct 2011, 1:54 AM
#5
sendmenews avatar

sendmenews

Zen Follower

Join Date:
May 2008
Posts:
122
Plugin Contributions:
0

Re: I am so backwards with this install:-(

nigelt74:

Yes just XXX out the sensitive stuff like passwords, admin directory names or whatever

  1. Did you just install your store, I thought you were working on a wamp server locally?
  2. Can you access admin or the store
  3. If you were working on a local server and have transferred to a live online server did you update all the paths correctly

Yep was working on a local server but really needed the tweaking of things that people said they needed to see the site for so I decided to upload it.

I uploaded everything directly from my local site. I cannot access my website store at all, it just gives me the message that I have not done something correctly. I installed and uninstalled several times so i am missing something right in front of my eyes. Have been trying to figure it out all day with no success:( Here is my includes/ config and below that is my admin/config

<?php /** * @package Configuration Settings circa 1.3.9 * @copyright Copyright 2003-2010 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * File Built by zc_install on 2011-09-08 02:54:03 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.kaleidoscopegalaxy.com'); define('HTTPS_SERVER', 'https://www.kaleidoscopegalaxy.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/zencartgalaxy/'); define('DIR_WS_HTTPS_CATALOG', '/zencartgalaxy/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', 'C:/xampp/htdocs/zencartgalaxy/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'xxx'); define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxx'); define('DB_DATABASE', 'zencartgalaxy'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', 'C:/xampp/htdocs/zencartgalaxy/cache'); // Admin config <?php /** * @package Configuration Settings circa 1.3.9 * @copyright Copyright 2003-2010 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * File Built by zc_install on 2011-09-08 02:54:03 */ /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // Main webserver: eg-http://www.your_domain.com - // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings * * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following: */ define('HTTP_SERVER', 'http://www.kaleidoscopegalaxy.com'); define('HTTPS_SERVER', 'https://www.kaleidoscopegalaxy.com'); define('HTTP_CATALOG_SERVER', 'http://www.kaleidoscopegalaxy.com'); define('HTTPS_CATALOG_SERVER', 'https://www.kaleidoscopegalaxy.com'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'false'); define('ENABLE_SSL_ADMIN', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/zencartgalaxy/xxx666/'); define('DIR_WS_CATALOG', '/zencartgalaxy/'); define('DIR_WS_HTTPS_admin', '/zencartgalaxy/xxx666'); define('DIR_WS_HTTPS_CATALOG', '/zencartgalaxy/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', 'C:/xampp/htdocs/zencartgalaxy/xxx666/'); define('DIR_FS_CATALOG', 'C:/xampp/htdocs/zencartgalaxy/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'xxx'); define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxx'); define('DB_DATABASE', 'zencartgalaxy'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', 'C:/xampp/htdocs/Zencartgalaxy/cache'); // EOF Hopefully this is a quick fix. I am looking forward to finally getting help with the tweaks I am needing:yes:
3 Oct 2011, 1:57 AM
#6
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,593
Plugin Contributions:
0

Re: I am so backwards with this install:-(

Moderator's note - 2 related threads from the OP have been merged.

3 Oct 2011, 2:31 AM
#7
sendmenews avatar

sendmenews

Zen Follower

Join Date:
May 2008
Posts:
122
Plugin Contributions:
0

Re: I am so backwards with this install:-(

nigelt74:

You could probably upload everything, as long as you didn't upload these two files

admin/includes/configure.php
/includes/configure.php

Also be aware that your admin folder would be named zc_admin (i think) by go-daddy so you would need to copy the contents of your admin folder (sans configure.php file) into the zc_admin folder.

And then you would need to rename the zc_admin folder

and you would also need to import your database into the godaddy one

hey nigel....

I actually uninstalled the godaddy version and redid it just through my upload b/c i got so frustrated with them earlier. I did upload the two configure files you mentioned when I did the upload from my local. Hopefully that is okay. I also imported the sql myself. When i log into my account the sql message says:" mysql_connect($hostname,$username, $password) OR DIE ('Unable to connect to database! Please try again later.');
mysql_select_db($dbname);" I am thinking somewhere that must be the problem too. Godaddy says it is me.

3 Oct 2011, 3:10 AM
#8
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: I am so backwards with this install:-(

This is one of the reasons why it won't work

define('DIR_FS_CATALOG', 'C:/xampp/htdocs/zencartgalaxy/');

There are various others bits like that in your config file, that is referring to your home computer, godaddy doesn't use your home computer, you need to put correct location for the go-daddy server

which would be something like /var/www/vhost/accountname/public_html/store/

But you would need to get that from go-daddy.

3 Oct 2011, 3:25 AM
#9
sendmenews avatar

sendmenews

Zen Follower

Join Date:
May 2008
Posts:
122
Plugin Contributions:
0

Re: I am so backwards with this install:-(

Thanks. I really appreciate it. Will be tomorrow's project.

3 Oct 2011, 2:29 PM
#10
sendmenews avatar

sendmenews

Zen Follower

Join Date:
May 2008
Posts:
122
Plugin Contributions:
0

Re: I am so backwards with this install:-(

Okay, I am so close I think. So the https://www.kaleidoscopegalaxy.com kind of loads but nothing like how it needs to look. On the admin page it says "1146 Table 'zencartgalaxy.zen_project_version' doesn't exist
in:
[select * from zen_project_version WHERE project_version_key = 'Zen-Cart Database' ]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields."

Initially I did find the error and fixed it, however it still exists. Then I went to my debug file - as I saw to check that in another post. There is a message: one is "[03-Oct-2011 16:00:36] PHP Warning: Division by zero in C:\xampp\htdocs\zencartgalaxy\MLKAdmin666\includes\classes\split_page_results.php on line 42" not sure what that means or how to fix. Finally in the downloads manager it says"1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-0, 0' at line 1
in:
[select pad., pa., pd., p. from products_attributes_download pad left join products_attributes pa on pad.products_attributes_id = pa.products_attributes_id left join products_description pd on pa.products_id = pd.products_id and pd.language_id ='1' left join products p on p.products_id= pd.products_id where pa.products_attributes_id = pad.products_attributes_id order by pd.products_name limit -0, 0]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields." Hopefully when these get fixed I am good to go. So any ideas on how to fix are greatly appreciated.