Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-03-10 18:36:00

kstewart
Member
Registered: 2011-03-09
Posts: 71
Website

Several disabled PHP functions... (amongst other errors! yikes!)

I get the following messages after running Diagnostics…

The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: proc_close, proc_get_status, proc_nice, proc_terminate, escapeshellcmd, define_syslog_variables, posix_uname, posix_getpwuid, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellarg, posix_uname, ftp_exec, ftp_connect, ftp_login, ftp_get, ftp_put, ftp_nb_fput, ftp_raw, ftp_rawlist, ini_alter, ini_restore, inject_code, syslog, openlog, define_syslog_variables, apache_setenv, mysql_pconnect, eval, phpAds_XmlRpc, phpAds_remoteInfo, phpAds_xmlrpcEncode, phpAds_xmlrpcDecode, xmlrpc_entity_decode, fp, fput ?
Site URL preference might be incorrect: www.kimstewart.co.uk/textpattern-4.3.0 ?
clean_url_data_failed: <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>

I’ve deleted the ones from above list that don’t matter… but does anyone know if these are causing issues:

posix_uname, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, ftp_exec, ftp_connect, ftp_login, ftp_get, ftp_put, ftp_nb_fput, ftp_raw, ftp_rawlist, inject_code, eval, phpAds_XmlRpc, phpAds_remoteInfo, phpAds_xmlrpcEncode, phpAds_xmlrpcDecode, xmlrpc_entity_decode, fp, fput

Also getting these messages in Diagnostics:

Site URL preference might be incorrect: www.kimstewart.co.uk/textpattern-4.3.0

clean_url_data_failed: <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”> ?

Sorry, I know this is a lot so really appreciate any help given. Currently on my actual site I’m getting this error message:
Tag error: <txp:css n=“default” format=“link” /> -> Textpattern Notice: n attribute is deprecated on line 63

my website: http://www.kimstewart.co.uk/textpattern-4.3.0/home
(I made the txp in a folder called textpattern-4.3.0 because I didn’t want to take down my current working site www.kimstewart.co.uk… this could also be causing a problem)

Many thanks for any help!


www.kimstewart.co.uk

Offline

#2 2011-03-10 18:46:18

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

Re: Several disabled PHP functions... (amongst other errors! yikes!)

n has indeed been deprecated on v4.3 change to name.


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

Offline

#3 2011-03-10 18:51:10

kstewart
Member
Registered: 2011-03-09
Posts: 71
Website

Re: Several disabled PHP functions... (amongst other errors! yikes!)

Hi Yiannis,

Yeah I read that somewhere but can’t find where I’ve to change it to name… looked through all sections, pages and forms and can’t see anything…

Thanks for your help.


www.kimstewart.co.uk

Offline

#4 2011-03-10 19:01:59

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Several disabled PHP functions... (amongst other errors! yikes!)

ksteward wrote:

can’t find where I’ve to change it to name

Give smd_where_used a try.

Search for something like txp:css n=”

Also, it can be rvm_css — if used — depending on the version you are using.

Last edited by maverick (2011-03-10 19:04:24)

Offline

#5 2011-03-10 20:46:56

kstewart
Member
Registered: 2011-03-09
Posts: 71
Website

Re: Several disabled PHP functions... (amongst other errors! yikes!)

Thanks! got rid of that error message. Still have the other issues though…

Appreciate any help going out there!


www.kimstewart.co.uk

Offline

#6 2011-03-10 20:59:41

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Several disabled PHP functions... (amongst other errors! yikes!)

kstewart wrote:

clean_url_data_failed: <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”> ?

(I made the txp in a folder called textpattern-4.3.0 because I didn’t want to take down my current working site www.kimstewart.co.uk… this could also be causing a problem)

I only have installed in subdirectories one or two times, but they have also throw clean_url fails. I suspect that may be the case here. Perhaps someone else can verify for sure.

Offline

#7 2011-03-10 21:05:11

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Several disabled PHP functions... (amongst other errors! yikes!)

It looks like the rest are features of your host’s server set up. I’ve personally never seen so many things disabled or not installed on a commercial hosting services, but that’s just reflects the limits of my experience I’m sure.

If the only issue is that these are showing up on the diagnostic tab, but Txp is fully functional, you can ignore them. For example, I don’t think any of the ftp warning apply directly to Txp. Then again, I could be wrong :)

If some are necessary for Txp, then you could ask your host to enable them, if they are willing. If not, another option (perhaps easier/better option?) would be to get a host that has these things enabled by default.

Last edited by maverick (2011-03-10 21:06:40)

Offline

#8 2011-03-10 21:48:08

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

Re: Several disabled PHP functions... (amongst other errors! yikes!)

kstewart wrote:

Site URL preference might be incorrect:

Means that your Site URL defined in the preferences (TXP/Admin/Preferences) is possibly incorrect.

The site url should be set to www.kimstewart.co.uk/textpattern-4.3.0, as you have installed TXP to sub-directory.

I’ve deleted the ones from above list that don’t matter… but does anyone know if these are causing issues:

None of those are used by core TXP. Plugins could tho, but not TXP itself. TXP doesn’t need to get system information, and TXP doesn’t need access to FTP.

maverick wrote:

I only have installed in subdirectories one or two times, but they have also throw clean_url fails. I suspect that may be the case here. Perhaps someone else can verify for sure.

Installing TXP to subdirectory shouldn’t effect anything.

Offline

#9 2011-03-10 22:13:05

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Several disabled PHP functions... (amongst other errors! yikes!)

Gocom wrote:

Installing TXP to subdirectory shouldn’t effect anything.

Thanks for clarifying Gocom. But now you’ve got me hunting down my own bug ;-D

Offline

#10 2011-03-10 22:36:24

kstewart
Member
Registered: 2011-03-09
Posts: 71
Website

Re: Several disabled PHP functions... (amongst other errors! yikes!)

Many thanks for all the help folks!!! Got it all working… Think the clean URLs is most likely due to the subdirectory (which I was planning on changing once the site worked.)


www.kimstewart.co.uk

Offline

Board footer

Powered by FluxBB