A
A
ayapergenov2016-08-01 12:27:25
PHP
ayapergenov, 2016-08-01 12:27:25

What to do if there is a conflict with the old version of Wordpress?

The 2013 template requires WP3.6 version
I get a lot of errors when installing on a local server I
attribute this to a conflict between mySQL or PHP5 versions
Here is an example of one of the errors

WordPress database error: [Invalid default value for 'user_registered']
CREATE TABLE wp_users ( ID bigint(20) unsigned NOT NULL auto_increment, user_login varchar(60) NOT NULL default '', user_pass varchar(64) NOT NULL default '', user_nicename varchar(50) NOT NULL default '', user_email varchar(100) NOT NULL default '', user_url varchar(100) NOT NULL default '', user_registered datetime NOT NULL default '0000-00-00 00:00:00', user_activation_key varchar(60) NOT NULL default '', user_status int(11) NOT NULL default '0', display_name varchar(250) NOT NULL default '', PRIMARY KEY (ID), KEY user_login_key (user_login), KEY user_nicename (user_nicename) ) ) DEFAULT CHARACTER SET utf8

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2016-08-01
@webinar

Apparently the problem is in the date format 0000-00-00 00:00:00
In the database settings, specify the required format

A
ayapergenov, 2016-08-01
@ayapergenov

Found this solution.
It's just not clear where to write it.
Tell me the way, please.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question