Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-03-01 01:58:32

wavesource
Member
From: Australia
Registered: 2011-08-02
Posts: 56

[solved] Cascade of errors on 1&1 hosting running PHP5.4

I’ve got a client who has a 1&1 host, and they are running PHP 5.4 supposedly up there, but I’m getting this error on the Images page in TXP admin:

Strict Standards: Declaration of txp_thumb::write() should be compatible with wet_thumb::write($infile, $outfile) in /homepages/32/d403446716/htdocs/wsb6785437301/textpattern/lib/class.thumb.php on line 367

Anyone have any ideas as to how to quash it?

Cheers

David

Last edited by Gocom (2014-03-30 15:14:19)

Offline

#2 2014-03-01 13:52:34

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: [solved] Cascade of errors on 1&1 hosting running PHP5.4

You should see the wet_thumb plugin, the problem is there, try to see if you have the last version of the plugin

Offline

#3 2014-03-01 15:09:01

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: [solved] Cascade of errors on 1&1 hosting running PHP5.4

Yup, try with plugins off. But wet_thumb could well mean the function in /textpattern/lib/class.thumb.php. I remember that name as it stumped me and I wrote that before here in the forum. Furthermore: Are there any modified files on the diagnostics panel? Other abnormalities? Please post your diagnostics report in case you don’t find anything.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#4 2014-03-01 19:27:28

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,269
Website GitHub

Re: [solved] Cascade of errors on 1&1 hosting running PHP5.4

Uli is right. Wet_thumb is actually part of core and was just never renamed. But in cases like this it’s usually image plugins and I suspect (gulp) that smd_thumbnail may be the culprit because I may not have defined the function properly. I thought I fixed it in the latest version so please check my website to make sure you have the latest version if you have this plugin installed.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#5 2014-03-30 15:04:36

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

Re: [solved] Cascade of errors on 1&1 hosting running PHP5.4

Bloke wrote #279352:

Uli is right. Wet_thumb is actually part of core and was just never renamed. But in cases like this it’s usually image plugins and I suspect (gulp) that smd_thumbnail may be the culprit because I may not have defined the function properly. I thought I fixed it in the latest version so please check my website to make sure you have the latest version if you have this plugin installed.

The error comes from core as even said by the error. The signatures are different in the two core classes. The one extending, txp_thumb::write(), is missing mandatory arguments. Faulty code.

Last edited by Gocom (2014-03-30 15:06:09)

Offline

#6 2014-03-30 15:13:41

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

Re: [solved] Cascade of errors on 1&1 hosting running PHP5.4

This been corrected in r5753. In the current dev branch (4.6-dev) this has been long gone.

Offline

Board footer

Powered by FluxBB