Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2016-09-29 21:39:28

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

Re: 4.6 update issues

Try to disable plugins, iirc some of them were conflicting with new txp Trace.

Offline

#14 2017-02-16 06:51:21

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: 4.6 update issues

any ideas whey i am getting this error:

User_Error “Duplicate entry ‘f734ac92d59e744892e7b7603bcfafb6’ for key ‘PRIMARY’”
in /home/myid/apps/bicilogic/textpattern/lib/txplib_db.php at line 409.

i have tried updating twice

ps line 409

trigger_error(mysqli_error($DB->link), E_USER_ERROR);

Last edited by bici (2017-02-16 06:52:06)


…. texted postive

Offline

#15 2017-02-17 06:30:03

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: 4.6 update issues

pulling my hair out. for two days now i am unable to update my 457 to 462.
My production website is workig fine and i can login and make changes etc.
But I cannot update to 4.6.2

I moved my production site to my localhost and but i when tried to login i get this error:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DB has a deprecated constructor in /Users/bici/Sites/bicilogic/textpattern/lib/txplib_db.php on line 23

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /Users/bici/Sites/bicilogic/textpattern/lib/txplib_db.php:34 Stack trace: #0 /Users/bici/Sites/bicilogic/textpattern/lib/txplib_db.php(50): DB->DB() #1 /Users/bici/Sites/bicilogic/textpattern/publish.php(31): include_once(‘/Users/bici/S…’) #2 /Users/bici/Sites/bicilogic/index.php(82): include(‘/Users/bici/S…’) #3 {main} thrown in /Users/bici/Sites/bicilogic/textpattern/lib/txplib_db.php on line 34

My localhost is using PHP 7.0.13 and i have disabled all plugins


…. texted postive

Offline

#16 2017-02-17 09:20:52

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

Re: 4.6 update issues

bici wrote #304046:

User_Error “Duplicate entry ‘f734ac92d59e744892e7b7603bcfafb6’ for key ‘PRIMARY’”
in /home/myid/apps/bicilogic/textpattern/lib/txplib_db.php at line 409.

Does this help? See the post afterwards with possible fix.

bici wrote #304072:

Fatal error: Uncaught Error: Call to undefined function mysql_connect()… My localhost is using PHP 7.0.13 and i have disabled all plugins

Are you sure you’ve disabled them all? Nothing in the plugin cache directory? The core doesn’t use that function any more.


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

#17 2017-02-17 17:06:43

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: 4.6 update issues

Bloke wrote #304076:

Does this help? See the post afterwards with possible fix.

Bingo!

Are you sure you’ve disabled them all? Nothing in the plugin cache directory? The core doesn’t use that function any more.

i had disabled them all . but curious… where do i find the plugin cache directory?


…. texted postive

Offline

#18 2017-02-17 17:08:40

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,075
Website Mastodon

Re: 4.6 update issues

thanks bloke .. now updated to latest and greatest.
will now individually turn on the plugins.


…. texted postive

Offline

Board footer

Powered by FluxBB