View Full Version : checkout error
Hello,
When I order products from my oscommerce, I go through the entire process just fine. After my order has been completed, I am asked a question if I would like to receive updates on the products or not. Whatever I do, and press continue I get an error, no page found.
Please help
feel free to place a fictional order I will not process that (just use a fake name and cc number)
Thank you
WenzlerPaul
9-25-03, 03:31 PM
Hi,
When I tried your site, I did get what you said, no page.
My suggestion is check on your configure.php file and see what is under these settings:
define('HTTP_SERVER', 'http://www.yoursite.com'); // eg, http://localhost - should not be NULL for productive servers
define('HTTPS_SERVER', ''); // eg, https://localhost - should not be NULL for productive servers
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
I would guess your setting will be
define('HTTP_SERVER', 'http://www.naturalhealthland.com'); // eg, http://localhost - should not be NULL for productive servers
define('HTTPS_SERVER', 'https://www07.powweb.com/~naturalhealth/'); // eg, https://localhost - should not be NULL for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
I haven't used the option for the /~subdomain to be my https server so I am not quite sure if this is the one that causes this but I do suggest that you try the other approach. Use the ip address of the server as mentioned on your ops.powweb.com panel, it should look like this https://63.251.216.77:portnumber use this one as your https server.
I have made this one work before but I do not remember if I did some adjustment on other files, in case it does not work, please let me know and I will look for that file and send it to you.
I am not giving out any guarantee on this however, I will help you go through it.
Hope it helps,
Paul
Thank you very much Paul,
I'll take a look at it, and let you know if it worked.
I just tried doing what you told me. Apparently it's not it, but after I finished I noticed something strange.
Let me just say what I did:
1. I changed the chmod to 444 again, in order to be able to edit configure.php
2. I tried changing the https server but the rest was configured to be what it was, www07.powweb.com ( the other strings have the user name in them)
3. After I finished changing it back, I tried to go and manage my products/categories, that's where the problems occur.
On the website it displays al the products, but in the admin section of categories/products there is NOTHING. I have no idea what might of caused it. I tried restoring my backed up database, but it didn't help.
I guess the products must be somewhere since they display in the oscommerce catalog, but I can't change them, I just don't see them in my admin section.
PLEASW HELP
The products all came back. I have no idea what it was.
WenzlerPaul
9-26-03, 08:53 AM
Hi,
I have tried testing your site again for order to see what is causing the error. Here is my suggestion since I tried testing it with one domain I have in powweb server.
When you install oscommerce using the OPS panel, it will give you default values for all entried on configure.php that looks similar to the following:
define('HTTP_SERVER', 'http://www.naturalhealthland.com'); // eg, http://localhost - should not be NULL for productive servers
define('HTTPS_SERVER', 'https://www07.powweb.com/'); // eg, https://localhost - should not be NULL for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/~naturalhealth/catalog/'); // absolute path required
define('DIR_WS_IMAGES', 'images/');
or
define('HTTP_SERVER', 'http://www.naturalhealthland.com'); // eg, http://localhost - should not be NULL for productive servers
define('HTTPS_SERVER', 'https://www07.powweb.com/~naturalhealth'); // eg, https://localhost - should not be NULL for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_WS_IMAGES', 'images/');
The way to work around this matter is by following the settings below:
define('HTTP_SERVER', 'http://www.naturalhealthland.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://63.251.216.76.:10233'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_WS_IMAGES', 'images/');
This is the cleanest possible way you can do using Powweb's shared SSL.
If you would notice that I have used IP address under Define HTTPS, this allows me to have a clean URL plus it hides whatever username I have on Powweb. To get this IP Add, login to your OPS and click on SSL, it will display you info similar to the one below:
Status: active
Web server: www06.powweb.com
SSL URL: https://www06.powweb.com:10233
Now all you have to do is copy https://www06.powweb.com and paste it to browse and you will see the ip address assigned for the server, next step is just replace www06.powweb.com with the IP add so it comes out like this https://63.251.216.76 then add the port number so you will have this link as your site url
https://63.251.216.76:10233 running in SSL.
Also, take note of this option
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
This was changed to eliminate the error due to incorrect path from the server.
List of servers and their ip address
https://www01.powweb.com https://63.251.216.71
https://www02.powweb.com https://63.251.216.72
https://www03.powweb.com https://63.251.216.73
https://www04.powweb.com https://63.251.216.74
https://www05.powweb.com https://63.251.216.75
https://www06.powweb.com https://63.251.216.76
https://www07.powweb.com https://63.251.216.77
https://www08.powweb.com https://63.251.216.78
https://www09.powweb.com https://63.251.216.79
So you can just look on your SSL link under OPS and just add your port number and you have a clean https url of your site.
There is no guarantees this will work but I hope it helps you figure things out.
Email me if you need some assistance wenzlerpaul@yahoo.com
Paul V. Barrera
Thank you very much Paul, you are really helpful:)
One question I have is the port number. In ops it doesn't tell me the port number. It gives only www07.powweb.com/~naturalhealth
I was wondering if the 10233 port is default or will I have a different one?
Michal
The port number was unique to each domain. If you weren't assigned a port number before, you don't have one now and need to use the username variant. The port number method will be shut off eventually anyway.
WenzlerPaul
9-26-03, 11:15 PM
Here is another approach
Check on my posting on this link
http://forum.powweb.com/showthread.php?s=&threadid=26502
Thank you Paul,
I tried works great, but I still get the same error upon pressing continue after the order has been finalized.
Do you know where should this continue button point to?
Where can I find that href?, so I could change it possibly
Thank you
Michal
WenzlerPaul
9-27-03, 02:34 AM
Hi Michal,
Could you post here your configure.php info up to this part below:
define('HTTP_SERVER', 'http://www.naturalhealthland.com'); // eg, http://localhost - should not be NULL for productive servers
define('HTTPS_SERVER', 'https://www07.powweb.com/~naturalhealth'); // eg, https://localhost - should not be NULL for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_WS_IMAGES', 'images/');
I would like to recreate the setup and simulate your settings so I can determine where the error actually occurs.
Paul V. Barrera
Hi Paul,
Here it is:
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.naturalhealthland.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.naturalhealthland.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.naturalhealthland.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www07.powweb.com/~naturalhealth');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/~naturalhealth/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/');
I know thtat the continue button is using class=productnotifications, but what it is...?
WenzlerPaul
9-27-03, 12:29 PM
Hello,
I noticed some settings are not set correctly (in my honest opinion).
This is your setup:
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.naturalhealthland.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.naturalhealthland.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'www.naturalhealthland.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www07.powweb.com/~naturalhealth');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/~naturalhealth/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/');
***********************************************
My Recommendation:
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.naturalhealthland.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.naturalhealthland.com/~naturalhealth'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://www.naturalhealthland.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www.naturalhealthland.com/~naturalhealth');
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/');
I am not yet sure this will work but this is the best I can see that will work, reason for coming up with the assumption above is due to inconsistency on the configure setup. Please let me know if this one works, else, we can try another way around.
Hope it helps,
Paul V. Barrera
Thank you very much Paul.
I think this did it. It worked for me.
You've been great help:)
Michal
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.