Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-01-27 14:28:23

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 479
Website

Help: Error after update to Txp 4.5.7

Hello,

I want update a TXP 4.5.1 website to TXP 4.5.7 in a Xubuntu Laptop with

  • PHP 5.6.29
  • Mysql 5.7.17

After updating files and when I want to connect in admin area, I’m a blank page with this error :

Erreur interne “Invalid default value for ‘last_access’”
in /home/thomas/sites/mementoFR/textpattern/lib/txplib_db.php at line 95.

adminErrorHandler()
textpattern/lib/txplib_db.php:95 trigger_error()
textpattern/lib/txplib_db.php:152 safe_query()
textpattern/update/_to_4.5.0.php:30 safe_alter()
textpattern/update/_update.php:123 include()

Désolé. Cette action ne peut être poursuivie. article ne présente pas de sécurité suffisante dans ce contexte.

Usually I work on a mac with MAMP and I’ve never see this error. Someone has a idea to help me?

Thanks

Offline

#2 2017-01-27 15:17:10

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

Re: Help: Error after update to Txp 4.5.7

On dirait MySQL 5.7 complaining about obsolete 0000-00-00 00:00:00 timestamps. In which case you probably won’t be able to use txp 4.5 at all. Try downgrading MySQL to 5.5 or upgrading txp to 4.6?

Offline

#3 2017-01-27 16:44:07

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 479
Website

Re: Help: Error after update to Txp 4.5.7

Thx etc.

Arf, I’m not sure plugins used in this project are ready for TXP 4.6.*
Especially mem plugins (orphans): mem_form and mem_simple_form.

Update plugins in Textpattern need to more time : It is necessary to browse this forum to find the post that proposes eventually a patched version.

And I’m some other old clients projects that are in TXP 4.5.*.

I think I try to downgrade MySQL to 5.5.

Offline

Board footer

Powered by FluxBB