Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2016-05-02 23:00:14
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Another experience upgrading TXP 4.6
This morning I upgraded my local 4.6 installation to the latest GIT master zip.
At the risk of looking a complete wassak, I’m now presented with a blank screen after login. And PHP throws an error:
[Tue May 03 08:51:22.857592 2016] [:error] [pid 6473] [client fe80::b618:d1ff:feed:2453:49860] PHP Fatal error: Call to a member function start() on a non-object in /Users/adi/Sites/textpattern-git/textpattern/lib/txplib_db.php on line 395, referer: http://imac.local/~adi/textpattern-git/textpattern/index.php
Usual upgrade method – replaced the old files/folders with the new, then got the “Remora is dead, long live the new default” message, after that was blankety blank.
Any useful antidotes or even amusing anecdotes?
Offline
Re: Another experience upgrading TXP 4.6
Hi Adi,
it looks like the global $trace
is undefined or overwritten at some stage. Try to disable plugins by setting to 0 use_plugins
and admin_side_plugins
in txp_prefs
.
Offline
#3 2016-05-03 12:29:47
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: Another experience upgrading TXP 4.6
Thanks Oleg, much obliged. It was one of my plugins causing the problem – not anything to do with $trace
, I don’t think, but have yet to find out what.
Offline
Re: Another experience upgrading TXP 4.6
I’d suspect an unfortunate extract()
that rewrites the global $trace
. We should give it a less common name.
Offline
Re: Another experience upgrading TXP 4.6
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: Another experience upgrading TXP 4.6
Bloke wrote #298942:
$txp_trace
?
Txp::get('\Textpattern\Trace')
? ;)
(I know this would require some refactoring)
Offline
Offline
Re: Another experience upgrading TXP 4.6
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