Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
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
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
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
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
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
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
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
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)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: 4.6 upgrade compatible?
MattD wrote #301415:
Warning "unlink(/home/mattsdav/public_html/textpattern/include/import/BloggerImportTemplate.txt): No such file or directory"...
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
Offline
Re: 4.6 upgrade compatible?
Bloke wrote #301416:
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)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
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