Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help, I broke a store.


izak30

Recommended Posts

I can't login, create new users, or add items to a cart. This store is still very heavy in development, and I broke it. I have no idea what I did, I haven't changed anything in the database or sessions, cookies etc in the past couple of days, I've only been working on the templates and such.

 

http://rollindependent.com/catalog/product...p/products_id/6 - For a sample product to add to the cart.

http://rollindependent.com/catalog/login.php to login.

Link to comment
Share on other sites

Ok, this is what I know now. I can not insert anything to the database (with the exception of phpmyadmin) I can not change things even in the admin panel, but I can view them. Any ideas on what the problem is

Link to comment
Share on other sites

Ok, updating the product views works, but not other things, ie,

 

	tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");

 

Does exactly what It was meant to do.

 

Form that is rendered on the product_info page to add something to the cart produces the following html tag

<form name="cart_quantity" action="http://rollindependent.com/catalog/product_info.php/products_id/28/action/add_product" method="post">

 

Is this right? I don't see any handler on the product_info.php page to have an add_product action. Please help me.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...