Jump to content

netcarver

PW-Moderators
  • Posts

    1,951
  • Joined

  • Last visited

  • Days Won

    42

Everything posted by netcarver

  1. Anyone seeing issues with the generated thumbnail for vimeo-based embedded videos? Currently just getting a stripy image back from vimeo no matter what video is embedded. Pressing play works - the video is streamed and played without issue, it's just the thumbnail from vimeo that's the problem. Looks like this...
  2. Have been using porkbun.com for years. Just for registrations; my DNS and hosting is elsewhere. Porkbun cover .uk, .org.uk and .co.uk domains as well as all the usual suspects.
  3. Nice, thank you Robin. Seems to work well.
  4. @jds43 That would probably be indicative of your server side code running more than just your ajax section. It's probably not what you are outputting in the rendered htmx you just posted. In the example kongondo posted above, the ajax route ends by calling $this->halt() to finish off PWs processing after echoing out the html. Is your code doing this? NB it is only possible to use halt() in some situations (like template files, IIRC) so you'll need to do that or just call exit(); if in a different context.
  5. Any difference in PHP versions between these two setups?
  6. This requires a more recent version of PW than 3.0.165 - I'm currently using 3.0.182.
  7. Please do. And thank-you for what you've already shared. I just started using this today and it's looking good so far.
  8. Ok, like @rick said, please try to use the absolute path if possible. If that doesn't work I'd then want to check that the u9...9 user actually has access to PW's files. If that user is not the same user as the HTTP server user (like apache) then sometimes this can be an issue.
  9. Ok, so there are no errors in the apache/PHP Logs but what about in PWs log Error/Exception logs?
  10. @Manaus Take a look at Lakeland Trails from @Pete at Nifty Solutions. Almost 52 thousand users. Might be worth pinging him to ask more about the actual pros/cons of doing it that way.
  11. Hi @horst, thanks for the reply, but unfortunately not. I have found a work-around that I can use for now by hooking the login register pro login-form processing which happens before the session::login hook gets called, and removing it there does work.
  12. Hello wonderful PW-philes, I have a situation where I'd like to prevent system notifications from being stored when a self-registered user logs in or out (or fails to log in.) These events just clutter up the systemUser's notification list so I thought I'd add a hook early in the hook chain that works out if it's a self-registered user logging in and then just remove the System Notification module's hook by using removeHook(). Sure enough, I can find the target hook in the hooks returned by the system - and seemingly remove it from the hooks array - but the hook is still executed no matter how I call removeHook(). Here's the things I've tried in my hi-priority session::login hook that don't work... $id = $this->findSystemNotificationLoginHook(); $event->removeHook($id); $this->removeHook($id); parent::removeHook($id); $this->session->removeHook($id); wire()->session->removeHook($id); I've also tried targetting the actual instance by attaching to wire()->session->addHookAfter('login'...) as well - and tried doing addHookBefore(). I'm guessing that it's actually too late to remove the hook when I make the call as the hook array associated with this event is already being processed by PW and it's working its way through a local copy of the event's hooks. Does anyone have a way of removing a later hook from an event-in-progress? I can't just cancel the event as there may be other, lower priority hooks on the session::login event that I'm targetting.
  13. Never used it, but I know some folks use Wistia to host video content.
  14. Ok, so I can find the sha's of the commits via the history of the ProcessWire.php page on GH here - but I still think it would be nice to be able to reference by tag in git :)
  15. @ryan Just wanted to track down an issue I'm having with PW and a module that's in the works. The module works fine on PW v3.0.181 but not on 3.0.165 so I wanted to go back through the tags on github, bisecting the tag space till I nailed down the minimum version I need to declare in my module. However, the list of tags seems to be very sparse on GH compared to the versions as notified in your blog posts. Could you be persuaded to add a git tag when you bump the version in wire/core/ProcessWire.php file and to push the tags to GH as well? This would make it really easy to install any given version by tag from git/github and allow an easier match with the information published in the blog as well. As always, thanks and best wishes.
  16. I think you should be able to move the offending module directory/file out of the site/modules folder into a temporary directory. That might restore your site's operation enough to go into the admin interface where you can clean things up if you need to.
  17. Just bumped this to version 0.5.0 which adds the ability to have a sandbox server token that gets used if the site is in debug mode.
  18. I think Roland's excellent Admin on Steroids module can help you. There is an option to display the template of pages along with the options button in the tree menu. Look for this option and turn it on; Then you should be shown the template as you hover over the items in the page tree. Here's the correct template (client_index) being shown for a page on my local site; Hope that helps!
  19. Yes, you can do that, or you can use an alternative user template as well. LRP supports collecting these additional fields as part of the registration process and/or allowing users access to these fields in their profiles.
  20. If I had to guess what's happening here, I'd say that when you supply the file from your normal html, the server may not be sending an content-type header so the browser downloads it, as the server hasn't told it what type of data it is. When PW sends the data, it's probably setting the content-type header - and the browser, now knowing what it is, takes action to play it.
  21. Hi There, Welcome to the forum. There's a discussion about this (though for PDFs) over here.
  22. Sorry that your experience of PW wasn't good but having your site running is obviously the most important thing at the moment.
  23. Ok, so when you look in the error log (Admin > Setup > Logs > Errors and/or Admin > Setup > Logs > Exceptions), what does it say the error was? If it happens you can no longer log into the admin interface, then look at the file system on that machine and go to the site/assets/logs directory and look at the last few lines of errors.txt and exceptions.txt.
×
×
  • Create New...