Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by alexm

  1. @cryostar 👍🏼 Perfect! Glad to hear it 😁
  2. @update AG assuming you've tried a different browser and/or a private window so you know there is no issue with cookies? Have you enabled DB session handling? Or are you using the default file based system? If the latter you should see that the relevant files are created here: /site/assets/sessions/ I'm wondering whether anything else could have a strange effect like the wrong url in httpHosts array in config.php or perhaps a rewrite condition in .htaccess? like https or www.
  3. Not tested, but you could try: $f = $form->getChildByName('register_referralmode'); $f->required = 1;
  4. Has anyone else noticed that if you create a visibility condition for page reference fields assigned to the 'user' template that when you save the user the selected pages don't get saved? I feel like I've seen a topic about this before, but can't seem to find it. Either way, it seems to be a bug with user templates?
  5. @netcarver There wasn't no. I did check this. It's now resolved. I dug around for a bit, and then considered whether the person I'd handed the site off to had unpackaged everything properly. After re-uploading the package and connecting it all up on their server for them it's working. Something must have been missed, or perhaps they used FTP to upload and a file got skipped. Thank you for your response though 😊
  6. Has anyone seen the following error. I've not ran into this particular error before and can't figure out what's causing the issue. Notice: Undefined property: ProcessWire\ProcessWire::$hooks in /var/www/vhosts/domain.co.uk/httpdocs/wire/core/Wire.php on line 371 What the… Fatal Error: Uncaught TypeError: Argument 1 passed to WireCache::preload() must be of the type array, null given, called in wire/core/ProcessWire.php on line 503 and defined in wire/core/WireCache.php:149 #0 wire/core/ProcessWire.php (503): WireCache->preload(NULL) #1 wire/core/ProcessWire.php (304): ProcessWire->load(Object(Config)) #2 index.php (52): ProcessWire->__construct(Object(Config)) #3 {main} thrown (line 149 of wire/core/WireCache.php) Thanks in advance for any help 😊
  7. Digging around in logs, I think I've managed to figure what's happening. If you type a URL on Facebook rather than paste the complete correct URL, it tries to request the URL as you type. So until the full, valid URL is completed it's trying to request a page that doesn't exist.
  8. @wbmnfktr Ah awesome, thank you! That's a great post. I've taken those steps now as they definitely seem like good additions!
  9. Perfect! Cheers @horst Jumplinks looks to be perfect for monitoring it. If it's anything of interest, I'll report back. Otherwise thankyou and have a good evening!
  10. Does anyone else get a lot on /http404/ from crawlers like facebook? See screenshot. I'm just trying to think why I'd be getting so many and replicate the issue.
  11. @jacmaes Wicked, glad it sorted it for you too. I'll file it now
  12. Ok got it. There needs to be a 5th parameter passed of 1 so that the day selected is the first of the month otherwise it's getting a day that doesn't exist and skips over onto the next month. strftime($monthFormat, mktime(0, 0, 0, $n, 1))
  13. I've narrowed it down to line 93 of InputfieldDatetimeSelect.php strftime($monthFormat, mktime(0, 0, 0, $n)) All ints from 1 - 12 output the relevant month abbreviation except for 2 which outputs March. No idea why though currently.
  14. I've got 2 March's instead of Feb, March. Screenshot attached. Anyone else noticing this? PW 3.0.180
  15. alexm


    @sz-ligatur that's perfect thank you!
  16. alexm


    🤦🏻 ignore me!!! I was using a relative path.
  17. alexm


    Hmm, when I'm using an absolute URL for the open graph image, when you share the link in WhatsApp it doesn't seem to render the preview for me. I'm not sure if this is because it doesn't add the width and height properties or what the issue is. Has anyone experienced a similar issue?
  18. alexm


    I've got a case where I need to set the opengraph URL to that of another on a particular page via api, but I don't believe this can be done? Any input would be greatly appreciated.
  19. Looking at the module code for InputfieldDatetimeSelect yearFrom and yearTo are set like so: 'yearFrom' => $year - 100, 'yearTo' => $year + 20, I wonder if there is an easy undocumented way to change this so it's dynamic from the datetime field settings page itself. Like you can with the jQuery UI datetime picker type?
  20. @virtualgadjo Yeah, route 1 is definitely the lines I was thinking down too! Only matching values from the posted result to values stored on the relevant results page that has the same or most matching values. Thank you for your time and for sharing your thoughts 🙂
  21. @virtualgadjo Thanks for replying! 🙂 Sorry, I might not have been very clear. This is exactly how I mean. So the user selects yes or no to each question, hits submit, then show the most relevant result/success page based on their selection. I'm wondering what is the best way people think is to go about this?
  22. I'm looking to set up a Form (using FormBuilder) with questions that are simple yes or no choices using radio select. Based on the combination of answers given, different results pages would need to be shown. I'm wondering what the best way to go about this might be. I was thinking perhaps on each results page you could have checkboxes of the questions that need to match yes or no, then use a selector to match the page(s) with the most matches. Any other ideas are welcomed and most appreciated 😊
  23. @teppo yes, that's the exact issue. Thank you for pointing me to that - I'm not alone, haha.
  • Create New...