Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2020-02-03 12:00:32

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,117
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.2 released

colak wrote #321488:

Just to say that there is no such issue on my server with 755 permissions on the plugins folder.

Yes but since we cannot guarantee that such permissions are set after uploading, nor whether the server requires different permissions to those in the upload bundle, we should see if it’s possible to be less invasive with the errors/warnings/notices.

We can get away with this in Files, Image and Themes because they’re not on the critical path: all content is optional and you are warned before you take any action. Plugins, however, are now mandatory to store on disk to avoid eval() issues so we need to find a way to more gracefully fail if conditions aren’t met on upgrade with an existing plugin base.


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-02-03 12:38:55

etc
Developer
Registered: 2010-11-11
Posts: 3,580
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.2 released

Bloke wrote #321489:

we need to find a way to more gracefully fail if conditions aren’t met on upgrade with an existing plugin base.

It should die without complaining now, but plugins will be unusable.

Offline

#33 2020-02-03 12:56:20

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,906
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.2 released

etc wrote #321491:

It should die without complaining now, but plugins will be unusable.

Does it still give the TXP error / warning messages on the Diagnostics & Plugins panel ? I would hope so, to make the problem discoverable.

Bloke wrote #321489:

Yes but since we cannot guarantee that such permissions are set after uploading, nor whether the server requires different permissions to those in the upload bundle, we should see if it’s possible to be less invasive with the errors/warnings/notices.

Most important to me is being as discrete as possible on the Font end. For the Admin side is, as long as the user can log in and discover some more about the issue, it probably is OK to show a bit of error messages everywhere (although the PHP error message itself was not particularly clear)

Offline

#34 2020-02-03 13:04:51

etc
Developer
Registered: 2010-11-11
Posts: 3,580
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.2 released

phiw13 wrote #321492:

Does it still give the TXP error / warning messages on the Diagnostics & Plugins panel ?

It should, but I have not tested, please do.

Most important to me is being as discrete as possible on the Font end.

At worst you will probably get the usual ‘unregistered tag’ warning in debug mode.

Offline

#35 2020-02-03 13:14:03

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,906
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.2 released

etc wrote #321493:

It should, but I have not tested, please do.

Will do as soon as possible.

At worst you will probably get the usual ‘unregistered tag’ warning in debug mode.

That is OK, esp if it is only in debug mode, as you don’t usually keep a live site in debug mode.

Offline

#36 2020-02-04 09:03:24

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,117
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta.2 released

Thanks for opening the issue, phiw13, and for your diligent testing. We’re getting closer to a resolution I think.


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