Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2024-05-11 05:52:15

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,644
Website

Re: pat_speeder

Yiannis & Patrick

The plugin installs and/or updates fine by simply dropping the pat_speeder.zip file on the “Upload plugin@ widget at the top of the page (tested with TXP 4.9, should work the same with 4.8).

Alternatively, you should be able to 1/ unzip, 2/ upload the folder via sFTP to the /textpattern/plugins folder and then either

  • the plugin was already installed: check it in the plugin list and from the multi-edit widget -> update from disk
  • the plugin is not yet installed, then use the widget at the top of the page (not tried in this case).

(Hmm, even uploading the .zip file via sFTP should work, from memory).


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

Offline

#92 2024-05-11 15:04:22

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

Re: pat_speeder

I only get the plugins I deleted from my db.


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

Offline

#93 2024-05-12 01:51:03

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,676
GitHub Twitter

Re: pat_speeder

I installed the plugin within the dev branch from the demo server without any problems…

I reloaded a new zip file from the 4.9 demo branch with the export feature. That’s the last try I can do (available from the /dist folder).

Last edited by Pat64 (2024-05-12 02:20:17)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#94 2024-05-12 08:21:46

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,202
Website GitHub

Re: pat_speeder

I tried all methods – zip file, folder in /plugins folder – on a txp 4.8.8 installation, and installation worked fine for me (love the rocket ;-). However, if you want a .txt installer, here’s one made with ais_txpplugin_packager (GitHub here).

Maybe add a release on GitHub and include the zip and txt installers so that people find it immediately:

# pat_speeder v2.1
# Speed up your TXP websites!
# Patrick LEFEVRE
# https://github.com/cara-tm/pat_speeder

# ----------------------------------------------------------------------------
# This is a plugin for Textpattern built using ais_txpplugin_packager.php
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# ----------------------------------------------------------------------------

H4sIAAAAAAAAE+1bW3MbR3Z+pqr0H1qwbAA0CPAiSjIkktBKtCxblhmRu8muKKMaMw2gzcHM7PQMb6
aq9DOSVFJJHp3XvKW2aqtW/8S/ID8h3zndcwEIXmTHTyFLJRIz3eecPtevTzdkd2Wt+6PpPujWDlVi
dBTWHpnuWre22l6hv+51a+lJrGqPdHcFH9e7tSjxVUKf1/H5frcms3QcJTR2BW93ZJpo70C83P5y+w
+vt/nxcj6onyWayT/s1sZpGptupzPS6TgbtL1o0vFkIpfSSSeWad/ESjEfzF/p1nxlvETHqZNvFeLu
0giRxeIkyhKx9w874kgNjE6VuVOzkg4DOTIk6ZpdSCgnKic4wwNvvcjnt/dXH+D9rc7i4u1bYlH0aJ
Yofirz7OuKZAtCPNMmDuQJho2UMBDMUyIK8U+JQOO/aCiIj52KJwcl5espxM606sxnzui8OqSvJlIH
QjyO7Zg3fpS+DdRQHSbqjUzfjug1PwS/TTuT7N0txHriT3QoPhc72SDQnh0RJ2poiiH8yb5g3yherN
uHzq/cY/hVvnpPhSbn9Hzn5eEqvejcvnW7UP7eWBsRB9kIIqRyJBI10iZNTuilG6yHouEF0pi+OsY7
06jv76njFOtNVRLu78nR/ms3q95sih9v31rYO4673ZFKLx2KcQtLm5ahShr1ig3qzUe3b727SM6YFS
XGMvQDa6+KpOlxrEPQG0o4xsaGqNvRdStYzq3vySAYSO/Aso2TyFPGNO4OsuFQJS1xd3SqY/wiV+Jf
k1h6abPeAr1EpVgTi7hAHLHOPlloagX8pO+rQTYCa8ixYgW4SALikEAEmLGvQp8YpaXm+BEzfHeJXi
Q7kjpUYWqu0gqPJRtAKPKOTke8CE0KmUQHTjCJDlXhdvi5QOp8sYEeKu/ECxQriKUpn7VnDVtw3CEG
iORQ2UfS96E3fWgaNeZdnV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I6c0FL7Ut3L0PSgT9RB7d9Mdv+uM3/fGb/vhNf/ymP37TH7/pj9/0x2/64zf98Z
v++E1//KY/ftMfv+mP3/THb/rjN/3xm/74TX/8pj/+/6Q//u5/AXrCOt7pUgAA

TXP Builders – finely-crafted code, design and txp

Offline

#95 2024-05-12 08:27:02

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,202
Website GitHub

Re: pat_speeder

BTW: Does the new this version add or change/improve any functionality?
I can see you’ve refactored some of the code, but couldn’t work out if I need to be aware of anything in my own code when upgrading.


TXP Builders – finely-crafted code, design and txp

Offline

#96 2024-05-12 15:03:44

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,676
GitHub Twitter

Re: pat_speeder

Done. Thank you, Julian.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#97 2024-05-12 15:09:39

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

Re: pat_speeder

Julian,
Thanks so much for the txt file, but the plugin is still not working for me. Using PHP version: 8.2.15.


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

Offline

#98 2024-05-12 15:35:32

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,202
Website GitHub

Re: pat_speeder

Hmm. Do you mean the plugin in general, or its installation? Do you see any kind of error? If not from Textpattern, then in the console pane of the browser dev tools (Command+Alt+I for most Mac browsers)?

I just created a new fresh local installation of the current state of txp 4.9 and php 8.2.19 and tried installing from the txt file Patrick has put online. Everything worked successfully, so I’m a little stumped.

It’s quite possible our txp4.9 versions have differences as 4.9 has been ‘around’ for a long while. Another idea: are the read/write permissions for /textpattern/plugin folder sufficiently permissive? If not, maybe try making it 777 and then scale back gradually. Perhaps txp is stumbling over not being able to write to the plugin directory?


TXP Builders – finely-crafted code, design and txp

Offline

#99 2024-05-12 16:14:35

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

Re: pat_speeder

The plugin installed successfully but it does not minimise the html.

I just put the site on the Debug mode and this is what it returned.

General error Textpattern Warning: Unknown callback function: pat_process($buffer, $gzip, $code, $compact) on line 1682

textpattern/lib/txplib_misc.php:1682 trigger_error()
textpattern/publish.php:240 callback_event()
index.php:76 include()

Edited to add that I’m using the latest txp dev version.

Last edited by colak (2024-05-12 16:34:48)


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

Offline

#100 2024-05-12 19:01:38

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,202
Website GitHub

Re: pat_speeder

Ah right, so not an installation problem. I see what you mean now. However, it does seem to compress the output despite the error, and also when I comment out the line that it refers to completely. In Firefox/Brave you can see it by showing source. In Safari devtools the source is prettified by default so you only see the concatenation when you click on the curly-bracket symbol (on mine it shows a tooltip “Original formatting”).

Maybe it’s the way the pat_process is referenced in the callback with the four attributes. Referencing the function without the attributes says there are too few provided. Perhaps the function could specify relevant defaults for the attributes and then it could be referenced just by function name in the callback? But Patrick’s more qualified to answer here…


TXP Builders – finely-crafted code, design and txp

Offline

#101 2024-05-12 19:01:49

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,676
GitHub Twitter

Re: pat_speeder

Ok.
Ok. The part of code in cause is this:

if (txpinterface == 'public') {
	register_callback('pat_process($buffer, $gzip, $code, $compact)', 'pretext');
	if (get_pref('pat_speeder_pref_debug') == 1) {
		register_callback('pat_compression_end', 'textpattern_end');
	}
}

Remove these lines. I’ll publish a new version (corrected) tomorow.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#102 2024-05-13 02:07:25

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

Re: pat_speeder

Pat64 wrote #337174:

Ok.
Ok. The part of code in cause is this:

if (txpinterface == 'public') {...

Remove these lines. I’ll publish a new version (corrected) tomorow.

The error disappeared after I removed those lines but the code is still not minimised.


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

Offline

#103 2024-05-13 02:11:58

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,676
GitHub Twitter

Re: pat_speeder

Did you add a <txp:pat_speeder /> tag into the first line of your pages?
You have a list of options into the preferences panel: check “Activate pat_speeder ?”

I tested the plugin yesterday with the official demo 4.9-dev website: all works perfectly (without any errors, now).

Last edited by Pat64 (2024-05-13 02:12:24)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#104 2024-05-13 03:13:58

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

Re: pat_speeder

Pat64 wrote #337176:

Did you add a <txp:pat_speeder /> tag into the first line of your pages?
You have a list of options into the preferences panel: check “Activate pat_speeder ?”

Yes! github.com/colak/neme/blob/master/pages/default.tpl#L2.

I tested the plugin yesterday with the official demo 4.9-dev website: all works perfectly (without any errors, now).

It’s very strange as I’ve been using the plugin since the beginning and this is the first time that it does not function.


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

Offline

#105 2024-05-13 03:15:40

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,676
GitHub Twitter

Re: pat_speeder

Sure!

I’m using this new version within 4 websites without any problems. Can’t understand…


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

Board footer

Powered by FluxBB