Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2023-02-22 23:42:12

lazlo
Member
Registered: 2004-02-24
Posts: 110

Plugin error on new install of 4.8.8 Badly formed or empty plugin code

I get this error when trying to install any plugin on a brand new 4.8.8 install.

Badly formed or empty plugin code.

ied_plugin_composer_v1.2.1
etc_query

I searched the forum and tried these compiled plugins that Jakob built
https://forum.textpattern.com/viewtopic.php?pid=332440#p332440

Still the same error: Badly formed or empty plugin code.

I have tried direct install and the compressed version if they are available.
Plugin folder is 755 and I if I zip the .txt file it will unpack and place a file in the Plugin directory.

No luck, all attempts bring back: Badly formed or empty plugin code.

All these plugins load fine on our demo 4.8.8 site, so wondering what is wrong with my 4.8.8 install.

- Les

Textpattern version: 4.8.8 (a5969b336c096d872a7ecab9ee25914b)
Last update: 2022-01-24 13:32:38
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: section_title
Production status: testing
Temporary directory path: __TXP-ROOT/textpattern/tmp
PHP version: 5.5.38
GD Graphics Library: bundled (2.1.0 compatible); Supported formats: GIF, JPEG, PNG.
Intl extension: 1.1.0
Multibyte String extension:
Server time zone: UTC
Server local time: 2023-02-22 23:38:21
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 0
Time zone (GMT offset in seconds): UTC (+0)
MySQL: 5.5.5-10.3.37-MariaDB-log-cll-lve (MariaDB Server)
Database server time: 2023-02-22 18:38:21
Database server time offset: 1 s
Database server time zone: SYSTEM
Database session time zone: SYSTEM
Locale: en_GB.UTF-8
Site / Admin language: en-gb / en-gb
Web server: LiteSpeed
PHP server API: litespeed
PHP SSL version: OpenSSL 1.1.1p 21 Jun 2022
RFC 2616 headers:
Server OS: Linux 4.18.0-305.19.1.lve.el7h.x86_64
Admin-side theme: hive 4.8.8

Last edited by lazlo (2023-02-23 00:09:40)

Offline

#2 2023-02-23 00:49:36

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

Re: Plugin error on new install of 4.8.8 Badly formed or empty plugin code

You are using quite an old version of PHP. This post might help to fix it.


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

Offline

#3 2023-02-23 02:40:57

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

Re: Plugin error on new install of 4.8.8 Badly formed or empty plugin code

Hmmm.

On TXP 4.8.8 and php 5.5.38 ALL .txt plugins result in a ’badly formed or empty plugin code‘.

But the pre-encoded php originals upload just fine.

Last edited by amordecosmos (2023-02-23 02:41:12)

Offline

#4 2023-02-23 08:27:54

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

Re: Plugin error on new install of 4.8.8 Badly formed or empty plugin code

Mea culpa, please see here.

Offline

Board footer

Powered by FluxBB