Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

setarkos

Members
  • Content count

    4
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Tobias Berben
  • Gender
    Male
  1. Hello Nicola, thanks for your help, but I finally (late at night ...) managed to solve the problem at the root. The problem are two lines in checkout_process.php: tep_db_perform(TABLE_ORDERS, $sql_data_array); $insert_id = tep_db_insert_id(); The OSC-function tep_db_insert_id (in old version!) relies on mysql_insert_id that uses the last mysql_connect link if not specified. If you've done a connect after application_top, then it will try to use that connection and not the one, that stored the order ... Just change tep_db_insert_id in /functions/databasee.php from: function tep_db_insert_id() { return mysql_insert_id(); } to: function tep_db_insert_id($link = 'db_link') { global $$link; return mysql_insert_id($$link); } That should work quite fine. Right? Kind regards, Tobias Berben
  2. Strange, right, very strange. But really, if html_output has the original code of function tep_href_link, everthing is ok. And if I change to the code of the Ultimate SEO URLs contributions, the orders_id is not stored in orders_total, orders_products and orders_status_history. May that be connected to session handling??!? Kind regards, Tobias Berben
  3. Hi, I just installed Ultimate SEO URLs and it works perfect. But it messes up my orders as not all information are safed in all necessary tables anymore. If I deactivate the changes in html_output.php, everything with the orders works perfect again. Could you please help me? Thx! Kind regards, Tobias Berben
  4. setarkos

    Purchase without an Account PWA

    I have exactly the same problem. Can anybody help?! Regards, setarkos
×