Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

page not found error


justinswa

Recommended Posts

Posted

When I go through the checkout process and get right to the end and confirm order, I then get a screen which has a "continue" botton at the bottom. This link invariably comes up "page not found". The link URL that it tries to load is like this:

 

...../checkout_success.php/action/update?osCsid=2bd1b8ea2e90f169940dc16bda792560

 

Only a minor problem as the order is completed and that all goes through ok, but a bit annoying 'though. Has anybody else had this and do they know of a fix?

 

Thanks,

 

Justin

Posted

Here is another thread with a similar problem. Btw, are you using one of the Search Engine Safe URL contributions? Have you tried it with the contribution set to off?

 

Good luck,

Matt

Posted

Hi Matt,

 

Thanks for the reply.

 

I checked that thread, and nothing that I read there helped. I'm using the latest milestone 2.2 and I did have "use search engine safe URL's" switched on. No chage with it switched of though...

 

I guess I'll just have to live with this unless anybody else has any bright ideas....

 

Thanks,

 

J

Posted

Actually, I did make it work. This thread:

 

In the oscommerce installation process, the script asks you to "enter the secure web server information".

 

Let's say your site is on "host20" of ipowerweb, your domain name is "yourdomain", and your username (account) on host20 is "mysite"

 

if you follow the instructions on the oscommerce installation pages, you would specify the following according to the OSC instructions (which are shown if you click the corresponding question mark):

 

Secure WWW Address: https://host20.ipowerweb.com/~mysite/catalog/

Secure Cookie Domain: host20.ipowerweb.com

Secure Cookie Path: /~mysite/catalog/

 

And your configure.php in your /catalog/include/ would look like this:

 

Code:

 

define('HTTP_SERVER', 'http://www.yourdomain.com');

define('HTTPS_SERVER', 'https://host20.ipowerweb.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com');

define('HTTPS_COOKIE_DOMAIN', 'host20.ipowerweb.com');

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

define('HTTPS_COOKIE_PATH', '/~mysite/catalog/');

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

define('DIR_WS_HTTPS_CATALOG', '/~mysite/catalog/');

 

 

 

This will generate the 404 error. In order to correct this, you have to MANUALLY configure the configure.php in catalog and in admin instead of using the OSC http interface.

 

In configure.php of catalog, you specify the following:

Code:

 

define('HTTP_SERVER', 'http://www.yourdomain.com');

define('HTTPS_SERVER', 'https://host20.ipowerweb.com/~mysite');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com');

define('HTTPS_COOKIE_DOMAIN', 'host20.ipowerweb.com');

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

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

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

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

 

 

 

The above code will work without 404 error. You see the difference in specifiying https server, https cookie path, and https catalog. You do the similar manual editing for /admin/include/configure.php

 

I don't know if this applies to other hosting companies, but this is case for >120000 users at ipowerweb.com

 

By the way, I don't know if we should specify https cookei domain as "host20.ipowerweb.com/~mysite". The OSC instucted to use "TOP LEVEL domain", but I don't know what would happen if you have got more than one OSC on host20.

 

Hope that helps.

 

This works by setting the "continue" link to go to a page on the secure server which loads fine. Only problem then is that the next link you click takes you off the secure server and the warning message comes up, when it really should come up after you click the "continue" link. No real problem though.....

 

Justin

Posted
When I go through the checkout process and get right to the end and confirm order, I then get a screen which has a "continue" botton at the bottom. This link invariably comes up "page not found". The link URL that it tries to load is like this:

 

...../checkout_success.php/action/update?osCsid=2bd1b8ea2e90f169940dc16bda792560

 

Only a minor problem as the order is completed and that all goes through ok, but a bit annoying 'though. Has anybody else had this and do they know of a fix?

 

Thanks,

 

Justin

 

Here my solution for this problem

Posted

Justin- Thanks for this fix. I needed it too and it worked perfect!

 

Now the only problem I have is that the order shows as "pending" on the admin/index.php page, but when i click on it to admin/orders.php it is not there.

 

Anyone know why?

 

Thanks!

Jen

Posted

Oh... and the orders are also not showing up under "my account" "my orders"

 

weird... cause i am getting an e-mail saying the order was placed

Jen

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...