Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-09-13 03:44:10

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

4.6 upgrade compatible?

Trying to upgrade but I get a white page after logging into the admin side, initially I got a 500 but seemed to be permissions related.

PHP version: 5.5.36
GD Graphics Library: bundled (2.1.0 compatible); supported formats: GIF, JPG, PNG.
MySQL: 5.5.51-MariaDB

My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#2 2016-09-13 08:25:31

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

Re: 4.6 upgrade compatible?

Odd. Anything in your Apache/PHP logs that might give us a clue what’s falling over?


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

#3 2016-09-13 10:21:36

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Re: 4.6 upgrade compatible?

I’ve had a 500 blank screen on a client site, turned out to be overloaded shared hosting and a refresh fixed it.

Offline

#4 2016-09-13 12:23:12

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

Re: 4.6 upgrade compatible?

gaekwad wrote #301405:

I’ve had a 500 blank screen on a client site, turned out to be overloaded shared hosting and a refresh fixed it.

That’ll be all the people scrambling to update Txp at the same time ;-)


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 2016-09-13 13:45:02

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: 4.6 upgrade compatible?

[Tue Sep 13 09:43:41 2016] [error] [client removedip] PHP Fatal error: Call to a member function start() on a non-object in /home/removed/public_html/textpattern/lib/txplib_db.php on line 395, referer: http://mysite.com/textpattern/index.php?logout=1


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#6 2016-09-13 13:48:26

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,134
GitHub

Re: 4.6 upgrade compatible?

MattD wrote #301412:

[Tue Sep 13 09:43:41 2016] [error] [client removedip] PHP Fatal error: Call to a member function start() on a non-object in /home/removed/public_html/textpattern/lib/txplib_db.php on line 395, referer: http://mysite.com/textpattern/index.php?logout=1

I think that’s plugin-related. Try disabling plugins.

Edit: yep, more info here forum.textpattern.com/viewtopic.php?id=46987

Last edited by gaekwad (2016-09-13 13:49:20)

Offline

#7 2016-09-13 13:51:56

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

Re: 4.6 upgrade compatible?

MattD wrote #301412:

Call to a member function start() on a non-object txplib_db.php on line 395, referer: http://mysite.com/textpattern/index.php?logout=1

Okay, thanks. So it’s a trace (debug) issue. To get you going, toggle your production status to live prior to upgrade, or do it via phpMyAdmin in the txp_prefs table and log in.

Edit: Pete’s/Oleg’s suggestion is equally valid, and perhaps better.

Last edited by Bloke (2016-09-13 13:53:18)


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

#8 2016-09-13 14:01:20

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: 4.6 upgrade compatible?

After switching to live via phpMyAdmin I see the following errors/warnings on the admin side:

Warning "unlink(/home/removed/public_html/textpattern/include/import/BloggerImportTemplate.txt): No such file or directory"
in /home/removed/public_html/textpattern/update/_to_4.6.0.php at line 151.
textpattern/lib/txplib_misc.php:1676 adminErrorHandler()
updateErrorHandler()
textpattern/update/_to_4.6.0.php:151 unlink()
textpattern/update/_update.php:84 include()
textpattern/index.php:180 include()

I have nothing in /home/removed/public_html/textpattern/include/import/

Last edited by MattD (2016-09-13 14:04:00)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#9 2016-09-13 14:05:02

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

Re: 4.6 upgrade compatible?

MattD wrote #301415:

Warning "unlink(/home/mattsdav/public_html/textpattern/include/import/BloggerImportTemplate.txt): No such file or directory"...

Dammit, you too


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

#10 2016-09-13 14:16:52

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

Re: 4.6 upgrade compatible?

Another plugin-related dammit in perspective.

Offline

#11 2016-09-13 14:27:28

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: 4.6 upgrade compatible?

Bloke wrote #301416:

Dammit, you too

I deleted /home/removed/public_html/textpattern/include/import/ but still get the same errors on the admin side. It won’t let me move past the update language page.

EDIT : I had to also delete txp_import.php. Then it let’s me pass and all looks well so far.

Last edited by MattD (2016-09-13 14:30:42)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#12 2016-09-13 14:38:18

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

Re: 4.6 upgrade compatible?

Thinking about plugins . . .

As far as I recall, we have never officially asked plugins to be disabled prior to upgrading, though unofficially it has been recommended a number of times – either pre-upgrade or post upgrade when there are problems.

While it is an inconvenience (minor if you use wet_plugout) perhaps doing so would make upgrading more bullet proof?

Upgrades are a way of life in software – if nothing else, for security upgrades.

Perhaps the install script could throw up a upgrade in progress page, turn off all plugins prior to the install. Then an all off/on toggle could be added to the plugin admin panel to make it quick and painless to turn things back on, and if there are problems, it becomes a quick way to focus in on the plugins. . .

Offline

Board footer

Powered by FluxBB