PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 9-25-03, 02:49 PM   #1
natural
 
Posts: n/a
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
 
Old 9-25-03, 03:31 PM   #2
WenzlerPaul
 
Posts: n/a
missing page

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.77ortnumber 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
 
Old 9-25-03, 05:50 PM   #3
natural
 
Posts: n/a
Thank you very much Paul,

I'll take a look at it, and let you know if it worked.
 
Old 9-25-03, 08:49 PM   #4
natural
 
Posts: n/a
more problems

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
 
Old 9-25-03, 11:31 PM   #5
natural
 
Posts: n/a
The products all came back. I have no idea what it was.
 
Old 9-26-03, 08:53 AM   #6
WenzlerPaul
 
Posts: n/a
Possible approach

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
 
Old 9-26-03, 11:31 AM   #7
natural
 
Posts: n/a
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
 
Old 9-26-03, 12:16 PM   #8
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
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.
__________________
Steve
stevel is offline  
Old 9-26-03, 12:18 PM   #9
natural
 
Posts: n/a
thank you
 
Old 9-26-03, 11:15 PM   #10
WenzlerPaul
 
Posts: n/a
Here is another approach

Check on my posting on this link

http://forum.powweb.com/showthread.p...threadid=26502
 
Old 9-26-03, 11:53 PM   #11
natural
 
Posts: n/a
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
 
Old 9-27-03, 02:34 AM   #12
WenzlerPaul
 
Posts: n/a
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
 
Old 9-27-03, 08:54 AM   #13
natural
 
Posts: n/a
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...?
 
Old 9-27-03, 12:29 PM   #14
WenzlerPaul
 
Posts: n/a
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
 
Old 9-27-03, 04:23 PM   #15
natural
 
Posts: n/a
Thank you very much Paul.

I think this did it. It worked for me.

You've been great help

Michal
 
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:42 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.