Jump to content

Robo

Member
  • Posts

    148
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Robo's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. ok that is good to know, first lets see what my bookkeeper says about this brexit tax thing else it is not neccesary .. i hope
  2. That is for max amount , maybe there is a workaround like shipping value ? if the minimum is set to for example €155 then there would be no shipping option , or am i mistaken ?
  3. is it possible to have a minimum sales amount for the uk only ? this has to do with the brexit as under the 135 pound we must pay tax to uk (this is problematic) and above the 135 pound no tax but the customer is controlling it , Any help would be appricieated , as i also heard that per June or July more of these things happening in all eu so limkits are helpfull for this Thanks in advance
  4. a few new ones File: [seo.class.php] Line: [726] "INSERT INTO `CubeCart_seo_urls` (`type`,`item_id`,`path`,`custom`) VALUES ('prod','','-p.html','0');" - Duplicate entry '-p.html' for key 'PRIMARY' Nov 21 2020, 12:28 pmFile: [catalogue.class.php] Line: [1051] "SELECT SQL_CALC_FOUND_ROWS * FROM `CubeCart_inventory` WHERE `product_id` IN (913,996,468,469,470,471,472,473,474,475,992,606,627,686,713,714,760,1009,838,873,875,889,891,965,921,939,940,941,942,943,944,981,983,1015) AND CubeCart_inventory.status = '1' AND `live_from` < UNIX_TIMESTAMP() ORDER BY `name` ASC LIMIT 12 OFFSET 2.6545345345453E+14;" - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '2.6545345345453E+14' at line 1
  5. sorry no time to check for this it is so busy here will try to do asap
  6. sorry no gift certificates, just orders
  7. the errors started directly after the latest upgrade 6.4.1
  8. same here File: [seo.class.php] Line: [726] "INSERT INTO `CubeCart_seo_urls` (`type`,`item_id`,`path`,`custom`) VALUES ('prod','','-p.html','0');" - Duplicate entry '-p.html' for key 'PRIMARY'
  9. yes it worked thanks a lot btw i have a lot of errors after upgrading like these ones any thougths ? File: [seo.class.php] Line: [726] "INSERT INTO `CubeCart_seo_urls` (`type`,`item_id`,`path`,`custom`) VALUES ('prod','','-p.html','0');" - Duplicate entry '-p.html' for key 'PRIMARY'
  10. maybe i am dumb so these 2 lines $same_site = CC_SSL ? 'samesite='.$params['samesite'] : ''; return setcookie($name, $value, replace with $same_site = CC_SSL ? 'samesite='.$params['samesite'] : ''; if (PHP_VERSION_ID < 70300) { return setcookie($name, $value, $expire, $params['path']."; $samesite", $params['domain'], $params['secure'], $params['httponly']); } else { return setcookie($name, $value, [ 'expires' => $expire, 'path' => $params['path'], 'domain' => $params['domain'], 'secure' => $params['secure'], 'httponly' => $params['httponly'], 'samesite' => (CC_SSL ? $params['samesite'] : ''), ]); } is this correct or ?? i do not understand as this is exact what you wrote in previuos post
  11. again it does not work , in the admin site we get a 500 error all blank what we did $same_site = CC_SSL ? 'samesite='.$params['samesite'] : ''; return setcookie($name, $value, 'expires='.$expire.';path='.$params['path'].';domain='.$params['domain'].';secure='.$params['secure'].';httponly='.$params['httponly'].';'.$same_site); } replaced with $same_site = CC_SSL ? 'samesite='.$params['samesite'] : ''; if (PHP_VERSION_ID < 70300) { return setcookie($name, $value, $expire, $params['path']."; $samesite", $params['domain'], $params['secure'], $params['httponly']); } else { return setcookie($name, $value, [ 'expires' => $expire, 'path' => $params['path'], 'domain' => $params['domain'], 'secure' => $params['secure'], 'httponly' => $params['httponly'], 'samesite' => (CC_SSL ? $params['samesite'] : ''), ]); }
  12. that is what i did in the begin, but it is not working , will give it another try
  13. we did exactly as given In /classes/session.class.php, near line 583, find the public function set_cookie(). Find: $same_site = CC_SSL ? 'samesite='.$params['samesite'] : ''; return setcookie($name, $value, 'expires='.$expire.';path='.$params['path'].';domain='.$params['domain'].';secure='.$params['secure'].';httponly='.$params['httponly'].';'.$same_site); Change to: $same_site = CC_SSL ? 'samesite='.$params['samesite'] : ''; if (PHP_VERSION_ID < 70300) { return setcookie($name, $value, $expire, $params['path']."; $samesite", $params['domain'], $params['secure'], $params['httponly']); } else { return setcookie($name, $value, [ 'expires' => $expire, 'path' => $params['path'], 'domain' => $params['domain'], 'secure' => $params['secure'], 'httponly' => $params['httponly'], 'samesite' => (CC_SSL ? $params['samesite'] : ''), ]); } please what ? should be replaced with what ?, as i do not understand , as this was posted by you and it is not clear for me , thanks anyway
×
×
  • Create New...