Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Paypal working, but no SSL

Paypal working, but no SSL

Locked

Views: 2,823

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
29 Oct 2006, 12:51 PM
#1
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Paypal working, but no SSL

Hi guys,

i just upgraded to 1.35. Paypal works great now :-) !!!!

However, I when i want to sign into my account or checkout, the links of the buttons point to a secure https:// page. My browser asks me if i want to be forwarded to a secure page (i press yes) and then i'm getting forwarded to a regular http:// page. I selected True in my configure.php page. It worked before the upgrade.

My site is http://stuntsmovie.com .

Any help is appreciated.

Thanks
Nail

29 Oct 2006, 5:34 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Paypal working, but no SSL

Please post your /includes/configure.php file content without password
Also, list all the mods/customizations you've installed on your site.

29 Oct 2006, 7:09 PM
#3
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Re: Paypal working, but no SSL

Here you go guys. Mods I installed are the Sophyblue template, master password, article management and ultimate seo url's.

Thanks again for the help
Nail

includes/configure.php looks as followed

// 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://stuntsmovie.com');

define('HTTPS_SERVER', 'https://stuntsmovie.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/stuntsmo/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'); // eg, localhost - should not be empty

define('DB_SERVER_USERNAME', '**********');

define('DB_SERVER_PASSWORD', '******');

define('DB_DATABASE', '********');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'



// 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/stuntsmo/public_html/cache');



?>
29 Oct 2006, 8:39 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Paypal working, but no SSL

  1. The configure.php looks fine
  2. Can you disable or even de-install the SEO module and test it?
  3. It could also be that your .htaccess settings may be causing the re-translation to non-SSL addresses.
30 Oct 2006, 6:06 AM
#5
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Re: Paypal working, but no SSL

If I disable the module, will I lose all my rewritten URLs?

I'm afraid that once I install it their names or addresses will change and than I'll have problem with my indexed pages in the search engines.

Should I maybe post my .htacess or will that reveal information that would make my site unsecure?

Thanks

30 Oct 2006, 6:23 AM
#6
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Re: Paypal working, but no SSL

Here is my .htaccess . It seems to look ok though.

NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:

Options +FollowSymLinks
RewriteEngine On
RewriteBase //

From Ultimate SEO URLs

RewriteRule ^(.)-p-(.).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-(.).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]

For Open Operations Info Manager

RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]

For dreamscape's News & Articles Manager

RewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.)-a-([0-9]+)-comments.html$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.
)-a-([0-9]+).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]

All other pages

Don't rewrite real files or directories

RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L]

30 Oct 2006, 6:44 AM
#7
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Re: Paypal working, but no SSL

Ok, once I turn the SEO Url's off the whole SSL thing works again.

Does that mean that I have to change something in its configuration to make it compatible? Any ideas what I could change?

Thanks for all the help!!!!!!

30 Oct 2006, 9:08 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: Paypal working, but no SSL

The only thing that sticks out immediately as odd is the double-slash:```
RewriteBase //

30 Oct 2006, 11:52 AM
#9
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Re: Paypal working, but no SSL

What should I change RewriteBase // into RewriteBase / ?

30 Oct 2006, 6:34 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: Paypal working, but no SSL

Should only require a single slash, IMO

31 Oct 2006, 11:28 AM
#11
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Re: Paypal working, but no SSL

I removed one of the forward slashes but it didn't make a difference.

I guess I have to take off the Ultimate URL's if no one else has an idea :cry:

Thanks

31 Oct 2006, 12:03 PM
#12
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Re: Paypal working, but no SSL

I changed the forward slash and reinstalled the Ultimate URL's and everything is working again!!!!!!!!!!!!!!

Thanks so much for your help DrByte!!!!

:lol: