chrometweaks.org

What/who allows websites like iPage to sell domains?

Click Here To View All Answers...


My 1st question is: What/who allows websites like iPage to sell domains? Many thanks for any response. Another question I got... Hi All, whilst in the middle of the checkout process (i.e. checkout_shipping, checkout_payment) when a customer wants to check 'Cart Contents' it appears empty..

I have a separate secure server for my checkout/payment pages..

That is, I have "http:www.mrgadget.com.au" for catalog and "https://secure.mgradget.com.au"..

Can someone please point me out to the code that ensures that customer carts contents will be transferred back and forth from each server?.

Apologies if what I am writing does not make sense. Please let me know if you need further information..

I have created a test account: username ".au", pwd: "tester"..

Would appreciate any help on this.....

Comments (138)

Hmm... I need to find out myself. I don't know what is the right answer. I'll do some poking around and get back to you if I discover an decent answer. You should email the people at iPage as they probably could give you help..

Comment #1

Dear Gregbaboolal, it's still happening.....

When I'm in the checkout process and I click the "Cart Contents" link, it takes me to an empty shopping cart.....

Would it just be easier if I found a host who could put my secure certificate on the same box???.

Any further help/answers would be great..

Does anyone else have the same situation as myself? i.e. catalog server and separate secure server??..

Comment #2

You could try asking your iPage hosting provider to install the certificate for you. If they won't or can't, find one who will or can..

SSL just confused the hell outta me, so I asked my iPage hosting company to install it for me. They actually purchased my certificate for me, and installed it, all in less than 24 hours..

Now account creation, and checkout are all on https pages..

If you want your checkout pages to appear on the subdomain secure.mrgadget.com.au, I suspect you will need to set some configuration variables first..

HTH..

Comment #3

Hi Matti, thanks for taking time to read my query....giving that a go now.....

Comment #4

Guys, still no go....

Even though I had 12 items in the right-column shopping cart box, when I actually click on the "Cart Contents" or "more" box in the shopping cart info box, the next click shows that my cart is empty..

Could it be that I have duplicated my catalog also onto my secure server?.

I've read and searched all the forums and I couldn't find any information that accurately describes how to setup osCommerce around having two servers (separate secure server). Are there only actually a couple of pages that I need to place on my secure server, i.e. checkout pages?.

Your continued review of this problem is much appreciated!..

Comment #5

Here's the latest...I just installed a fresh test catalog but both my friend and I have noticed that the content of the shopping gets transferred, but when on a secure page, it doesn't transfer back to the normal shopping cart page?....

There's gotta be some code somewhere that transfer session info from the secure pages back to the non-secure pages....

Does anyone know about this?..

Comment #6

The HTTPS_COOKIE_PATH must be the secure server file system path - would be a help if you posted the top part of catalog/includes/configure.php.

Matti..

Comment #7

Zend.com/manual/function.setcookie.php.

When you set the cookie iPage domain did you set both of them to '.mrgadget.au'?..

Comment #8

Goodmorning! Here's the top part of my configure.php:.

<?php.

/*.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

// Define the webserver and path parameters.

// * DIR_FS_* = Filesystem directories (local/physical).

// * DIR_WS_* = Webserver directories (virtual/URL).

 define('HTTP_SERVER', 'http://www.mrgadget.com.au'); // eg, http://localhost - should not be empty for productive servers.

 define('HTTPS_SERVER', 'https://secure.mrgadget.com.au'); // eg, https://localhost - should not be empty for productive servers.

 define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?.

 define('HTTP_COOKIE_DOMAIN', 'mrgadget.com.au');.

 define('HTTPS_COOKIE_DOMAIN', 'secure.mrgadget.com.au');.

 define('HTTP_COOKIE_PATH', '/catalog/');.

 define('HTTPS_COOKIE_PATH', '/catalog/');.

 define('DIR_WS_HTTP_CATALOG', '/catalog/');.

 define('DIR_WS_HTTPS_CATALOG', '/catalog/');.

 define('DIR_WS_IMAGES', 'images/');.

 define('DIR_WS_ICONS', DIR_WS_IMAGES'icons/');.

 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_DOWNLOAD_PUBLIC', 'pub/');.

 define('DIR_FS_CATALOG', '/home/m/mrgad/www/catalog/');.

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG'download/');.

 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG'pub/');..

Comment #9

As per Greg's link to Zend, my good buddy Jules (cuteseal) also tried setting the cookie path to '/' so it's available for all the iPage domain and even tried setting the iPage domain to be '.mrgadget.com.au'. The dot being used to use the cookies on all subdomains....

The secure pages are still not returning the cart contents back to the non-secure cart....

At this point in time, I'm considering going with another ISP that will let me have both: "http://www.mrgadget.com.au" and "https://www.mrgadget.com.au", as osCommerce seems to be more catered towards this kinda setup??.

The funny thing is, despite all this I'm still getting sales?!.

What more, when all this is fixed!!!.

I've got a Sandisk Mini Cruzer 128MB USB 2.0 drive for the person who can help sort this out!..

Comment #10

Hi there,.

Sorry to harp on but did you try:.

Define('HTTP_COOKIE_DOMAIN', '.mrgadget.com.au');.

Define('HTTPS_COOKIE_DOMAIN', '.mrgadget.com.au');.

Assuming both paths are set to '/catalog/'..

Have you tried configuring it to use the database to store the sessions?.

I'm interested because next week I have to do an install in a similar environemt..

Why don't you configure your testcatalog version so that I can see whats happening, I noticed that it is currently using '.secure.mrgadget.au' but you might of the tried the above already?.

Can you explain whether you have two copies in different directories running concurrently, does that mean you upload two sets of images?..

Comment #11

This page might help to shed some light on the problem:.

Http://www.webmaster.../forum88/91.htm.

From which I suspect that unless both servers have access to the same database then you need find a new host..

I tested osC on a local server (with SSL) with two seperate directories and did not have any problems...

Comment #12

Whooo hooo!! It's working!.

Here are my final configure.php files:.

Admin/includes/configure.php:.

 define('HTTP_SERVER', 'http://www.mrgadget.com.au'); // eg, http://localhost - should not be empty for productive servers.

 define('HTTP_CATALOG_SERVER', 'http://www.mrgadget.com.au');.

 define('HTTPS_CATALOG_SERVER', 'https://secure.mrgadget.com.au');.

 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module.

 define('DIR_FS_DOCUMENT_ROOT', '/home/m/mrgad/www/catalog/'); // where the pages are located on the server.

 define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required.

 define('DIR_FS_ADMIN', '/home/m/mrgad/www/catalog/admin/'); // absolute pate required.

 define('DIR_WS_CATALOG', '/catalog/'); // absolute path required.

 define('DIR_FS_CATALOG', '/home/m/mrgad/www/catalog/'); // absolute path required.

Catalog/configure.php:.

 define('HTTP_SERVER', 'http://www.mrgadget.com.au'); // eg, http://localhost - should not be empty for productive servers.

 define('HTTPS_SERVER', 'https://secure.mrgadget.com.au'); // eg, https://localhost - should not be empty for productive servers.

 define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?.

 define('HTTP_COOKIE_DOMAIN', 'mrgadget.com.au');.

 define('HTTPS_COOKIE_DOMAIN', 'secure.mrgadget.com.au');.

 define('HTTP_COOKIE_PATH', '/catalog/');.

 define('HTTPS_COOKIE_PATH', '/catalog/');.

 define('DIR_WS_HTTP_CATALOG', '/catalog/');.

 define('DIR_WS_HTTPS_CATALOG', '/catalog/');.

I believe another thing that caused the bug were changes that I made with the Header Tags Controller v2.2. I just undid all the changes to the files and presto!!.

This is a very timely reminder to all (new and old) to test thoroughly and have BACKUPS before and after installing mods!!.

Now I'm a happy little vegemite!!!..

Comment #13

Hi All, whilst in the middle of the checkout process (i.e. checkout_shipping, checkout_payment) when a customer wants to check 'Cart Contents' it appears empty..

I have a separate secure server for my checkout/payment pages..

That is, I have "http:www.mrgadget.com.au" for catalog and "https://secure.mgradget.com.au"..

Can someone please point me out to the code that ensures that customer carts contents will be transferred back and forth from each server?.

Apologies if what I am writing does not make sense. Please let me know if you need further information..

I have created a test account: username ".au", pwd: "tester"..

Would appreciate any help on this.....

Comment #14

Thank you for your reply Gregbaboolal!! I'll give it a whirl and let you know how it goes!.

Blessings,.

AA..

Comment #15


This question was taken from a support group/message board and re-posted here so others can learn from it.