Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Cannot go from test to live

Cannot go from test to live

Locked

Views: 1,381

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
4 Feb 2007, 7:36 AM
#1
straw avatar

straw

New Zenner

Join Date:
Feb 2007
Posts:
30
Plugin Contributions:
0

Cannot go from test to live

Clean install: 1.3.7
simple zen template

Having a problem seeing my site under live conditions.

Background: My domain was on another server (no cart). I wanted to add a cart with a new webhost. Using zc on new server I built the site using their temp ip in a folder. Everything seemed fine.

Moved the cart to the root, updated both configs, pointed my domain to the new server DNS. This was Wednesday.

Now when I type in my site in a browser I get the webhost page holder. When I look at it through my admin, I get a blank page, which if you look at the source is my "old server" page not found 404. Admin works perfectly fine, btw and is secured.

I am at my wits end on this. I have cleared cookies, cache, looked at it in 4 different browsers. Made sure my cache file has 777 permissions, and is pointed correctly in admin.

Went through the Wikki: blank page, double checked the phpBB file to make sure it is "not" capitalized. Tried to classic template with no change. And more that I am so tired I can't think of right off the bat.

Just for grins, I set all my config files to the secure server and it sort of worked when I typed it into the browser. It gave me a list of files and then my site came up underneath them. This is them:

actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/class.base.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/class.notifier.php');
actionPoint=>0 $zco_notifier = new notifier();
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/class.phpmailer.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/class.smtp.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/boxes.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/category_tree.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/template_func.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/split_page_results.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/language.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/cache.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/sniffer.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/class.phpbb.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/shopping_cart.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/navigation_history.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/currencies.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/message_stack.php');
actionPoint=>0 include('/home/chr1sr10/public_html/includes/classes/breadcrumb.php');
actionPoint=>10 include('includes/init_includes/init_file_db_names.php');
actionPoint=>10 include('includes/init_includes/init_database.php');
actionPoint=>20 include('includes/version.php');
actionPoint=>30 $zc_cache = new cache();
actionPoint=>40 include('includes/init_includes/init_db_config_read.php');
actionPoint=>50 $sniffer = new sniffer();
actionPoint=>50 include('includes/init_includes/init_gzip.php');
actionPoint=>50 include('includes/init_includes/init_sefu.php');
actionPoint=>50 $phpBB = new phpBB();
actionPoint=>60 include('includes/init_includes/init_general_funcs.php');
actionPoint=>60 include('includes/init_includes/init_tlds.php');
actionPoint=>70 include('includes/init_includes/init_sessions.php');
actionPoint=>80 actionPoint=>80
actionPoint=>90 $currencies = new currencies();
actionPoint=>100 $template = new template_func();
actionPoint=>100 include('includes/init_includes/init_sanitize.php');
actionPoint=>110 include('includes/init_includes/init_languages.php');
actionPoint=>110 include('includes/init_includes/init_templates.php');
actionPoint=>120 $_SESSION[navigation]->add_current_page();
actionPoint=>120 include('includes/init_includes/init_currencies.php');
actionPoint=>130 $messageStack = new messageStack();
actionPoint=>130 include('includes/init_includes/init_customer_auth.php');
actionPoint=>140 include('includes/init_includes/init_cart_handler.php');
actionPoint=>150 include('includes/init_includes/init_special_funcs.php');
actionPoint=>160 $breadcrumb = new breadcrumb();
actionPoint=>160 include('includes/init_includes/init_category_path.php');
actionPoint=>170 include('includes/init_includes/init_add_crumbs.php');
actionPoint=>180 include('includes/init_includes/init_header.php');

Here are my configure.php files:

<?php /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** 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.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> define('HTTP_SERVER', 'https://s14.securedview.com/spinningstrawintogold.com'); define('HTTPS_SERVER', 'https://s14.securedview.com/spinningstrawintogold.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // 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', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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', '/home/chr1sr10/public_html/'); 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', ''); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', ' '); define('DB_SERVER_PASSWORD', ' '); define('DB_DATABASE', ' '); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // 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', '/home/chr1sr10/public_html/cache'); ?>
<?php // /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** 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://localhost> - should not be empty for productive servers // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> // HTTP_CATALOG_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_CATALOG_SERVER is your Secure webserver: eg, <https://www.yourdomain.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 */ define('HTTP_SERVER', 'https://s14.securedview.com/spinningstrawintogold.com'); define('HTTPS_SERVER', 'https://s14.securedview.com/spinningstrawintogold.com'); define('HTTP_CATALOG_SERVER', 'http://spinningstrawintogold.com'); define('HTTPS_CATALOG_SERVER', 'https://s14.securedview.com/spinningstrawintogold.com'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'true'); define('ENABLE_SSL_ADMIN', 'true'); // 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', '/angora/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_ADMIN', '/angora/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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', '/home/chr1sr10/public_html/angora/'); define('DIR_FS_CATALOG', '/home/chr1sr10/public_html/'); 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', ''); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', ' '); define('DB_SERVER_PASSWORD', ' '); define('DB_DATABASE', ' '); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // 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', '/home/chr1sr10/public_html/cache'); ?>

Error logs show :
[Sun Feb 4 00:43:05 2007] [error] [client 72.30.226.160] File does not exist: /home/chr1sr10/public_html/404.shtml
[Sun Feb 4 00:43:05 2007] [error] [client 72.30.226.160] File does not exist: /home/chr1sr10/public_html/robots.txt

Help.....

4 Feb 2007, 9:39 AM
#2
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Cannot go from test to live

Sorry - I'm confused; are you saying that when you set > define('HTTP_SERVER', 'https://s14.securedview.com/spinningstrawintogold.com');

to

define('HTTP_SERVER', 'http://spinningstrawintogold.com'); is when it doesn't work?

4 Feb 2007, 6:36 PM
#3
straw avatar

straw

New Zenner

Join Date:
Feb 2007
Posts:
30
Plugin Contributions:
0

Re: Cannot go from test to live

Sorry - I'm confused; are you saying that when you set
Quote:
define('HTTP_SERVER', 'https://s14.securedview.com/spinningstrawintogold.com');
to
Quote:
define('HTTP_SERVER', 'http://spinningstrawintogold.com');
is when it doesn't work?


That's correct.

6 Feb 2007, 11:06 PM
#4
straw avatar

straw

New Zenner

Join Date:
Feb 2007
Posts:
30
Plugin Contributions:
0

Re: Cannot go from test to live

Problem corrected.......eventhough my site was pointed to the new server, I am using the old server as my isp. Everyone else could see the site but me. Once the webhosting portion through my isp was deleted my site popped up on my computer. :yes: