Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2023-12-15 12:26:30

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

badly formed or empty plugin code

if i get this error – “badly formed or empty plugin code” – where the problem probably could be?

fresh install
Textpattern version: 4.8.8 (a5969b336c096d872a7ecab9ee25914b)
PHP version: 5.6.40-pl13-zoneos

yes i know, php is very old, but i managed previosly to install plugins into same server sucessfully

Offline

#2 2023-12-15 21:24:22

etc
Developer
Registered: 2010-11-11
Posts: 5,188
Website GitHub

Re: badly formed or empty plugin code

IIRC, there is a bug in 4.8.8 blocking .zip plugins installation. You’ll have, I’m afraid, either find a .txt copy or upload the uncompressed plugin folder to textpattern/pugins/ directory and install from disk. Sorry for that.

Offline

#3 2023-12-17 06:33:44

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: badly formed or empty plugin code

etc wrote #336161:

IIRC, there is a bug in 4.8.8 blocking .zip plugins installation. You’ll have, I’m afraid, either find a .txt copy or upload the uncompressed plugin folder to textpattern/pugins/ directory and install from disk. Sorry for that.

Actually I did install it from.txt file

Offline

#4 2023-12-17 11:39:17

etc
Developer
Registered: 2010-11-11
Posts: 5,188
Website GitHub

Re: badly formed or empty plugin code

Gallex wrote #336170:

Actually I did install it from.txt file

Weird. What was the plugin, out of curiosity? Wasn’t upload corrupt in some way?

Offline

#5 2023-12-19 08:18:26

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: badly formed or empty plugin code

etc wrote #336174:

Weird. What was the plugin, out of curiosity? Wasn’t upload corrupt in some way?

downgraded textpattern to 4.8.7 and problem solved. thank you for your consideration, oleg!

Offline

#6 2023-12-19 20:02:02

amordecosmos
Plugin Author
From: London (Hometown: Vancouver)
Registered: 2004-08-03
Posts: 114
Website

Re: badly formed or empty plugin code

This answer would probably have fixed it for you on 4.8.8. I know that it did for me.

https://forum.textpattern.com/viewtopic.php?pid=334208#p334208

Offline

#7 2023-12-22 10:15:49

Gallex
Member
Registered: 2006-10-08
Posts: 1,308

Re: badly formed or empty plugin code

amordecosmos wrote #336193:

This answer would probably have fixed it for you on 4.8.8. I know that it did for me.

https://forum.textpattern.com/viewtopic.php?pid=334208#p334208

:)

Offline

Board footer

Powered by FluxBB