Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Download Error


DataMouse

Recommended Posts

Hi all

 

I've got a prob with my store and can't seem to fix it.

Basically, the store isnot creating an orders_id in orders_products_download table.

 

However, it exists in all other tables (orders, orders_products etc)

 

It's all started when I installed Ultimate SEO URLs, and I don't want to get rid of the contribution.

 

If I coud just be pointed in the direction of the code/SQL statement that inserts the orders_id into orders_products_download (currently set as default 0), I may be able to fix it there.

 

Any takers, please?

 

Thanks

 

 

 

Danny

Link to comment
Share on other sites

I've had a hunt and have found that the function:

 

mysql_insert_id

 

Is being used to generat the order_id in the function

 

function tep_db_insert_id()

 

This function is in the includes/database.php file and is also called in the seo_class.php file from the Ultimate SEO URLs contribution.

Is it this that's causing the problem?

If it is, how do I repair it?

 

Danny

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...