Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-07-25 00:33:37

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

install plugin when plugin decompress not possible ?

I’m trying to determine if textpattern will work on Cwahi a free web host I like.

Due to spammers, etc. they have many things turned off.

.htaccess has to be blank.

From the diagnostics page on my textpattern cms there:

The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: apache_note, apache_setenv, closelog, define_syslog_variables, escapeshellarg, escapeshellcmd, ftp_connect, ftp_ssl_connect, fsockopen, leak, link, openlog, pcntl_exec, pfsockopen, proc_close, proc_get_status, proc_nice, proc_terminate, socket_accept, socket_bind, socket_connect, socket_create, socket_create_listen, socket_listen, socket_read, socket_send, socket_write, stream_socket_client, stream_socket_recvfrom, stream_socket_server, symlink, syslog

end of error.

Site is at: http://pineapple.cwahi.net/

They have only sub-domains at present, domains are in the works.

Any info on how to install plugins when the decompress is turned off ?

Thanks !

Last edited by JimJoe (2012-07-25 00:34:01)

Offline

#2 2012-07-25 06:48:00

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

Re: install plugin when plugin decompress not possible ?

You can always run them from the plugins cache directory, you need to use the source php script for that. There is a field for the path to the directory that you set in Advanced preferences.

Offline

#3 2012-07-25 07:40:53

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: install plugin when plugin decompress not possible ?

You can always try to install the plugin’s uncompressed version. Textpattern plugin files can come in uncompressed format too. To the eye the file will look identical, but the contained code isn’t compressed, resulting in a larger file. You can try to ask the plugin author for a uncompressed version of the file.

If you have an existing, working installation of the plugin elsewhere, you could also use ied_plugin_composer to extract the plugin from the database as an uncompressed package. Ied_plugin_composer also gives an option to extract a raw PHP file which you can use with plugin cache directory as mentioned by Rick.

If the installation still keeps failing, as an alternative to a plugin cache directory, you could also try to taking the plugin from an existing site’s database and copying the plugin’s row from the txp_plugins table to the free host’s database. This type of task could be performed by using a tool as phpMyAdmin if available.

Last edited by Gocom (2012-07-25 07:41:14)

Offline

#4 2012-07-25 23:17:22

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 573
Website

Re: install plugin when plugin decompress not possible ?

I did try bringing up the plugin with the edit link, and copying the php into the plugin upload window. Didn’t work probably due to it expecting the compressed version.

I’ll check the two methods you mention when I next get the chance, maybe before Saturday.

Offline

#5 2012-07-26 00:00:11

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: install plugin when plugin decompress not possible ?

JimJoe wrote:

I did try bringing up the plugin with the edit link, and copying the php into the plugin upload window. Didn’t work probably due to it expecting the compressed version.

The Upload plugin field only accepts a plugin package. That gibberish text thing. It doesn’t install plugin’s from just the PHP source. You can tho, copy+paste the code that way with the help of ied_plugin_composer.

Last edited by Gocom (2012-07-26 00:01:17)

Offline

Board footer

Powered by FluxBB