Jump to content

petrovv

Members
  • Posts

    55
  • Joined

  • Last visited

  • Days Won

    1

petrovv last won the day on January 30 2012

petrovv had the most liked content!

Contact Methods

Profile Information

  • Location
    Netherlands
  • Activity
    Agency

petrovv's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

14

Reputation

  1. Hi Warren, This is not so much the software but on the server configuration. php set to: Memory limit: 128M Max execution time: 30 set all caching off on the Performance page (admin), except Smart Cache ccc (css,java). You memory limit (95M) is too low to use advanced caching. also LiteSpeed must configured correctly (listening closely), and xcache can also break many on the memory/cpu.
  2. Ik wil wel even kijken op je website of ik er iets aan kan zien. Wat is het adres van je winkel? Daan
  3. Hoi Harry, dit kan met verschillende dingen te maken hebben zoals: certificaat, private-key, private-certificaat-file, merchant-id, gateway-name. deze waarden moeten allemaal correct zijn bij het controleren van de transactie (de terugkoppen url), anders komt inderdaad de melding zoals jij die kreeg. deze fout kan voortkomen uit de module (het script) maar kan ook bij ING verkeerd gaan. Als je ook even wil kijken bij je iDEAL dashboard bij ING of daar geen (vergeten) optie's zijn? heeft de map /idealcheckout/temp/ in de rootmap wel schrijfrechten? Ik weet niet of het voor jouw te technisch wordt om ook even het php error doc door te nemen en te kijken bij welke stap(pen) (de php bestanden) het fout gaat? Daan
  4. Hoi Harry, Gebruik jij de 5 stappen of 1 pagina afrekenen? welke payment provider gebruik je?
  5. @scorpionsworld Bedankt voor je reactie. Ik heb het geïnstalleerd en werkt perfect. (zelfs geen error's in de server error log) Dus doe maar rustig aan met de vernieuwing van de plugin. Daan
  6. Beste scorpionsworld, Bedankt voor je script en aanpassingen. Ik sta op het punt om deze versie te gaan uitproberen. Ben je op dit moment nog bezig met aanpassingen? en kan ik beter even wachten op de volgende update? En heb je al respons gehad van PHP Solutions? Daan
  7. hello, I have also encountered. The database table is auto increment. if a line is removed and that 'line ID' is still filled with order history (cookie and sql) ... the next customer will receive including the old of the previous customer. Be careful with the removal of cart history as the cookie has not yet expired. This mistake is single and does not occur in the next .... the database is then equal The built-in function to delete (prestashop admin) is not a problemm, this allows multiple sql tables are updated.
  8. @narigua il vaut mieux que la langue anglaise est maintenue dans le forum prestashop. Cela fonctionne plus vite parce que les gens viennent de partout. Exemple, je viens des Pays-Bas et aussi il suffit d'écrire en anglais parce que c'est utile. @narigua & layer7 I've taken out of production because session and cookie very important that they work in a shop. My confidence is not enough that I get it working. With the new version (1.5) I have been to work and am working on a modulle of it for everyone. Sorry I did not post the findings here. it should work perfectly, and it can be. But first play with it. @layer7 unique identification: varnish is no cache from there. that is not a problem. The varnish that tell whether or not a "hit" is not the problem, or a browser cookie and cache. I need the core files change and that is not smart. I want prestashop core remains intact. and I work now (version 1.5)
  9. no I do not use. For information or help, maby here: http://www.prestashop.com/forums/topic/144631-module-home-categories-products/
  10. which module you use? this: http://addons.prestashop.com/en/administration-tools/2846-home-categories-products.html?
  11. hi layer7, Today I'm working on some things to test Login: AuthController.php login etc > setcookie("varnish_nocache", 1, 0); Logout: FrontController.php (isset($_GET['mylogout'])) > setcookie ("varnish_nocache", "", time() - 3600); with google chrome: I think it works but Cart not always filled.. working on...cart.php (if POST > cart.php :: setcookie) I'll come back when I know more with only this control for cookie: #unique identifier witch tell Varnish use cache or not if (req.http.cookie ~ "varnish_nocache") { return (pass); }
  12. now working with the cart, but not yet fully tested! unstable: this code should be improved ..... small cookie problems: ... unique identifier witch tell Varnish use cache or not. (varnish_nocache) addition and improvements welcome # This is a basic VCL configuration file for varnish. See the vcl(7) # man page for details on VCL syntax and semantics. # # Default backend definition. Set this to point to your content # server. # backend default { .host = "127.0.0.1"; .port = "8080"; } sub vcl_recv { if (req.request != "GET" && req.request != "HEAD" && req.request != "PUT" && req.request != "POST" && req.request != "TRACE" && req.request != "OPTIONS" && req.request != "DELETE") { return (pipe); } # do not cache POST requests if (req.request == "POST") { return (pipe); } # Remove has_js and Google Analytics cookies. set req.http.Cookie = regsuball(req.http.Cookie, "(^|;\s*)(__[a-z]+|has_js)=[^;]*", ""); #we should not cache any page for Prestashop backend if (req.request == "GET" && (req.url ~ "^/admin")) { return (pass); } #we should not cache any page for customers if (req.request == "GET" && (req.url ~ "^/authentication" || req.url ~ "^/my-account")) { return (pass); } #we should not cache any page for customers if (req.request == "GET" && (req.url ~ "^/identity" || req.url ~ "^/my-account.php")) { return (pass); } #we should not cache any page for sales if (req.request == "GET" && (req.url ~ "^/cart.php" || req.url ~ "^/order.php")) { return (pass); } #we should not cache any page for sales if (req.request == "GET" && (req.url ~ "^/addresses.php" || req.url ~ "^/order-detail.php")) { return (pass); } #we should not cache any page for sales if (req.request == "GET" && (req.url ~ "^/order-confirmation.php" || req.url ~ "^/order-return.php")) { return (pass); } #unique identifier witch tell Varnish use cache or not if (req.http.cookie ~ "varnish_nocache") { return (pass); } #Even though there are few possible values for Accept-Encoding, Varnish treats #them literally rather than semantically, so even a small difference which makes #no difference to the backend can reduce cache efficiency by making Varnish cache #too many different versions of an object. #http://varnish.projects.linpro.no/wiki/FAQ/Compression if (req.http.Accept-Encoding) { if (req.url ~ "\.(jpg|png|gif|gz|tgz|bz2|tbz|mp3|ogg)$") { # No point in compressing these remove req.http.Accept-Encoding; } elsif (req.http.Accept-Encoding ~ "gzip") { set req.http.Accept-Encoding = "gzip"; } elsif (req.http.Accept-Encoding ~ "deflate") { set req.http.Accept-Encoding = "deflate"; } else { # unkown algorithm remove req.http.Accept-Encoding; } } if (req.url ~ "\/cache\/|\.css|\.js|\.jpg|\.gif|\.png") { unset req.http.Cookie; unset req.http.Accept-Encoding; unset req.http.Vary; return (lookup); } if (req.url ~ "\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|pdf|txt|tar|wav|bmp|rtf|js|flv|swf)$") { unset req.http.Cookie; unset req.http.Accept-Encoding; unset req.http.Vary; return (lookup); } return (lookup); } sub vcl_pipe { # Note that only the first request to the backend will have # X-Forwarded-For set. If you use X-Forwarded-For and want to # have it set for all requests, make sure to have: # set req.http.connection = "close"; # here. It is not set by default as it might break some broken web # applications, like IIS with NTLM authentication. return (pipe); } sub vcl_pass { return (pass); } sub vcl_hit { if (req.http.Cache-Control ~ "no-cache") { set obj.ttl = 0s; #asta face cache replace la hit care e fortat } return (deliver); } sub vcl_miss { return (fetch); } sub vcl_fetch { return (deliver); } sub vcl_deliver { if (obj.hits > 0) { set resp.http.X-Cache = "HIT"; } else { set resp.http.X-Cache = "MISS"; } } sub vcl_error { // Let's deliver a friendlier error page. // You can customize this as you wish. set obj.http.Content-Type = "text/html; charset=utf-8"; synthetic {" <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>"} + obj.status + " " + obj.response + {"</title> <style type="text/css"> #page {width: 400px; padding: 10px; margin: 20px auto; border: 1px solid black; background-color: #FFF;} p {margin-left:20px;} body {background-color: #DDD; margin: auto;} </style> </head> <body> <div id="page"> <h1>Page Could Not Be Loaded</h1> <p>We're very sorry, but the page could not be loaded properly. This should be fixed very soon, and we apologize for any inconvenience.</p> <hr /> <h4>Debug Info:</h4> <pre>Status: "} + obj.status + {" Response: "} + obj.response + {" XID: "} + req.xid + {"</pre> </div> </body> <div id="page"> <h1>Page Could Not Be Loaded</h1> <p>We're very sorry, but the page could not be loaded properly. This should be fixed very soon, and we apologize for any inconvenience.</p> <hr /> <h4>Debug Info:</h4> <pre>Status: "} + obj.status + {" Response: "} + obj.response + {" XID: "} + req.xid + {"</pre> </div> </body> </html> "}; return(deliver); }
  13. You have to duplication the products places. known as a multiple store. you can create a category where you exclude google bots. It puts the same items but with a different price. in prestashop 1.5 is already an option for in the current situation you can not link the source with a specific price You may be using adwords promotional code offer / or linking to a cms content with explanation?
  14. this is what you want? {convertPrice price=($productPrice-$quantity_discount.real_value)}
×
×
  • Create New...