Jump to content

KongoCat

Members
  • Content count

    7
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    D Sof

Recent Profile Visitors

1,964 profile views
  1. KongoCat

    Sessions And Carts

    Hi, Thank you again for the support - 18 years a member here and it is always a pleasure to visit. To my issue, I have just seen that this happened on the same browser in same window. I can only guess that it is related to recently we moved to php 5.6 from 5.4. Does it make sense or ring any bells?
  2. KongoCat

    Sessions And Carts

    Thank you for the help. I just wanted to see I didn't break the system sometime in the past without noticing that.
  3. KongoCat

    Sessions And Carts

    Hi Burt, Thank you for the help. This is the scenario Customer logged in and looks at site in Chrome, adds to cart several items. Calls husband to get an advise to add more stuff. (same as one users using 2 browsers) Husband logs in, cart is restored in his browser, he adds to the cart what he wanted. DOES NOT LOGOFF. Wife doesn't see what he added to the cart. That was first seen when a browser was left open and forgotten. Then I logged in in another browser and made changes to a cart. Then I went back to the first window and saw that what I added is missing and I was not aware that I was using 2 browsers. Maybe it was always like that. This is an old install that can not move for the seen future to a new version for many reasons.
  4. KongoCat

    Sessions And Carts

    Hi, When I login and add products to the shopping cart and then login from another browser / computer I see that same shopping cart. If I then make a change in one browser that change is not seen in the other browser. It means that the logins get different sessions as expected and that the database is updated on each change but it is only read on login and saved on log out and on change. Is that correct? should it work like that?
  5. Hi Guys, I want to save time on creation of many products and I need to add bulks of 100 at least 5 times. I understand that I can do that using Easy Populate or Easy Csv import. I have an older Easy Populate already setup on my store but never tested. Before I put time on investigating and choose, May I ask those of you that are femiliar with both tools. So what would you choose and why?
  6. Hello All, Great contribution!!! I hope I have no mistakes here. One thing to fix if you need it to work in SSL: in function: function imageURL($path, $encode = FALSE) { global $HTTP_SERVER_VARS; // initialize context $url = (IMAGE_URL . $path); // if URL is to be encoded ... if($encode) { // ... encode the URL $url = rawurlencode($url); $url = str_replace("%2F", "/", $url); } // return the URL return ("http://" . $HTTP_SERVER_VARS["HTTP_HOST"] . $url); } chnge return line to: return ("https://" . $HTTP_SERVER_VARS["HTTP_HOST"] . $url); in: function scriptURL($path, $encode = FALSE) { global $HTTP_SERVER_VARS; // initialize context $url = (SCRIPT_URL . $path); // if URL is to be encoded ... if($encode) { // ... encode the URL $url = rawurlencode($url); $url = str_replace("%2F", "/", $url); } // return the URL return ("http://" . $HTTP_SERVER_VARS["HTTP_HOST"] . $url); } to return ("https://" . $HTTP_SERVER_VARS["HTTP_HOST"] . $url); look for another instance of "http" and change to "https". other wise it will not work. When updating the database replace all https: with http: and do exactly the oposit when reading from the database to the textarea for editing. The reason is that when you are in an SSL secured page, trying to add a picture from a nonsecured will have access denied because of security violation. This is a fast fix that can be implemented much smarter. DS
×