Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

When I place an order


tonysam

Recommended Posts

Every time I go to place an order in the system I get kicked out and I have to keep logging in. I keep going around in a circle every time I hit the checkout button I get the login screen I cant figure out why.

Link to comment
Share on other sites

Every time I go to place an order in the system I get kicked out and I have to keep logging in. I keep going around in a circle every time I hit the checkout button I get the login screen I cant figure out why.

Sounds like you are losing your Session IDs. Can you provide a link to your site? And maybe create a test account for the the users of this forum as well.

Link to comment
Share on other sites

I password protected my admin section in the system and changed the permissions on the configure.php file so that I do not get the errors on the top of the page.

Yes, you are losing your Session IDs. The source of the errors are very likely from the cookies settings in catalog/includes/configure.php

 

If you want, you can post both your configure.php files here. (cross out the database usernames and password for security)

Link to comment
Share on other sites

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 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://s121618922.onlinehome.us'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://ssl.perfora.net'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 's121618922.onlinehome.us');

define('HTTPS_COOKIE_DOMAIN', 's121618922.onlinehome.us');

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

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

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

define('DIR_WS_HTTPS_CATALOG', '/s121618922.onlinehome.us/os/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', '/homepages/31/d121569244/htdocs/os/catalog/');

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

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

 

// define our database connection

; // eg, localhost - should not be empty for productive servers

 

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Change

 

define('HTTPS_SERVER', 'https://ssl.perfora.net');

to

define('HTTPS_SERVER', 'https://ssl.perfora.net/s121618922.onlinehome.us');

 

define('HTTPS_COOKIE_DOMAIN', 's121618922.onlinehome.us');

to

define('HTTPS_COOKIE_DOMAIN', 'ssl.perfora.net/s121618922.onlinehome.us);

 

define('DIR_WS_HTTPS_CATALOG', '/s121618922.onlinehome.us/os/catalog/');

to

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

Link to comment
Share on other sites

Thanks

I made the changes I guess I check it as i go thru the night also

 

Do you know how to get rid of these things

 

1. do you know how to get rid of the reviews button, and write a review on this product

 

2. For more information, please visit this products webpage.

 

3. also chage the time frame in which they will recieve their product,

 

4. This product was added to our catalog on Monday 21 March, 2005.

 

5.

 

Information

Shipping & Returns

Privacy Notice

Conditions of Use

Link to comment
Share on other sites

1.

 

At present, osCommerce MS2 doesn't have a single place to switch on/off the reviews feature. To do this you'll have to manually comment out the codes in a few places.

 

Level of difficulty: Very Easy.

 

Files to edit:

- catalog/includes/column_right.php

- catalog/product_info.php

 

 

1. Open catalog/includes/column_right.php and change

  require(DIR_WS_BOXES . 'reviews.php');

to

  //require(DIR_WS_BOXES . 'reviews.php');

 

2. Open catalog/product_info.php and change

        <td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>

to

        <td class="main"><?php //echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>

 

3. Change

                <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>

to

                <td class="main"><?php //echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>

Link to comment
Share on other sites

2. While editing a product in the Admin section, delete Products URL: (near the bottom of the page).

 

3. Please elaborate and create a new thread.

 

4. In catalog/product_info.php change

 

<?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?>

to

<?php //echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?>

 

5. If you only want contact us inside the Information box then in catalog/includes/boxes/information.php change

 

  $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
                                        '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');/CODE]to
[CODE]  $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

If you want to remove the information box completely then, open catalog/includes/column_left.php and change

 

  require(DIR_WS_BOXES . 'information.php');

to

  //require(DIR_WS_BOXES . 'information.php');

 

6. Please support the osComerce Team at http://www.oscommerce.com/about/team

Link to comment
Share on other sites

Could you do me a favor and check if I secured my system correctly / locked it down check entry points for me thanks you da man no - no you da man

Everything seems fine. Your Shared SSL is now working properly. You've protected your admin section.

 

You just have to be careful with both of your configure.php files when you decide to change the domain (or subdomain) name of your store.

Link to comment
Share on other sites

Thanks I think these might be some of the last questions unless something else pops up

 

1. under shipping in the administration tool is there a way to change the wording on this

 

Flat Rate

 

2. Also can I have a couple of different shipping options like ground, 3 day, and 2 day?

 

3. at the end of the order form is says this how can I change it

 

Your order has been successfully processed! Your products will arrive at their destination within 2-5 working days.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...