Jump to content

All Activity

This stream auto-updates

  1. Today
  2. https://github.com/processwire/processwire-issues/issues/2150
  3. Hi, since i updated my local PHP to 8.4.13 (from 8.2), all PW installations are quirky. Regardless what 3.0.x.x.x PW versions. On load (Backend/Frontend): Deprecated: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in [...]/wire/core/WireSessionHandler.php on line 51 Followed then by: PHP Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in [...]/app/wire/core/WireSessionHandler.php on line 51 Although it is a deprecation/warning, it has effect on the behavior within the Backend (page tree doesn't load etc.) when debug in on. I also tried to upgrade a local PW installation (v. 3.0.242) to the latest master/dev, the folders and files are created (wire, index.php etc.). But loading the backend or frontend both gives completely blank page immediately. Fortunately the rollback works. I did a search, but found not much on this topic, i am afraid. Emptied all caches, compiled files multiple times. Does anyone have a clue what to do or where to look at? Thx in advance Olaf
  4. Yesterday
  5. Hey everyone, we just released a small companion module for StripePaymentLinks: 👉 GitHub: https://github.com/frameless-at/StripePlCustomerPortal PW Repo: https://processwire.com/modules/stripe-pl-customer-portal [pending approval] What it does The module auto-creates a ready-to-use page at /account/ where logged-in customers can: view all their purchases (table or grid view) access their purchased products / membership pages update profile data (name + password) open Stripe’s Customer Portal to download invoices or manage subscriptions No custom template coding required — the module installs a template + page, and you can still override the markup if you want. ⸻ Why we built it StripePaymentLinks already handles the checkout & user/purchase creation. This module completes the loop and gives customers a proper account area. 💡 Bonus benefit (Marketing): The grid view not only shows purchased products — it also shows available-but-not-yet-purchased products in greyscale. This turns the account page into a soft upsell area without being salesy. ⸻ Requirements ProcessWire 3.0.210+ StripePaymentLinks module installed & working Stripe Billing Portal must be enabled (Stripe → Settings → Billing → Customer Portal) ⸻ Status 🚧 BETA — already used on live sites, but we’d love developer feedback. If you try it out, please tell us what works and what’s still missing. Issues / PRs welcome. ⸻ Cheers & happy coding, frameless Media
      • 8
      • Like
      • Thanks
  6. How are you switching languages? Using javascript? I tried on a test setup and I can indeed reproduce your issue by changing the URL in the browser the way you described but maybe you should instead rely on something like $page->localUrl to create your language switcher? You can also raise your issue on Github, ideally by mentioning from which PW version you updated.
  7. Stefan, thanks for such a great module. 😀
  8. @ryan Hi Ryan, is there no solution for this? This seems to be a serious bug. I can't be the only one experiencing this … Cheers, Stefan
  9. Yeah, I thought so. I'm using my own by the spam emails are still getting 0.9 (same as me!). I don't get these spam emails since there's nothing promotional in them whatsoever and yet they're making it passed everything.
  10. Last week
  11. Ok, so it seems that you have 10 000 free requests per month, so maybe you can still use it. 😉 Are you using your own reCAPTCHA script or with FormBuilder? If it is your own script I think you could set your a treeshold score, for example 0.6 or so. Regards, Andreas
  12. Hi @Noboru. Glad you got it working. I'll look into the DefaultPage issue and maybe add a help note about it the class is really needed.
  13. Hi @MarkE, okay, solved. I cleaned up old composer packages that were installed with other modules. But then the next error: Bad file. Reason: Error: Class "DefaultPage" not found in /site/modules/PipeEmailToPage/PipeEmailToPage.module.php:1042 Stack trace: #0 /site/modules/PipeEmailToPage/PipeEmailToPage.module.php(847): PipeEmailToPage->processToPage() #1 /site/modules/PipeEmailToPage/emailpipe.php(63): PipeEmailToPage->processMessage() #2 {main}\n Could not process file: /site/modules/PipeEmailToPage/../../assets/emailpipe/queue/2025-10-27_20-15-51-832.eml. From: . Moving file to "bad" subdirectory So I set $config->usePageClasses = true; and created a DefaultPage class with <?php namespace ProcessWire; class DefaultPage extends Page {} It seems to be working now.
  14. I figured as much with the rest of the backend theme moving to CSS variables - thanks for confirming.
  15. Dear community, I am searching for a solution to show the items of a repeater field in the link dialog window. More in detail: the items of repeater_1 (Repeater field) should be selectable in the link dialog window of text_1 (TextareaLanguage/CKEditor field). The two fields are located in the same template. The repeater items should be selectable just as you normally can select pages. Any suggestions? I would really appreciate your help! Best Nomak
  16. Thanks, will there be no free allowance at all? What about the free credit you get per month with Cloud Console? I don't believe it, I just pushed this live for a client and right away they got a spam submission that scored 0.9/1! Judging by the contents of the form it can't possibly be a human. How on earth is it scoring so highly? Will Google “learn” from this once a few come through?
  17. I like Google reCAPTCHA but at the end of the year it won't be free anymore. So its time to look for an alternative. But right now I have no alternative to recommend. ☺️
  18. I tend to use things like time delay, force JS, honeypot for spam protection and then only add other measures once they don't seem to work on a site. I do have a couple of sites getting a lot of spam and I am trying out Google reCAPTCHA v3 since it's free for my degree of usage and seems to be done without the user knowing about it. I have used V2 before but I hate it as a user experience; some of the tests have been ridiculously long. I just wondered what your thoughts were on it. My main concern is: do things like uBlock and Firefox in strict mode work with it? I have uBlock running and use Firefox in Ehanced mode and it seems okay. What's a suitable fallback? And are false positives common? I am going to use PW's logging system, at least initially, to log those that doesn't make it through. Curious to hear people's opinions and if there are any gotcahs I might've missed. Thanks. 🙂
  19. Thanks @FireWire Heck, the same thing - default PW module for caching is keeping this URLs in navigation visible for everyone. Strange. Gonna report. Hey @ryan I didn't know where to post this prob, so I've tagged you. Sorry.
  20. @adrian, it might be something that only happens with particularly complex modules, because I think I've added the namespace to a bunch of my earlier modules and never struck that problem. And if I test with a dummy module... <?php class TestModule extends WireData implements Module { public static function getModuleInfo() { return array( 'title' => 'Test Module', 'summary' => 'Test applying namespace', 'version' => '0.1.0', 'autoload' => true, ); } public function ready() { $this->addHookAfter('AdminTheme::getExtraMarkup', $this, 'doSomething'); } protected function doSomething(HookEvent $event) { $parts = $event->return; $parts['masthead'] .= "hello"; $event->return = $parts; } } ...then I can add the namespace without issue. If I remove the namespace from a namespaced module then I get a server error, but that's not something anyone would need to do. Just a guess, but you could try removing the previously compiled module files from /site/assets/cache/FileCompiler/site/ in the upgrade() method to see if that makes a difference.
  21. Hi @MarkE, first of all, thank you for making this module possible! I have set it up on my server, using DirectAdmin instead of cPanel. The pipe seems to be working, but I am getting the following error message: Declaration of ZBateson\MailMimeParser\Stream\MessagePartStreamDecorator::read(int $length): string must be compatible with PsrExt\Http\Message\StreamInterface::read($length) Do you have any idea what the cause could be?
  22. @horst - we can't add those labels ourselves.
  23. Many thanks for this useful tipp, ... ... & congrats to this "lucky number post"! 😁
  24. @adrian - thanks! Another question arrived. And sorry if it sounds a bit stupid. 🙂 I opened a GitHub-Issue and wanted to add the label "AdminThemeUikit" to it, but could not find out how to add labels at all?!? 😅 The last two or three years I only use Git on CLI, (together with the gh.exe), not the online GUI. Can we self add labels there, and if yes: how? Or is it left to @netcarver as issue-repo-admin? (greetings! 👋🙂) https://github.com/processwire/processwire-issues/issues/2154
  25. We had one site that was struggling under the strain of AI bots (the admin became almost unusable); The hosting support confirmed they were getting hit massively by AI bots. They ended up implementing apache level blocks. Then we had 2 other sites (running on Digital Ocean droplets) which started to get hit and were crashing, hitting 100% CPU. I have since installed WireRequestBlocker on those 2 sites (and had to up the memory, CPU and storage) On one of them we are now seeing a lot of activity, and IPs being blocked, and have been running smoothly since. In the meantime i'm trying out the ai.txt which can be generated here: https://site.spawning.ai/spawning-ai-txt Has anyone else tried it?
  26. WSL is not docker. It is a virtualization technique tough.
  27. I am creating a module. The first-time install works without error, and the module functions without error. However, when I uninstall the module, then attempt to install the module again, I get the following error: "Unable to install module [module]: Role collision detected ([role]): role already exists." The role was deleted successfully, and no reference to that name exists in the database. Has anyone come across this before?
  1. Load more activity
×
×
  • Create New...