Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-06-01 10:39:37

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

fatal error after upgrade 4.7.0

there was similar error on site. i thought txp is to old and upgraded site to 4.7.0 and PHP 7.1

error:

Warning: include(/home/tammeter/public_html/textpattern/lib/txplib_misc.php): failed to open stream: Permission denied in /home/tammeter/public_html/index.php on line 92

Warning: include(/home/tammeter/public_html/textpattern/lib/txplib_misc.php): failed to open stream: Permission denied in /home/tammeter/public_html/index.php on line 92

Warning: include(): Failed opening '/home/tammeter/public_html/textpattern/lib/txplib_misc.php' for inclusion (include_path='.:/opt/cpanel/ea-php71/root/usr/share/pear') in /home/tammeter/public_html/index.php on line 92

Fatal error: Uncaught Error: Call to undefined function assert_int() in /home/tammeter/public_html/textpattern/lib/class.trace.php:72 Stack trace: #0 /home/tammeter/public_html/index.php(93): Trace->stop() #1 {main} thrown in /home/tammeter/public_html/textpattern/lib/class.trace.php on line 72

Offline

#2 2018-06-01 11:39:32

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

Re: fatal error after upgrade 4.7.0

It looks like too zealous server security settings, not related to txp.

Offline

#3 2018-06-02 06:49:54

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

Re: fatal error after upgrade 4.7.0

etc wrote #312245:

It looks like too zealous server security settings, not related to txp.

sure? ok, i will communicate with the host, let’s see, what they will tell me…

Offline

#4 2018-06-02 07:37:08

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

Re: fatal error after upgrade 4.7.0

the problem was in file permissions ;)

Offline

#5 2018-06-02 16:36:12

singaz
Member
Registered: 2017-03-12
Posts: 150

Re: fatal error after upgrade 4.7.0

After upgrade 4.6.2 to 4.7.0 I get a message: problem_connecting_update_server.
New installation 4.7.0 – everything is fine.
What can be done?


Sorry my horror English. I’m learning textpattern, I’m learning English

Offline

#6 2018-06-03 11:06:56

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: fatal error after upgrade 4.7.0

Gallex wrote #312250:

the problem was in file permissions ;)

Gallex, what was the problem exactly? I am having the same kind of error on a fresh install of 4.7. Only came up after wanting to write a new article.

Says

Warning: include(/home/site/public_html/test/textpattern/lib/txplib_misc.php): failed to open stream: Permission denied in /home/site/public_html/test/textpattern/index.php on line 88
Warning: include(): Failed opening ‘/home/site/public_html/test/textpattern/lib/txplib_misc.php’ for inclusion (include_path=’.:/opt/alt/php70/usr/share/pear’) in /home/site/public_html/test/textpattern/index.php on line 88
Fatal error: Uncaught Error: Call to undefined function assert_int() in /home/site/public_html/test/textpattern/lib/class.trace.php:72 Stack trace: #0 /home/site/public_html/test/textpattern/index.php(102): Trace->stop() #1 {main} thrown in /home/site/public_html/test/textpattern/lib/class.trace.php on line 72


A hole turned upside down is a dome, when there’s also gravity.

Offline

#7 2018-06-03 11:44:37

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: fatal error after upgrade 4.7.0

I had to relay on my server provider as well.

txplib_misc.php had permissions 000 and only root access, so i couldn’t change permissions myself
Problem is solved after the provider’s customer service changed permissions to 644.

Devs: Are permissions wrong already in the 4.7 installer?

Last edited by jayrope (2018-06-03 12:42:30)


A hole turned upside down is a dome, when there’s also gravity.

Offline

#8 2018-06-03 22:13:57

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

Re: fatal error after upgrade 4.7.0

jayrope wrote #312276:

I had to relay on my server provider as well.

txplib_misc.php had permissions 000 and only root access, so i couldn’t change permissions myself
Problem is solved after the provider’s customer service changed permissions to 644.

Devs: Are permissions wrong already in the 4.7 installer?

Dunno what is happening, but I checked the downloaded 4.7.0 zip file and the permissions (locally) are 644 for that file.


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

Offline

#9 2018-06-04 07:53:33

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: fatal error after upgrade 4.7.0

I’ve also downloaded and checked both the Zip file Gzip files of Textpattern 4.7.0 release and the permissions seem to be fine here (locally).

Offline

#10 2018-06-04 08:21:38

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

Re: fatal error after upgrade 4.7.0

Is is possible that the web host has some automated scripts running checking for rogue files and it decides that this particular file has some dangerous content ? And then sets the permissions to 000 ?


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

Offline

#11 2018-06-04 13:58:30

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: fatal error after upgrade 4.7.0

One thing i can see is, that both Gallex and me seem to have similar hosting, probably with a Cpanel behind, shared hosting, maybe with a Maria. Why do i say that? Well his paths in the initial post look very familiar. My host runs Imunify360 and in fact that software sometimes thinks it needs to log me out, although i am an admin.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#12 2018-07-03 10:17:59

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: fatal error after upgrade 4.7.0

I am getting the exact same problem again during updating to 4.7.1. txplib_misc.php permissions were set to 000 again.
I’ll talk to my hoster and find out what they are doing there.


A hole turned upside down is a dome, when there’s also gravity.

Offline

Board footer

Powered by FluxBB