Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2020-12-18 11:31:18

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Re: PHP 8, MAMP, alternatives for local development

Bloke wrote #327607:

[…] many hours using a toothbrush and water […]

For all that is holy, I hope you mean isopropyl alcohol…

I’m on my second (soon third, I expect) keyboard.

This reminds me of the time I changed a MacBook Pro keyboard on a client laptop. So many tiny screws, grain of rice for scale:

Offline

#26 2020-12-18 11:31:36

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: PHP 8, MAMP, alternatives for local development

Sorry guys, 2019 iMac 5K with 40GB RAM here. But I need that sort of power just to run Adobe Illustrator satisfactorily.

Offline

#27 2020-12-18 11:43:22

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: PHP 8, MAMP, alternatives for local development

gaekwad wrote #327610:

For all that is holy, I hope you mean isopropyl alcohol…

Yeah, IPA for the mobo, soapy water for the individual keys I popped off and scrubbed clean. G&T is sticky.

So many tiny screws

Ain’t that the truth! And not just one type. No, two or three different screwdriver bits required. Triangle head, star head, cross head, …

Changing/cleaning the keyboard is my least favourite maintenance job. Especially since any such intricate work is a massive cat attractant and then my carefully-laid-out array of screws so I know where they all came from is for nothing. Note to self: invest in a magnetic work board so the screws stay put in the orientation I set them out.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#28 2020-12-18 11:47:46

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Re: PHP 8, MAMP, alternatives for local development

Bloke wrote #327613:

Note to self: invest in a magnetic work board so the screws stay put in the orientation I set them out.

Invest in and curate a magnetic board, otherwise you get this (mine, just now):

Ahem. I mean, I know what they all do…it’s just…yeah, it’s chaos.

Offline

#29 2020-12-18 12:25:39

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,578
Website

Re: PHP 8, MAMP, alternatives for local development

Not seen one of those magnetic boards before. I used the lid of the small ifixit toolkit. I forgot that I also replaced the keyboard and the battery in the MBP and also had to deal with the 100 tiny screws. Taking out the existing keyboard meant disassembling the innards, peeling off the backlit foil and then literally ripping the faulty keyboard free of the aluminium body. Unfortunately a lot of the aluminium pegs didn’t pop out with it, so need removing individually with a flathead screwdriver placed on one side and a tap with a hammer. Felt very archaic taking a hammer to a piece of electronics … but it worked :-)


TXP Builders – finely-crafted code, design and txp

Offline

#30 2020-12-18 12:27:44

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Re: PHP 8, MAMP, alternatives for local development

I’ve had that board for years, it’s showing its age now. There are many generic ones out there, back when I purchased it they were quite new and priced accordingly.

Offline

#31 2020-12-18 12:43:22

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: PHP 8, MAMP, alternatives for local development

Just gone down an Internet rabbit hole and found project boards like this. Handy as I’m always mucking around trying to find bits of card to solder onto to avoid ruining the kitchen table. But you can’t draw on these mats to label stuff like you can with a magnetic white project board.

The search continues…


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#32 2020-12-18 13:00:00

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: PHP 8, MAMP, alternatives for local development

I still have a macbook pro titanium from 2006 which still works, be it without the battery which I took off years ago. I keep it to open old documents the formats of which are no longer compatible with my current setup.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#33 2020-12-18 15:31:26

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,578
Website

Re: PHP 8, MAMP, alternatives for local development

To get back to your original request:

Bloke wrote #327567:

So please, if you would set up a Txp installation from scratch using 4.8.5-dev to stress test:

  • No database connection at all
  • Incorrect DB login and/or password
  • Incorrect table name
  • Correct table name but tables already exist
  • Correct/incorrect table name with prefix that does/doesn’t already exist

You shouldn’t see any yucky PHP error messages during setup, just nicely formatted (red) error messages from Txp itself, with the real PHP-generated errors squirrelled away in your logs.

I went through all your tests with the current dev branch cba9688a… / 18.12.2020 and all is good.

Textpattern version: 4.9.0-dev (ce39106fc5e6f468204abd84effee286)
Last update: 2020-12-18 15:08:10/2020-12-16 09:43:11
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: section_title
Production status: testing
Temporary directory path: __TXP-ROOT/textpattern/tmp
PHP version: 8.0.0
GD Graphics Library: 2.3.0; Supported formats: GIF, JPEG, PNG, WebP.
Server timezone: UTC
Server local time: 2020-12-18 15:08:15
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 0
Time zone (GMT offset in seconds):  (+0)
MySQL: 8.0.22 (Homebrew) 
Database server time: 2020-12-18 16:08:15
Database server time offset: 0 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: de_DE
Site / Admin language: en / en
Web server: nginx/1.19.5
PHP server API: fpm-fcgi
RFC 2616 headers: 0
Server OS: Darwin 19.6.0
Admin-side theme: hive 4.9.0-dev

Already installed

No connection / Incorrect details

Incorrect DB name

Tables already exist / DB with existing prefix

Same DB, new prefix

Modified config.php (changed db name)

PS: The new 4.9.0 admin tweaks are looking good, Phil!


TXP Builders – finely-crafted code, design and txp

Offline

#34 2020-12-18 16:00:41

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

Re: PHP 8, MAMP, alternatives for local development

Yay! Thank you for testing those, Sir. Glad I’ve not bungled it. It’s fun debugging something when you can’t see the error so have no clue besides intuition whether it’s been fixed or not :)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#35 2020-12-18 21:12:45

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,072
Website Mastodon

Re: PHP 8, MAMP, alternatives for local development

gaekwad wrote #327601:

Aside: I love how many folks around here have vintage Macs that just keep on going. Brilliant.

Old Folks With Vintage Macs
Good name for a Grateful Dead song

Mine: MacBook Pro (13-inch, Early 2011)


…. texted postive

Offline

#36 2022-01-30 07:58:18

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,072
Website Mastodon

Re: PHP 8, MAMP, alternatives for local development

philwareham wrote #327544:

Edit by gaekwad: split from forum.textpattern.com/viewtopic.php?id=51102

FYI the latest release of MAMP now has PHP 8 bundled with it. I’ve updated my local stack.

anyone have a good recommendation for an alternative to MAMP. Too many updates and upgrade costs have soured me on them.


…. texted postive

Offline

Board footer

Powered by FluxBB