Jump to content

BrendonKoz

Members
  • Posts

    430
  • Joined

  • Last visited

  • Days Won

    12

BrendonKoz last won the day on June 5

BrendonKoz had the most liked content!

1 Follower

About BrendonKoz

  • Birthday 12/12/1980

Profile Information

  • Gender
    Male
  • Location
    Saratoga Springs, NY, USA

Recent Profile Visitors

10,903 profile views

BrendonKoz's Achievements

Sr. Member

Sr. Member (5/6)

431

Reputation

  1. Are you hosting the htpasswd protected folder within the site/ folder, or beside it? PWSITE: - /site/ - /wire/ - /index.php - /.htaccess (PW root htacess) I have placed folders at root (the same level as site and wire), and haven't had any issues with similar situations, so long as the file name(s) are correctly typed and matching the case sensitivity. Any PW-specific subfolders would also be subject to whatever htaccess rules those subfolders possess, so it's easier to just have separate-need folders at root level.
  2. The Upgrades module doesn't explicitly include the PW core module of MarkupHTMLPurifier in its update check (as it's part of the core), so there must've been a community module, or a much older version that was manually installed into the site/modules folder. If you check the site/modules/MarkupHTMLPurifier folder for the *.module (and/or README) file, can you tell who owns the module? From the one in core, the MarkupHTMLPurifier.module `getModuleInfo()` method contains the following: public static function getModuleInfo() { return array( 'title' => 'HTML Purifier', 'summary' => 'Front-end to the HTML Purifier library.', 'version' => 497, 'singular' => false, 'autoload' => false, ); } ...and here is an example screenshot of the Modules panel in the admin for comparison:
  3. I think the error message is pretty straightforward in this case: "Array and string offset access syntax with curly braces is no longer supported" On line 3899 from your excerpt, a variable called "str" (which I assume holds a String value), is extracting an offset using curly braces, something that much older versions of PHP supported, but has been deprecated for awhile now. How old is the ProcessWire version that you are using? From checking Github and looking at my own sites, the MarkupHTMLPurifier module is currently at version 4.9.7, is included in the core so does not need to be installed separately, and hasn't been updated in over 4 years (the Markdown README was updated 2 years ago). If you upgraded the module separate from the rest of the core, it's entirely possible that there are incompatibilities due to not all core modules being updated simultaneously, thus the problem(s) you're experiencing with text in a textarea field.
  4. I certainly couldn't think of one, offhand, that wouldn't potentially cause similar confusion with blending of concerns. That was why I - not so clearly - suggested just doing away with the Dev Talk and Pub into a single home and calling it General. Although potentially boring, it's also somewhat convention. Curious to hear what others think. There might be a million dollar idea out there! ๐Ÿ™‚
  5. This may be my own interpretation of it, but both Pub and Dev are splits of a General Discussion, whereas Dev Talk is generic/general but leaning more towards business and professional areas of discussion, and Pub is the otherwise-named category where non-tech (more-often) conversations would go because, realistically, it needs to be named something else (other than General Discussion) to not be a catch-all for Dev Talk as well. I can see the reason for naming them differently and for separating them out, but I'd imagine they could both be enveloped into a single General Discussion instead. Inevitably people would post technically or professionally-minded conversations in both Dev Talk and Pub, and vice-versa. I'm not entirely sure there's a massive benefit to provide a distinction of categorization here, especially if there are people who explicitly don't converse in the community forums because of the categorization. To clarify: I'm not being critical of the naming, just analytical. As we all know: Naming things is hard!
  6. I will fully admit that I think I try to do much, I'm still learning how to estimate time for things (this faucet repair will be easy, it should only take 5 minutes ... on my own, running up and down the stairs because there's no shutoff valve, a part broke, a new tool is needed to install the replacement that isn't made the same, etc., 4 hours later....). I constantly measure in expectations, not in reality, and I'd imagine that forces me down. I definitely make time for exercise. Being fit is, for me - thankfully - something that has been a priority. I don't need to be able to win races or competitions, but I need to be fit enough to at least stay relevant if I were to want to jump into a team-based sport on a whim. I've adjusted my diet a bit to significantly reduce processed grains and dairy, of which both (in tandem) seem to exacerbate gut issues. I've been drinking more coffee lately which has primarily been social, I think I'll cut that back. Otherwise protein smoothies with fruit and leafy greens, and a kombucha in the morning with an egg, and then dinner is whatever's on the menu. So, what works for me? I'm a solo-developer in a public library and it's the only professional job I've ever had (21+ years). No one truly understands what I do, and I don't have the opportunity to learn from others in the industry (directly), so I'm always stressing. I absolutely compare myself to others, so @Peter Knight's point is right on target. I definitely want to be/feel more productive and am not sure how to go about doing that, but perhaps that's not the right mindset. I've only recently realized I have a tinge of ADHD, it's more evident when I try to juggle far too many tasks at once - but I didn't really think it was a thing because my brother is an obvious case, so, again, comparing... ๐Ÿ˜… I think I may need to try to set some actual goals, and boundaries to succeeding in those goals in order to maintain focus on them, such as, "I'm going to take a course on ______. I must spend ___ hours per week, with room for acceptable exceptions, to complete this goal." And make a list. Until it's written down, it's just a thought, and not a real goal (to me). To continue the conversation for anyone else that stumbles here: What has worked for you? What can you identify that isn't working for you?
  7. That's huge. Obviously not a full solution as manual testing is (even with AI, so far) still required, but a big burden can be mitigated right at the start. ๐Ÿ‘Œ Same for the SEO, but even moreso for the template file security scan. โค๏ธ Always happy for good documentation that PW is known for.
  8. With all of the advancements in AI, and other technologies not slowing down, it's getting even harder to feel like I'm staying relevant. Add to that the pressure to exercise and stay fit, work outside or around the home, and to be sure to retain some amount of leisure... How do you all do it? I see my gaming buddy logging hours of a video game. He works in defensive cybersecurity, so he makes quite a bit and is on-call. Thankfully for him, he works remote (I do not). But he has a family with tweeny triplets (!). He's just this past week mentioned ripping up carpet, last week he ran a trench to run electrical for a man-made pond he's installed with boulders that he moved by hand. Meanwhile I want to learn about n8n, take some AI courses (someone mentioned faster.dev here in the forums), work on personal (dev) projects, but also get things done around the house, and make sure to spend time with the girlfriend and make sure she's happy. I have not figured out a good time management scenario to balance these all out: House/property work. Friends and family time. Leisure time. Exerciise Paid work (job / income). Professional improvement and advancement. What are your tricks, or boundaries, to set time aside for each of these? Are you struggling like I am to properly afford time to each thing and not allow them to thoroughly overtake another's time commitment? Looking for revelations that some of you may have had during your careers or lifetimes to help you sort these things out! ๐Ÿ™ƒ
  9. I'm not sure exactly when, but one of the recent builds of the PW API documentation lost a reference page (that is linked from elsewhere in the documentation; which was linked from the Template's Family tab for "name format" as of v3.0.257): https://processwire.com/api/ref/pages-names/page-name-from-format/ If page URLs are adjusted based on updated documentation, might need to handle auto-redirects and check links in PW's admin as well. When there are such profound changes of pace, sometimes the pace outpaces itself. ๐Ÿ˜„ That said, nice to see some quick turnaround on things that, I'd imagine, you've wanted to tackle for some time but haven't had the desire to dig through it due to the ROI of time. That's certainly one absolutely huge benefit of AI. Looking forward to checking out the updated versions of the modules and seeing if there are any new fixes in the mix. ๐Ÿ™‚
  10. One benefit of using an AI while writing/debugging new and old code is that you could, at this point, ask it to create and maintain as-it-goes a separate unit test repo or folder that any modifications can test against, update, and compare the potential efficiency impact on all ongoing changes. This could then be applied to either agent-based code updates, or check-ins of user-created modifications. Since you already have the bot running against and alongside the repo, it might be worthwhile to see if that's something that could be built alongside to reduce cross-module errors. Maybe. ๐Ÿ™‚
  11. The content owner of this video that I randomly chose from the YouTube homepage had marked this particular video content as not-embeddable, so the JSON response from the oembed provider of YouTube responded with "Unauthorized" which the Essence library doesn't really handle (it just returns nothingness, which in this case is kind of appropriate). Once I tracked that down, I tried another YouTube video URL and it worked as expected. ๐Ÿคฆ
  12. Is anyone using this recently? I have had this installed as a "just in case" type of module, and when originally developing, it worked. In trying to audit my code for accessibility practices a little more thoroughly, this module is currently not working (and I unfortunately hadn't used it for any saved data embeds as of yet). I'm getting the error message of, "No oembed data or provider found," and no error logs seem to be generated in ProcessWire, and PHP deprecation notices for the essence library on the webserver logs (PHP 8.2). My test embed was a YouTube video as a simple check: https://www.youtube.com/watch?v=-cdrVNfngo0 Haven't yet tried to track down the issue, only just noticed and thought I'd ask other users first. ๐Ÿ™‚
  13. ProcessWire can sometimes "steal" the reported errors from the webserver log. Did you check in the logs folder under "site/assets/logs/*"? There are errors.txt and exceptions.txt, and http404.txt. Maybe even file-compile.txt? If htaccess is not correctly rendering, the error logging might never be reached, but it should be quick to check this. Did you check the various htaccess files for any settings related to subdomains? Your site/config.php file sets the subdomain as the httpHost?
  14. This is great. I wonder if @ryan would be up to this being a PR for the core's image processing handling? Or at least basing some of it on an update to offer more modern options. I'd love to see more community modules get adopted into the core, though I also do understand the potential for technical debt that could have (especially here, as you seem to be using an external library for help with the image processing). This is a really insightful and feature-rich addition. (Someone else also had a srcset handling module, but the addition of LQIP and such is just really awesome.) Question: I see the format of your breakpoints and aspect ratios fields doesn't use any commas, but the field mentions that it's a comma-separated list. Is it actually newline separated, or is that just a formatting thing where your list entries are a list of one (ex: each line could be a list)?
  15. That's a pretty neat way to distinguish without hovering over the app icon for the window preview (or using WIN+TAB). For what it's worth, if you didn't want to install an application to un-group your applications in the taskbar, I think the Windows Settings app allows you to customize that. If I'm wrong, then it still exists via registry, and is accessible via Group Policy. Start -> Run: "gpedit.msc" User Configuration > Administrative Templates > Start Menu and Taskbar > "Prevent grouping of taskbar items" ... set to "Enabled".
ร—
ร—
  • Create New...