Jump to content

wbmnfktr

Members
  • Posts

    2,256
  • Joined

  • Last visited

  • Days Won

    59

Posts posted by wbmnfktr

  1. 21 hours ago, JerryDi said:

    yes, I've changed the setting for the new database and also the tableSalt settings

     

    The tableSalt belongs to each installation, so this is probably the reason you can't login.

    The absolute easiest way, in my opinion, is to just move all files from A to B (including all those hidden files, like .htaccess), import the database manually via either command line or PHPMyAdmin or whatever exists on the server, then fixing the connection details for the database in /site/config.php.

    It might be easier and faster to move ZIP files - you have to decide this for yourself.

    Step by Step

    1. Download all files from Server A (including .htaccess and other hidden files)
    2. Export the database with Database Backups
    3. Upload all files to Server B (including .htaccess and other hidden files)
    4. Import the database
    5. Edit /site/config.php and change database connection settings
    6. Check and update folder and file permissions - see guide here
  2. Try this:

    • check the returned value of your datefield
    • check the strtotime value returned
    • don't do anything with your datefield value and just try that
    • convert it manually to a timestamp and try that - just to check
    • try if any of these work:
      $today = strtotime("today");
      $todayDate = date('d.m.Y', $today);
      $todayDateTime = date('d.m.Y H:i:s', $today);
       
    • last but not least: check the page data if there is anything in them, make a page dump to Tracy or var_dump()

     

    That's how I narrow down issue like this.

    • Like 1
  3. 18 minutes ago, bernhard said:

    Also I thought I made it clear that this is nothing anyone has to use, but I think that got lost during editing.

    You said that loud and clear, yet my point here is this:

    Installing a site profile is a very basic task. Well, it's actually just installing ProcessWire with one additional step.
    But you made it look very complicated. I'm fine with it, even though I had to watch it a few times to know what happening, because I know the "real" steps.

    A RockShell or DDEV video with that first 2.5 minutes as a demo - perfect!

    Another thing I noticed but didn't mention the last time was the sound. In some parts your voice shifts as if you have sped the video up. Not sure if this was intended or not.

    • Like 1
  4. On 8/3/2012 at 6:37 PM, ryan said:

    As of today, ProcessWire no longer creates directories for all pages, so this module is mostly useful to existing sites rather than future sites.

    So... I just used this module in ProcessWire 3.0.241 and it works just perfect. Yet the above statement seems to be not correct anymore. Opened up some pages and I find a truck load of new empty directories in /site/assets/files/ again.

    Is it because the image field of those pages has a fallback image defined or did the default behaviour in ProcessWire change in those regards in the last 12 years?

    Wouldn't consider this as a bug. Just curious.

    • Like 3
  5. Using those aliases for DDEV, Git, RockShell makes the first 2.5 minutes kind of... blurry or a blackbox or something.

    Even though I know how to install ProcessWire with a custom site profile I had to watch it a few times to understand whats happening.
    While I use DDEV, I use way different aliases, i don't use RockShell, and so on.

    It felt a bit like installing Laravel or CraftCMS to me - so many different moving bits and I don't know or can't really follow as I don't have or use the tools and can't see what really happens.

    As mentioned elsewhere: I love the fact ProcessWire has still ZIP files and don't relies on composer to install something.

    It would have been nice to see a slide with the full DDEV command, a screen with the Github page and URL to see where I can get the profile as ZIP.
    After that I would have preferred to see a full clean install with unzipping a site profile, dragging it into the docroot, and go from there.

    If I were new to ProcessWire this would have freaked me out in terms of: that's a lot of hoops I have to jump through.

    • Like 3
    • Thanks 1
  6. I have an account, I get the newsletter once in a while, yet there is something that makes it unusable for me. Maybe it's just that I can't consume any more sources of news, articles, tutorials, and all that.

    I focus more on posts and threads here, news from specific tools and services on X, some YouTube.
    That's it.

    • Like 1
  7. So... while right in setting up a totally new project and adding basic fields and templates from scratch this error really caught my attention:

    pw-template-404.png.d920269edfa773f6810de4bccd22e2ef.png
    Template name “404” not added because it contains only digits.

    As long as I can remember and in all projects I looked into, my 404 pages always get the 404.php template.

    Is this new? Since when?
    Do I have to change my existing projects?
    This is a bit weird as most projects run either the latest stable or latest DEV version and none of them complained so far.

    I'm not complaining.
    error-404.php is fine for me or any other name, yet that was an interesting find somehow.

  8. Some of you may know that I took over the ProcessWire Recipes project quite some time ago.
    Including the .com domain a few weeks back and the new .recipes domain right after my start.

    To make it clear: processwire.recipes right now uses AstroJS on Cloudflare so that there is no real need for a hosting, and it could run there forever.

     

    But here is the interesting part and question:

    Would you expect, maybe even demand, that those and similar projects were built with ProcessWire itself?

    I'd really like to and want to hear all your thoughts and opinions about this idea and topic.
    All pro and contra-arguments. Everything.
    Maybe even roast me for not using PW on that project.

     

     

    • Like 2
  9. 2 hours ago, Jonathan Lahijani said:

    Then if I asked a question that was answered in the past many times over, I would probably feel like an idiot.

    The Astro Discord from astro.build - is from another world. I have to say that!
    Still Discord but the people there, in the right channels, are as helpful and supportive as we a here in our forum.
    I love them. They helped me a lot. The whole community around Astro is super similar to our world here.
    Sure... you can't find anything from the outside, or even inside - as the Discord search is [redacted] - but yeah.

    Super awesome community, super awesome people there.
    You might want to ignore those that shout the loudest, but that's another story.

    Love them (almost) equally as the people, the community, and everything else here.

    • Like 1
  10. On 9/5/2024 at 12:07 PM, szabesz said:

    Isn't there one already? 😉

    On 9/5/2024 at 1:52 PM, Ivan Gretsky said:

    I ain't movin' outa here anytime soon!

    The community, the people... that's here and it will never move.
    I'm sure about that.

    BUT... having nice short updates on the go either on X or whereever is always nice.

  11. 19 minutes ago, ryan said:

    Looks interesting! I just created an account https://pinkary.com/@processwire.

    Just clicked FOLLOW.

     

     

     

    15 minutes ago, ryan said:

    I'm not sure what happened to Twitter but seems like it's gone downhill.

    I'm on there for over 15 years, and while it needs more work done itself, it just got way better. At least for me.

    16 minutes ago, ryan said:

    I've only kept the ProcessWire account on Twitter to post links to new blog posts, but not sure I'll keep doing that.

    I would do that. I'll take care of this.

    17 minutes ago, ryan said:

    This forum is my favorite social network.

    It absolutely is. Best community ever.
    AND it's a forum/board and not Discord or whatever.

    • Like 4
  12. On 8/28/2024 at 2:00 PM, bernhard said:

    the better you are with a language the less often you'll need help from the AI

    That's true.

    What I love that it can do the tasks I don't want to do.
    Split a large file into smaller parts, create some boilerplates, add fake data and content.
    Scaffold out the basics so you just have to fill in the blanks.

    Even little things you probably have in your snippets like:

    1. give me a foreach loop that iterates over $recipes and updates x, y, and z.
    2. generate 1,000 demo pages, add unique titles, some content, dates starting from 1997 to 2027.

    5 seconds. Done.

×
×
  • Create New...