Zen Cart Logo
Forums / General Questions / What Have I Done!

What Have I Done!

Locked

Views: 1,034

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
22 Feb 2007, 10:52 PM
#1
upnorthpromo avatar

upnorthpromo

New Zenner

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

What Have I Done!

I just got done seting up to take credit cards. Then I was installing my SSL. I think I have done everything correctly and now my website is screwed up. I know very little about website so can someone please take a look and let me know where to start.
http://www.upnorthpromo.com . thanks alot

23 Feb 2007, 12:35 AM
#2
kobra avatar

kobra

Black Belt

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

Re: What Have I Done!

Looked quickly and you did not state what your issue is and it looks to be functioning.

It is not switching to Secure upon login - edit your configure.php file to enable

23 Feb 2007, 1:28 AM
#3
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: What Have I Done!

Not sure if you are working on them but if not you need to set the permissions on both your configure.php.

Also your SSL is for https://www.upnorthpromo.com but you are running your site on upnorthpromo.com so FF users will get a warning.

Images also need attention. Way to large. Look in the FAQ for help with this.

23 Feb 2007, 5:49 AM
#4
upnorthpromo avatar

upnorthpromo

New Zenner

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

Re: What Have I Done!

both of the persmissions were set to 'true' and that is when that red box came up. I just got my ssl certificate today. Could that be the reason? just needs some time for everything to get into place?

23 Feb 2007, 6:28 AM
#5
upnorthpromo avatar

upnorthpromo

New Zenner

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

Re: What Have I Done!

does this help anyone

<?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', 'http://www.upnorthpromo.com');
define('HTTPS_SERVER', 'https://www.upnorthpromo.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/upnorthp/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', 'zen_');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'upnorthp_zc1');
define('DB_SERVER_PASSWORD', 'xxxx');
define('DB_DATABASE', 'upnorthp_zc1');
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', 'database');
define('DIR_FS_SQL_CACHE', '/home/upnorthp/public_html/cache');

?>

23 Feb 2007, 9:20 PM
#6
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: What Have I Done!

Yes the changes made have fixed the warning as your SSL now matches your url.

Have a peek in the FAQ as many of your questions are answered there. For example you have images hosted on your https pages which are being pulled from http. See https://www.zen-cart.com/tutorials/index.php?article=150

If you haven't already, install Firefox as this will help you find these links. Once installed click the padlock and then look under the media tab.
Here are two of the culprits:
http://www.huntnfishpost.com/traffic/admin/uploadedimages/35098202.gif
http://www.huntnfishpost.com/traffic/images/fins468x20.gif

The permission issue with your configure.php is explained here - https://www.zen-cart.com/tutorials/index.php?article=148

You've now broken something else though. Have a look at the warning messages at the top of your store. I think this may be caused by extra white space at the end of the final ?> in any file you may have edited. I am no expert though so could be completely wrong. :D

Hope this helps.

Brent