From 560f290ae4d43fbca26d6aa95809d43d0030f7ed Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 8 Jun 2020 10:00:36 -0700 Subject: [PATCH] Avoid session table creation issue on some servers. (ie. "Specified key was too long; max key length is 1000 bytes" ) --- e107_core/sql/core_sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/sql/core_sql.php b/e107_core/sql/core_sql.php index 25188886c..e42b3b210 100755 --- a/e107_core/sql/core_sql.php +++ b/e107_core/sql/core_sql.php @@ -473,7 +473,7 @@ CREATE TABLE rate ( # CREATE TABLE session ( - session_id varchar(255) NOT NULL default '', + session_id varchar(250) NOT NULL default '', session_expires int(10) unsigned NOT NULL default 0, session_user int(10) unsigned default NULL, session_data text NOT NULL,