Forums / General Questions / SSL Not Working, Admin Gone, Checkout Gone!

SSL Not Working, Admin Gone, Checkout Gone!

Locked

Views: 3,088

Results 1 to 20 of 28
This thread is locked. New replies are disabled.
18 Jul 2007, 2:48 AM
#1
waytags1 avatar

waytags1

New Zenner

Join Date:
Jun 2007
Posts:
9
Plugin Contributions:
0

SSL Not Working, Admin Gone, Checkout Gone!

Here are the symptoms:

  • Cannot log in to Admin - leaves user with a blank screen
  • Cannot complete checkout - leaves user with a blank screen
  • Can Secure Log In / Log Out Store Account

Here is what had been changed since last backup

  • ran script to remove sample store product images (in downloads)
  • added new sidebox
  • SSL transferred to GoDaddy Hosting and installed on hosting account
  • Lost access to admin, cannot complete checkout, new sidebox missing
  • Lost FTP access, but this was regained when I used the new static IP

Here are the unsuccessful steps I've taken to resolve this:

  • changed configure.php files to reflect new SSL install (I've changed these from true to false and back again over ten times, uploading, re-uploading, deleting, renaming, going to previous backups, and all manner of ways to make this work.)
  • I've read and tried every forum thread that had anything to do with SSL problems.
  • I've cleared my cache and cookies
  • I've flushed my dns.
  • I've deleted the entire site and reverted to the last good backup.

I'm stumped.

Here is where I'm at currently: I have the last good backup (pre-SSL) on the site and my configure.php files are set to true. Still no Admin Access and not able to checkout.

Posted below is my includes/configure.php

// 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.waytags.com');
  define('HTTPS_SERVER', 'https://www.waytags.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/content/w/a/y/waytags1/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', 'h41mysql1.secureserver.net');
  define('DB_SERVER_USERNAME', 'username');
  define('DB_SERVER_PASSWORD', 'password');
  define('DB_DATABASE', 'waytags7');
  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/content/w/a/y/waytags1/html/cache');
```Posted below is my admin/includes/configure.php

define('HTTP_SERVER', 'http://www.waytags.com');
define('HTTPS_SERVER', 'https://www.waytags.com');
define('HTTP_CATALOG_SERVER', 'http://www.waytags.com');
define('HTTPS_CATALOG_SERVER', 'https://www.waytags.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', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
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/content/w/a/y/waytags1/html/admin/');
define('DIR_FS_CATALOG', '/home/content/w/a/y/waytags1/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', 'h41mysql1.secureserver.net');
define('DB_SERVER_USERNAME', 'username');
define('DB_SERVER_PASSWORD', 'password');
define('DB_DATABASE', 'waytags7');
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/content/w/a/y/waytags1/html/cache');


 - Jeff
[http://www.WayTags.com](http://www.waytags.com/)
18 Jul 2007, 2:55 PM
#2
kobra avatar

kobra

Black Belt

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

Re: SSL Not Working, Admin Gone, Checkout Gone!

Others with GD are functioning correctly - might be the server you are on is this a Linux server or a win server?

Basic suggestion - while GD is a great mas marketed host for general content sites there are a normally issues with eCommerce sites and then they are not much help.

Select a good eCommerce host and move before you end up with bigger issues.

Yes a bit more per month and not hyped with tera-bytes of this or that but fully sufficient to run a shop.

Zen-Venom Get Bitten

18 Jul 2007, 9:14 PM
#3
waytags1 avatar

waytags1

New Zenner

Join Date:
Jun 2007
Posts:
9
Plugin Contributions:
0

Re: SSL Not Working, Admin Gone, Checkout Gone!

I suppose switching hosts could solve the problem, but that seems to be swatting a fly with a baseball bat. If there are no other options I'm certainly open to trying anything, but I have to believe there's a simpler solution.:smile:

18 Jul 2007, 9:16 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,668
Plugin Contributions:
0

Re: SSL Not Working, Admin Gone, Checkout Gone!

What Jack is telling you is to search for godaddy on the forum. Lots of experiences to read about.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

18 Jul 2007, 9:18 PM
#5
kobra avatar

kobra

Black Belt

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

Re: SSL Not Working, Admin Gone, Checkout Gone!

Yeah, What Kim Said!!

Zen-Venom Get Bitten

18 Jul 2007, 9:18 PM
#6
waytags1 avatar

waytags1

New Zenner

Join Date:
Jun 2007
Posts:
9
Plugin Contributions:
0

Re: SSL Not Working, Admin Gone, Checkout Gone!

OK, one more bit of info to help solve this problem.

Below is the source for the "page" that eventually resolves after my admin "login".

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"><head>


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Zen Cart!</title>

<script language="JavaScript" src="includes/menu.js" type="text/JavaScript"></script>
<link href="includes/stylesheet.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS">
<script type="text/javascript">
  <!--
  function init()
  {
    cssjsmenu('navbar');
    if (document.getElementById)
    {
      var kill = document.getElementById('hoverJS');
      kill.disabled = true;
    }
  }
  // -->
</script></head><body onload="init()">
<!-- header //--><div style="position: absolute; left: 0px; top: 0px; width: 16px; height: 16px; visibility: hidden;" id="linkalert-box"><img style="position: absolute; left: 0px; top: 0px;" src="chrome://linkalert/skin/none-icon.png" id="linkalert-icon"></div>


</body></html>

Does this strike anyone else as odd?

18 Jul 2007, 9:23 PM
#7
kobra avatar

kobra

Black Belt

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

Re: SSL Not Working, Admin Gone, Checkout Gone!

Did not compare word for word, but this looks about right:

You did not answer the type of server you are on??

Zen-Venom Get Bitten

18 Jul 2007, 9:32 PM
#8
waytags1 avatar

waytags1

New Zenner

Join Date:
Jun 2007
Posts:
9
Plugin Contributions:
0

Re: SSL Not Working, Admin Gone, Checkout Gone!

Whoops, sorry, Linux.

I'm reading up on the GoDaddy issues in the forums... interesting.:blink:

18 Jul 2007, 10:03 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: SSL Not Working, Admin Gone, Checkout Gone!

Additional possibilities ...

  1. Perhaps they made an error while installing your SSL certificate?

  2. Perhaps installing another copy of Zen Cart (to a subfolder), and choosing Yes to the SSL prompts will reveal whether or not a fresh install works properly.
    Then you'll have a better idea whether it's a problem with the SSL or with something in your main shop.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Jul 2007, 11:40 PM
#10
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: SSL Not Working, Admin Gone, Checkout Gone!

The SSL Cert appears to be installed correctly.

I could create an account fine (you can delete Eliza Dolittle now).

Your site totally hung on this page (hot https);
http://www.waytags.com/index.php?main_page=shopping_cart&number_of_uploads=0

I don't think it is the SSL Cert that's the problem but your checkout system.

Vger

19 Jul 2007, 1:05 AM
#11
waytags1 avatar

waytags1

New Zenner

Join Date:
Jun 2007
Posts:
9
Plugin Contributions:
0

Re: SSL Not Working, Admin Gone, Checkout Gone!

A fresh install to a subdirectory produced similar results...

  • I am unable to access the admin part of the store; however
  • I am able to complete checkout -- all secure (https)

Any Thoughts?

19 Jul 2007, 1:16 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: SSL Not Working, Admin Gone, Checkout Gone!

WayTags1:

A fresh install to a subdirectory produced similar results...

  • I am unable to access the admin part of the store; however
  • I am able to complete checkout -- all secure (https)

Any Thoughts?If you're able to login to the admin and you're able to use the storefront and do checkout properly with ssl (which all sounds very normal), then if your other setup doesn't do that, you've got a problem in one or more of your customizations.

So, you'll need to find that problem.

This is the concept you'll likely need to follow:
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

Make and keep backups while you're at it.
Sometimes having a backup from 2 days ago, after discovering something's busted, can be a lifesaver.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jul 2007, 1:20 AM
#13
waytags1 avatar

waytags1

New Zenner

Join Date:
Jun 2007
Posts:
9
Plugin Contributions:
0

Re: SSL Not Working, Admin Gone, Checkout Gone!

DrByte:

If you're able to login to the admin...

That's the thing... I can't login to either admin.
But the fresh install did let me finish checkout, which I can't do in my live store.

Thanks for your help! I'm stumped.:dontgetit

19 Jul 2007, 1:46 AM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: SSL Not Working, Admin Gone, Checkout Gone!

:oops: Gads, I musta put my glasses down.

I've just cleaned them and put them back on my nose ... see:
:eek:

I totally read that as "able", not "unable".

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jul 2007, 1:54 AM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: SSL Not Working, Admin Gone, Checkout Gone!

Sounds like you might have a problem with PHP Sessions settings, or your browser isn't accepting session cookies (do you have any firewall software installed?), or when the session cookie is set it's not happily matching the URL/domain used by your shop.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jul 2007, 3:21 AM
#16
waytags1 avatar

waytags1

New Zenner

Join Date:
Jun 2007
Posts:
9
Plugin Contributions:
0

Re: SSL Not Working, Admin Gone, Checkout Gone!

I've disabled my firewall, cleared all cookies, and attempted admin login on both FF and IE - on two different computers with no success.

I've looked into php sessions and am not sure how to change any settings with those. Is that a server side setting?

Thanks for your continued help!

19 Jul 2007, 3:27 AM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: SSL Not Working, Admin Gone, Checkout Gone!

In the zc_install folder of the Zen Cart files, there is a file named "techsupp.php".
Can you upload that file to your site and either post a link to it, or run it from your browser and paste the output here?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jul 2007, 3:28 AM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: SSL Not Working, Admin Gone, Checkout Gone!

What sort of relationship do you have with GoDaddy hosting? (they've always been problematic for database-driven sites)
Are you locked in for any long term?
There are a number of good hosting partners at the "hosting" link at the top of this page.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Jul 2007, 9:06 PM
#19
waytags1 avatar

waytags1

New Zenner

Join Date:
Jun 2007
Posts:
9
Plugin Contributions:
0

Re: SSL Not Working, Admin Gone, Checkout Gone!

Thankfully, I've been paying by the month until I was satisfied with them and then I was planning on going with a cheaper long-term rate; but that may be changing now. I can switch at any time if need be.

I will run the techsupp file shortly and post the results. Thanks again!

19 Jul 2007, 9:42 PM
#20
waytags1 avatar

waytags1

New Zenner

Join Date:
Jun 2007
Posts:
9
Plugin Contributions:
0

Re: SSL Not Working, Admin Gone, Checkout Gone!

Interestingly, I typed the url in by hand as http and it resolved as https...

Here is the techsupp file link Click Me

I'll be checking out the Certified Hosting Companies you'd mentioned. Thanks!