Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2017-12-28 02:03:00

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: Hello Themes!

I just did a fresh install of the dev and chose empty during the installation.

1. Go to themes and it is automatically named default with the version and author boxes filled in with the values you would get normally. I went ahead and changed the contents of the default page and added a second.

2. I went back to themes and changed the name. I got a couple of mysql errors in a popup. Everything was wiped out including error_default. When I tried to save the new archives page again it wouldn’t save. Then I tried saving a default page and I got the standard list of pages again. I was then able to save the archives page and everything was back to normal except I still need to recreate error_default.

Offline

#26 2017-12-28 08:08:15

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

Re: Hello Themes!

michaelkpate wrote #308455:

chose empty during the installation… changed the name. I got a couple of mysql errors in a popup. Everything was wiped out including error_default.

That doesn’t sound good. I haven’t tested the empty theme yet but there might be something awry there. I’ll give it a grilling later. Thanks for testing.


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

#27 2017-12-28 09:16:55

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,189
Website

Re: Hello Themes!

Another small issue:

Go to the Section panel, and try to sort the table by skin. The page reloads, put reverts back to the previous setting.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#28 2017-12-28 15:35:54

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

Re: Hello Themes!

phiw13 wrote #308458:

Go to the Section panel, and try to sort the table by skin. The page… reverts back to the previous setting.

Fixed, thanks.


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

#29 2017-12-28 21:44:52

jpdupont
Member
Registered: 2004-10-01
Posts: 752

Re: Hello Themes!

last v4.7 dev.

Import of files in default skin

Then :

I try to duplicate the default skin:

3 errors like this

User_Error "Table 'remorquecalifornie.txp_page' doesn't exist".

a final message :

skin_updated: alysse-v1-2018
pages_update_failed: (0) default_copy
forms_update_failed: (0) default_copy
styles_update_failed: (0) default_copy

(Before, I try to create a new style then import files : must change the dir/files right to 777)

Offline

#30 2017-12-29 00:47:50

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,189
Website

Re: Hello Themes!

Bloke wrote #308462:

Fixed, thanks.

Yup, now works fine. TY.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#31 2017-12-29 15:07:40

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

Re: Hello Themes!

One other quick point while I’m making some fixes: Themes support currently requires PHP 5.4+. Does anyone think this is going to be a problem to increase the minimum spec for Txp? We can work around it to maintain PHP 5.3 support if the consensus is that it’s too soon to drop support entirely.

Last edited by Bloke (2017-12-29 15:08:40)


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 2017-12-29 16:22:03

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: Hello Themes!

Bloke wrote #308474:

One other quick point while I’m making some fixes: Themes support currently requires PHP 5.4+. Does anyone think this is going to be a problem to increase the minimum spec for Txp? We can work around it to maintain PHP 5.3 support if the consensus is that it’s too soon to drop support entirely.

5.3 was officially EOLed on August 14, 2014.

In my own personal space, Dreamhost only offers 5.6, 7.0 and 7.1 (7.0 is the recommended choice.)

I don’t see any reason to support 5.3 if it has become an issue.

Later Addition:

PHP Versions Stats – 2017.2 Edition has PHP Version 5.3 at 0.76%.

Even Later Addition:

Because PHP 7 has proven to provide superior performance, I’m pleased to report that all of the hosting companies we looked at are now providing at least PHP 7.0 support. And, PHP 7.2 is even now available! – What Version of PHP Does your Web Hosting Company Support?

Offline

#33 2017-12-29 17:15:07

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

Re: Hello Themes!

michaelkpate wrote #308475:

5.3 was officially EOLed on August 14, 2014.

…and 5.4 has been EOL’d, 5.5 has been EOL’d, 5.6 has security updates until the end of 2018 then it’ll (likely) be EOL’d.

Time marches on.

Offline

#34 2017-12-29 18:32:47

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

Re: Hello Themes!

gaekwad wrote #308477:

Time marches on.

Indeed. The usage stats don’t add up (source 1 vs source 2, for example) which’ll be down to the vagaries of statistical modelling and how those values were determined on the day. But the message is clear that 5.3 is on its way out so I’ve got no problem pushing our requirements a little higher.


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 2017-12-29 19:13:00

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

Re: Hello Themes!

Automattic have a great approach to their WordPress requirements: wordpress.org/about/requirements/

  • recommend PHP 7.2 and recent MySQL (or MariaDB)
  • accept earlier PHP 5.something and MySQL something
  • note there are issues with running older software

I really like this approach. Gunning for the modern stuff (PHP 7.x etc) as a priority subtly changes the branding. A Textpattern branding/comms tweak wouldn’t cost anything code-wise, and just needs some wording changes. Switch the order on textpattern.com/about/119/system-requirements to have the recommended specs first, and bring the library versions up-to-date. The minimum spec is still valid, of course.

My 2c: Textpattern is a clean, flexible, fast CMS that flies along when set up on modern web hosting (PHP 7, recent MySQL derivative, SSD storage, opcache where needed). I say this having worked with a client recently where everything they wrote/used in-house software-wise was PHP 5.3 because that’s all their dev knew to write. They’re hunting down old, crummy hosting that has PHP 5.3.something because that’s less of a hit cost-wise to refactor their code to current standards.

Offline

#36 2017-12-29 20:59:47

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

Re: Hello Themes!

gaekwad wrote #308479:

Gunning for the modern stuff (PHP 7.x etc) as a priority subtly changes the branding. A Textpattern branding/comms tweak wouldn’t cost anything code-wise, and just needs some wording changes.

I like this. Let’s do it.


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

Board footer

Powered by FluxBB