Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Feedback for: Textpattern CMS 4.8.2 released
zero wrote #325063:
Yes, never had a problem, been using Litespeed for 3 years at least. When I make changes to .htaccess I get immediate response, so it is being used
Ah, cool – all good. Thanks for clarifying.
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
zero very kindly gave me access to his `phpinfo()`. I’ve skimmed it and it seems that the same $_SERVER['SERVER_SOFTWARE'] that we query for Apache support has the word “LiteSpeed” in its place.
As far as I can make out, PHP doesn’t have any server specific extension for it, but a rudimentary check at the Diagnostics level would allow us to display the .htaccess info. All it should need is a simple tweak to include/txp_diag.php (line 188 at the time of writing) as follows:
$is_apache = stristr(serverSet('SERVER_SOFTWARE'), 'Apache') || stristr(serverSet('SERVER_SOFTWARE'), 'LiteSpeed') || is_callable('apache_get_version');
That would then display it if Apache or Litespeed was in use.
If we did this in core, from a practical viewpoint I’d probably change the variable name slightly to make it more indicative of its nature (e.g. $uses_htaccess instead of $is_apache), but that won’t stop zero testing it out now by making the change above and seeing what happens.
If we do add that line to core, is it admission of officially supporting LiteSpeed? I guess it is. If you’ve been running it for years with no issue, then I don’t see the harm in admitting it works. At the moment we just say Txp is reported to work with it. Are we in a position to change that stance? Is it dangerous with so few of us having access to such an environment for stress testing?
Last edited by Bloke (2020-08-01 16:59:04)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
Some Textpattern files have been modified:
and .htaccess now shows in Diagnostics :-)
I would think there are other forum members using Litespeed because it is very prevalent nowadays and it claims to be lots faster than Apache. Perhaps someone will come forward for more testing or verification?
EDIT: I could create a new database and give you access if you’d like to stress test it.
Last edited by zero (2020-08-01 17:29:51)
Dozy P My attempt at music
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
Very kind offer, thank you. We could certainly use that, which allows us to test it now (although you’ve been using it for ages, so that’s good enough proof for me).
I was more thinking of how we continue to prove it works longer term when we add new features and tinker, to check we’ve not broken anything. Not sure about that bit.
Last edited by Bloke (2020-08-01 18:38:36)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
Bloke wrote #325065:
If we do add that line to core, is it admission of officially supporting LiteSpeed?
Nope.
If you’ve been running it for years with no issue, then I don’t see the harm in admitting it works. At the moment we just say Txp is reported to work with it.
Supporting it and saying it works are two very different things. I would respectfully counter with putting a section into docs.textpattern.com/setup/configuring-a-web-server with LiteSpeed-specific stuff (if there even is any – zero, can you remember what you did way back three years+ ago?), that plus a tweak to the sys reqs page with a link to said doc would be a good start.
Is it dangerous with so few of us having access to such an environment for stress testing?
Not dangerous, but we will need to tool up just in case. We’re also not overburdened with IIS / Lighttpd testing platforms or support requests either, so stating Textpattern is reported to work well doesn’t necessarily follow that it will attract users.
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
gaekwad wrote #325069:
a section into docs.textpattern.com/setup/configuring-a-web-server with LiteSpeed-specific stuff
Works for me. That line in txp_diag.php can be altered whenever.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
I didn’t need to do any tweaks, basically I’ve had apache and litespeed for different sites and they behave the same. I had a security issue with my new Litespeed host but it was quickly sorted. I’ve also noticed that I no longer get the error message with the default TXP .htaccess, so Michael must have altered something. Excellent support.
Dozy P My attempt at music
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
I have three textpattern sites that have used litespeed for the last three years as well. No problems but I did wonder where the .htaccess went.
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
jrmartin wrote #325072:
I have three textpattern sites that have used litespeed for the last three years as well. No problems but I did wonder where the .htaccess went.
do you have backups of yr site? if so see if putting back the .htaccess file makes any difference
…. texted postive
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
bici wrote #325073:
do you have backups of yr site? if so see if putting back the .htaccess file makes any difference
I think the implication is only its output is missing from the Diagnostics panel – check a few posts up where we’re discussing it being omitted on LItespeed.
Last edited by Bloke (2020-08-03 07:26:28)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
colak wrote #324978:
nice! Thanks to all! Installed with no issues
I just discovered an issue with the act_if_moble plugin which no longer works, returning 1 after each instance. Replacing that with adi_moble solved it. no, same results
As such for the plugins site, we can add that act_if_moble only works for txp versions ≤4.8.1 .
Last edited by colak (2020-08-07 05:45:37)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
colak wrote #325212:
I just discovered an issue with the
act_if_mobleplugin which no longer works, returning1after each instance.
We’re working on a fix for this, we’ll be releasing it as part of Textpattern 4.8.3 soon.
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
Installed fine. Works great. One thing that bugs me: can the default options for the excerpt format be changed somehow? I’d like to change it to “Leave text untouched” and have it stay that way.
james
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
Thanks to the developers for the language switcher on the login panel: useful for some of my clients and their multi-language writers!
(only visible if different languages are installed)
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Re: Feedback for: Textpattern CMS 4.8.2 released
jrmartin wrote #325335:
can the default options for the excerpt format be changed somehow? I’d like to change it to “Leave text untouched” and have it stay that way.
There is Use Textile pref in Publish section, but the excerpt shares it with the body. Users with low privileges can not change it.
Offline