Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oops, i think i deleted something


Guest

Recommended Posts

i think i must have deleted the catalog/includes/classes/order.php. i'm not sure though, since i don't think i did that. anyway, my site was working fine all the way through until you click checkout. when i was logged in as a customer, picked out some items, then clicked checkout i got a message to login. so i logged in again w/ the password and then i got an error screen:

 

"https://host98.ipowerweb.com/~nemoleat/catalog/checkout_shipping.php?" cannot be displayed error

order.php

line 42

 

well, line 42 referred to

 

catalog/includes/classes/order.php

 

so i went in my files and it turned out that i didn't have a

 

catalog/includes/classes/order.php file

 

then i downloaded the oscommerce version 2.2

again found that file (w/ the correct path) and put a new one in there. Now instead of the error message I get the "this page cannot be displayed"

 

Is there something I should change in that order.php file to make it work with the rest of my site??? I really don't want to go back and do a clean install as I'm almost done w/ the site.

 

You can try it at www.nemoleather.com/catalog. It only happens on checkout.

 

Any help is greatly appreciated!

Link to comment
Share on other sites

Hi,

 

Are you using ms2.1 or ms2.2?

 

You might try downloading ms2.2 again and install again overriding your files with the new download files.

Link to comment
Share on other sites

Stacey,

 

You have removed too many of the separator lines it looks like:

http://www.nemoleather.com/catalog/product...?products_id=38

The right column is in the bottom left.

 

Post these top 3 lines from your catalog/includes/configure.php file:

 

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

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

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

Link to comment
Share on other sites

Thanks for the help. Where should I put those 3 lines. I have them in the configure.php file, but I'm not sure where to paste them. it doesn't look like there are any

 

"define(....."

 

lines in either my

 

/catalog/product_info.php?

 

or my

catalog/includes/classes/order.php files. Thanks.

Link to comment
Share on other sites

Okay, so i fixed that right column, not sure how, but it's working so i won't question it.

 

Still getting the same dns error page when I try to checkout. thanks! :)

Link to comment
Share on other sites

here's those 3 lines from configure...I just realized you wrote "post" not "put" I should learn to read.

 

define('HTTP_SERVER', 'http://www.nemoleather.com'); 
define('HTTPS_SERVER', 'https://host98.ipowerweb.com/~nemoleat'); 
define('ENABLE_SSL', true);

 

thanks again

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...