Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-12-29 08:47:17

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

Fatal error

just few weeks ago all worked well and yesterday client discovered on its site:

Fatal error: Uncaught Error: Call to undefined function plug_privs() in /home/tammeter/public_html/textpattern/index.php:188 Stack trace: #0 {main} thrown in /home/tammeter/public_html/textpattern/index.php on line 188

upgraded 4.7.1 > 4.7.2, but didn’t help, same fatal error

Offline

#2 2018-12-29 09:23:17

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,105
Website

Re: Fatal error

Hi Gallex
Would this be a plugin issue? Did you try switching off plugins, one at a time, to check which one might be producing this error?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#3 2018-12-29 09:38:35

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,342
Website

Re: Fatal error

Also check your txplib_misc.php is really up to date. That function (see GitHub) was added in txp 4.7.2.


TXP Builders – finely-crafted code, design and txp

Offline

#4 2018-12-29 09:54:30

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

Re: Fatal error

colak wrote #315818:

Hi Gallex
Would this be a plugin issue? Did you try switching off plugins, one at a time, to check which one might be producing this error?

i can’t even login – same error there

Offline

#5 2018-12-29 10:06:41

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

Re: Fatal error

jakob wrote #315820:

Also check your txplib_misc.php is really up to date. That function (see GitHub) was added in txp 4.7.2.

you are right, this file hasn’t been updated and it doesn’t let me do this as well. :)
i can’t delete it, i can’t rewrite it in ftp server – what is going on? :)

Offline

#6 2018-12-29 11:31:41

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,342
Website

Re: Fatal error

There was something similar recently about some hosts blocking certain files, or owning them.

Can you check the owner of that/those files and see if it is the same as the others. My hosts admin panel offers a way to reset permissions in such cases.

Another thing to try – if it lets you – is to upload the file under another name, e.g. txplib_misc.new, then rename the existing one to old and the new file to .old.


TXP Builders – finely-crafted code, design and txp

Offline

#7 2018-12-29 11:42:32

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

Re: Fatal error

jakob wrote #315823:

There was something similar recently about some hosts blocking certain files, or owning them.
Can you check the owner of that/those files and see if it is the same as the others. My hosts admin panel offers a way to reset permissions in such cases.

same owner as other files

Another thing to try – if it lets you – is to upload the file under another name, e.g. txplib_misc.new, then rename the existing one to old and the new file to .old.

already tried, it doesn’t let me to rename it as well.

wrote to host to delete this file

Offline

#8 2018-12-29 13:09:20

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

Re: Fatal error

host claimed that the txplib_misc.php file was quarantined because it was infected with malware.

Last edited by Gallex (2018-12-30 08:24:54)

Offline

#9 2018-12-29 14:13:51

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,105
Website

Re: Fatal error

was it?


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#10 2018-12-30 00:40:23

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,615
Website

Re: Fatal error

Gallex wrote #315827:

host claimed that the txplib_misc.php file was under warranty because it was infected with malware.

Probably the same issue as the other threads about the file being locked. eval(…) is causing automated scripts run by the host to think this file is malware.

Offline

Board footer

Powered by FluxBB