diff options
author | Andrey Andreev <narf@devilix.net> | 2018-06-12 15:45:46 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2018-06-12 15:45:46 +0200 |
commit | 30e2eafa86c4c7b6b39cea3e7089a90df9f603fb (patch) | |
tree | 391bc1e62d8d0ad045e18a6da72e3e2a59e91503 /user_guide_src/source/installation/upgrade_312.rst | |
parent | a9da3dd2f16a8f97d7bc4ff5572b28e4bb84c813 (diff) |
[ci skip] 3.1.9 release
Diffstat (limited to 'user_guide_src/source/installation/upgrade_312.rst')
-rw-r--r-- | user_guide_src/source/installation/upgrade_312.rst | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/user_guide_src/source/installation/upgrade_312.rst b/user_guide_src/source/installation/upgrade_312.rst deleted file mode 100644 index e0b2191dd..000000000 --- a/user_guide_src/source/installation/upgrade_312.rst +++ /dev/null @@ -1,40 +0,0 @@ -############################# -Upgrading from 3.1.1 to 3.1.2 -############################# - -Before performing an update you should take your site offline by -replacing the index.php file with a static one. - -Step 1: Update your CodeIgniter files -===================================== - -Replace all files and directories in your *system/* directory. - -.. note:: If you have any custom developed files in these directories, - please make copies of them first. - -Step 2: Update your "ci_sessions" database table -================================================ - -If you're using the :doc:`Session Library </libraries/sessions>` with the -'database' driver, you may have to ``ALTER`` your sessions table for your -sessions to continue to work. - -.. note:: The table in question is not necessarily named "ci_sessions". - It is what you've set as your ``$config['sess_save_path']``. - -This will only affect you if you've changed your ``session.hash_function`` -*php.ini* setting to something like 'sha512'. Or if you've been running -an older CodeIgniter version on PHP 7.1+. - -It is recommended that you do this anyway, just to avoid potential issues -in the future if you do change your configuration. - -Just execute the one of the following SQL queries, depending on your -database:: - - // MySQL: - ALTER TABLE ci_sessions CHANGE id id varchar(128) NOT NULL; - - // PostgreSQL - ALTER TABLE ci_sessions ALTER COLUMN id SET DATA TYPE varchar(128); |