Jump to content

wbmnfktr

Members
  • Content Count

    921
  • Joined

  • Days Won

    17

Everything posted by wbmnfktr

  1. There is an old video around that shows how it could be done. It's the older version of ProcessWire in that video but it would work the same nowadays - just looks a bit different now. In terms of best workflow... it really depends on various factors as @bernhard already mentioned. I wrote about my personal workflow in or with ProcessWire here and here.
  2. So there is still another problem with your setup. I understood your post in that kind, that the 500 issue was solved. πŸ˜•
  3. The notification/alert tells you what to do. About 2-3 clicks and it's done. At least it should be done.
  4. I did just that with the DEV version of the Duplicator module. It went super smooth. Install the module (dev version) change some settings create an export download installer and archive upload installer and archive done All you need is a new database and of course access to upload those files.
  5. Thank you @flydev. I somehow missed that road to 1.3.12-ATO but I just installed and tried it again. Backup and reinstall runs buttery smooth. Perfect!
  6. Hey @flydev just tried to backup an almost abandoned project of mine with your Duplicator module. Installation (recent version from the modules directory via PW), setup and initial backup (local folder, no FTP or cloud) worked fine and I was curious about how the installer.php would work and gave it a try. Then at some point it became weird. The installer looked for config.php in a folder that does not exist at that point and path. I repeated everything, moved the files around but there was no config.php anywhere in the backup. Neither the script created one. Am I missing something here or ... changed something somewhere else that doesn't work well with your module? I created a backup of an PW 3.0.132 instance. Both, remote and local, use PHP 7.2.x- This question isn't urgent or anything!
  7. Which version of ProcessWire and PHP are you using? How did you install the module? Is it a clean installation or a running project? Try another browser or private mode. Take a look at site/assets/logs/errors.txt for more details. Enable debug mode in your configs.php. @adrian is it safe to rename or remove Tracy from within the file-system? Btw.: this is the official Tracy Support Thread where this post would have been better. πŸ˜‰
  8. Why in a hook and why saving the image to another field and so on? Why not just checking it in the template and outputting different values for OG/SEO?
  9. Didn't @bernhard write something similar about how to be efficient in creating thousands of pages a few days/weeks back? Those weren' files but at least performance wasn't the problem if I remember correctly.
  10. Try the $user->isLoggedin() option. I don't know enough about session handling in ProcessWire and why this is the way it works in your setup. Which version of ProcessWire are you running? Are there any other broader modifications/custom codes for session or user handling? Did you install any session related modules that may interfere here?
  11. That would be a masterpiece of course! As @szabesz already wrote... sometimes you want to take care of some fixes you need and aren't available at time. Therefore the idea of naming this module PWQuickFixes seems to be pretty accurate.
  12. IMHO... I see your concern and fear here but... this module isn't for the average user as they aren't that deep into the core details of ProcessWire. Mentioning an issue is easy, reporting an issue is work, fixing an issue with this module is art.
  13. Similar background... totally different solution: 2,000 recipients 1 older lady weekly newsletter Nothing worked out good enough. No software, no CMS plugin, no nothing. For a small fee each newsletter she now gets kind of proofreading, formatting and everything her newsletter needs. She writes and sends the newsletter in her mail client (Thunderbird) to me, I copy/paste everything into a plaintext file, format everything, read everything, put it together in Mailchimp and send it out to her recipients. It takes about 20 minutes. Everyone is happy. As it works so well for her, she wants to send more newsletters with more content, more links in the future. Lucky me.
  14. Maybe not related but in the past I always stumbled across two things: code in templates needed a $page->save whenever I changed something in an image field while in a module/hook it wasn't necessary or caused strange errors another thing was that I always had to foreach() through the image field I try to find an old module I built... images were a huge deal in it.
  15. I added $config->sessionExpireSeconds = 120; to my config.php deleted all cookies and sessions (/site/assets/sessions/) opened a private window and logged in waited 2+ minutes clicked a link and was redirected to the login page It works in the backend. How and why there might be a difference in an application or frontend... I don't know. Maybe caching, maybing something that keeps the session alive. Another thing is session()->isLoggedin where did you find that? All I know is $user->isLoggedin(). Maybe you could try: if(!$user()->isLoggedin) session()->redirect(config()->loginUrl);
  16. πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚ Because you never know when a crocodile shows up in your office! In the last couple of years I went through a lot of keyboards 2x Microsoft Bluetooth Design Keyboards 3x Thinkpad X1 Carbon (2015) keyboards 2x Surface TypeCover 1x Razer Black Chroma Something No coffee, soda, cigarettes, tobacco, fast food, children or crocodiles involved! They just stop working. E, A, S, C, X, V, Esc, Ctrl, Alt... all left/left lower keys. πŸ˜•
  17. Have you cleared all previous cookies and session files? Just to make sure there aren't any "old habits".
  18. Just thinking about it... could this replace all of my custom code snippets in ready.php? If so... this could be way more handy than I thought at first.
  19. Oh...kay... that clears up some things. So instead of waiting for the official fix we can now apply our fix to our environment whenever needed. Sounds great for those like you and @adrian who love to dig deeper into the core code. πŸ‘
  20. Even though I feel pretty confident in using and working with Processwire and building lots and lots of different projects with it... your task/idea would be still a challenge for me - in some kind. There is so much more involved than just a registration form, all those fields, user restrictions, notifications, and whatsoever. To be fair... you will have to code and customize a lot here. Installing a few (more) modules wouldn't do the trick. If this is kind of a long-term or fun project to get more into coding and challenging yourself: just start, try and break things, rebuild your code, do whatever is needed. If this is a paid job or something you really want to share with others: well... maybe look for something that already exists, that is tested and maintained. Like this forum. It's a super solid piece of software. Not that cheap but robust, tested and maintained.
  21. πŸ€” I'm a bit confused... to say at least. What are these fixes for? Are these custom changes to the backend - manageable through this module?
  22. Well... at least you had some exercises in debugging now. πŸ˜‰
  23. I honestly don't know. Never bootstraped ProcessWire into something in the last two years or installed it into a subfolder. Sorry.
  24. I really don't know if this might help here or if you already tried it but in version 3.0.141 Ryan made ProcessWire system URLs/paths now more customizable: https://processwire.com/blog/posts/pw-3.0.141/#processwire-system-urls-paths-now-more-customizable
  25. That could do the trick. Yet another thing comes to my mind. It needs to be somehow managable for users to see what decision they made. How do you handle that in your fork/version? I didn't see anything in your code that tells users their "only necessary cookies" decision. Maybe it's there but I haven't installed your version yet.
Γ—
Γ—
  • Create New...