Jump to content

OllieMackJames

Members
  • Posts

    356
  • Joined

  • Last visited

Everything posted by OllieMackJames

  1. Anyone interested in co-funding the development of pw lscache plugin? Hi All, I have been running my processwire sites on openlitespeed for a while now and am pleased with the speed. I would like to ask if there are people who are interested in having someone build a lscache plugin for processwire? To be clear: I am NOT a developer, but am willing to fund part of the cost On: https://www.litespeedtech.com/products/cache-plugins the processwire plugin is missing, would be nice to have it there, but even nicer to have my pw sites made even faster with lscache. Mind you I already have procache, but I believe this will speed that up even more. If you want to co-fund please say so in the reply. If you would or could build it, please reply below as well. thanks! P.S. Let me go first: I pledge 100 euro.
  2. @Pixrael thanks for sharing that about shopify light, that might be just what I need roght now. Does this also allow integration of the checkout details onsite or inside the pw page? I'll check your link, but decided to ask you as well. Once again thanks for sharing the link, but also your experience and calculations, good stuff!
  3. Hi @kongondo just very curious as a padloper customer. Would it be possible for you to communicate a tiny bit more about what is happening maybe when to expect the fruit of all your hard work just so we know when to budget our sending you money for the upgrade to the next version thanks!
  4. Thanks @adrian, I just replicated by hand now, couldn't figure out how to get this going, so just decided to go manual, thanks for thinking along though.
  5. this one: ProcessWire\WireException SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '24' for key 'PRIMARY' search►
  6. I just tried copying repeater items from one page to another and got this error: ProcessWire\WireException SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '24' for key 'PRIMARY' search► any idea how to fix? .../core/FieldtypeMulti.php:305 295: } 296: 297: try { 298: $query = $database->prepare(rtrim($sql, ", ")); 299: $result = $query->execute(); 300: } catch(\Exception $e) { 301: if($useTransaction) $database->rollBack(); 302: if($this->wire('config')->allowExceptions) throw $e; // throw original 303: $msg = $e->getMessage(); 304: if($this->wire('config')->debug && $this->wire('config')->advanced) $msg .= "\n$sql"; 305: throw new WireException($msg); // throw WireException 306: } 307: 308: } else { 309: $result = true;
  7. Thanks @Macrura, sorry to bother, but is that in root htaccess or in site? Funny thing is that hanna code allows me to save as long as there is no php code in there
  8. Thanks @Macrura unfortunately that did not work for me, where did you put this in your htaccess? Thanks
  9. @teppo thanks for your thoughts. This has worked before, and fortunately the code still works, but when I try to change anything and save, it throws this error. I changed VPS recently and moved from freebsd to centos with litespeed and different security settings on the host than before, so this must indeed be the problem. The error screen indeed shows litespeed at the bottom, so it seems like a server thing rather than a processwire thing. Now the big question is what do I need to change where so it will work again. What is it in Hanna Code that triggers WAF, any ideas? Thanks again teppo.
  10. When I access hanna code and try to save something I get a "403 Forbidden Access to this resource on the server is denied!" error. I am on a centos litespeed VPS with latest pw and latest hanna code module Anybody have any ideas?
  11. @Mike Rockett it was an upgrade, been using this great module for years already, thanks
  12. OK, already fixed it. I dropped the column from the database Then I also had to drop the whole process_jumplinks_nf table and now the error is gone
  13. I keep getting this error: Failed to init module: ProcessJumplinks - SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'last_hit' Any ideas how to fix this? thanks
  14. This works for me, placed it in hannah code [[date]] var days = ["Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag"]; var months = ["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"]; var d = new Date(); datum = days[d.getDay()] +', '+ d.getDate() +' '+ months[d.getMonth()] +' '+ d.getFullYear(); document.write('\x3Cp>\x3Cstrong>' + datum + '\x3C/strong>\x3C/p>'); just change days and months names to your language, works like a charm!
  15. Hello @bernhard, What I think? Briliant, I like your thinking here! It would definitely make sense to me, in fact I have 2 sites I would like merged into one system that allows use of all functionailty of the two sites with ease of changing the look and feel front end, but with proven abck end system in place Necessary features? - Repeater matrix list of reusable sections to easily build pages - Easy way of changing the look and feel of a whole site by changing as few things as possible Good stuff Bernhard!
  16. I love the idea, I used soma's modulesmanager with much pleasure, so look forward to this one as well! Good work @jens.martsch
  17. For a while I tested litespeed, worked fast and simple, I did not have to change anything on the server except turn it on through a plugin in the controlpanel (directadmin) only thing was the cost per month, but the speed was great. Here is a link to a page that talks about apache, nginx and litespeed: https://www.litespeedtech.com/products/litespeed-web-server/compare-litespeed-apache-nginx Just found openlitespeed as well, the open source version of litespeed: https://openlitespeed.org/
  18. I recently upgraded to latest pw version 3.0.139 now when I use the FileEditor and try to save something I get the following error: Ajax request failed: error Any ideas how to fix this? thanks
  19. I use the following to get a redirect in the frontend to url outside of processwire, in my case to my shopping cart which is not part of processwire, but it can be any url as you can see below. What I did was add a page that uses a redirect template to the outside url 1- I made a template called redirect.php In the template I have this code: <?php $url = "https://www.xxx.xx/"; $session->redirect($url); ?> 2 - I added a page which uses the redirect template on the same level as the other pages that appear in the main menu. Works like a charm for me.
  20. Just adding my 2 cents as an encouragement for anyone considering buying pro modules. I am NOT a developer, but have very gladly worked with developers from this wonderful forum. I have bought 5 pro modules so far, also ones I do not use on any of my sites. All of my sites use procache, form builder and repeater matrix. Anybody out there who does not use procache, you are leaving money on the table by not speeding up your site. I try to make a living from my sites, and mostly succeed, and increased speed of my sites so far always translated to more sales, so procache is a must in my book. I bought promailer but do not use it, also prodevtools which I don't even understand what it does, but if Ryan makes it, and I can even slightly understand what it does, I'll just buy as my means of showing appreciation for this incredible piece of art we call processwire, which makes me money every day. I also bought padloper which I do not use, but I bought because I like the idea of a good shopping cart being developed for PW. Sorry for the rant, but I love this thing called Processwire!
  21. @Pixrael here are some of my thoughts I have worked with membership sites since 2001, after some fooling around I decided to go for amember.com for all the membership and payment stuff, it is a paid solution but as we all know nothing is free, you either pay someone for their work or put in the work yourself. What I would do based on your setup is two things: On the amember side I would specify 4 products: tool a, tool b, tool c and globals Globals could be a product that can be accessed from any of the other products: tool a, b or c (can be easily set within amember) On the processwire side of things I would just have a top level page, called tool a, also one for tool b etc and a globals thing that is added to all three tool pages. Now I would add some php to the template of the tool a page template that calls on amember to check whether the user has access to this page. Same for the other tool pages. This way you separate the whole membership side of things, including payments etc to amember, a proven tool with a track record that goes back a long time and you use the brilliance of PW for what it does best. The dabbling around within processwire of all the membership things, IMHO is just a waste of time, why re-invent the wheel when it is already running full on somewhere else and can be easily integrated. For integration I always use the programmers of amember who are available at reasonable fees to write the necessary code, or help you write it yourself. Amember will take care of the payment side of things, recurring payments is no problem, when a user cancels payment, it automatically blocks access on content on pw pages, you could also allow access to old stuff which was made available until payment cancellation etc. Just my 2 cents
  22. @draganthanks, I must have been logged in, was not aware of that, I checked on mobile and indeed it was still very snappy, thanks again. @wbmnfktr thanks for thinking along, much appreciated.
  23. @wbmnfktrGeneration time is the time it takes for the whole page to be generated on the server and loaded in person's browser.
  24. In my stats I see that my average generation time is now spiking. I have procache in place. Average generation time used to be around 0,12 secs, now it is up to 1,65 secs, anyone know what this could be? this is the site: www.rugpijnweg.nl Any ideas what could cause this? Thanks
×
×
  • Create New...