Update application files
application
directory. However, the update to CodeIgniter 3 required that many of the files in the the application
directory be updated.To start, rename the following directories in the application
directory:config
to config_backup
controllers
to controllers_backup
core
to core_backup
libraries
to libraries_backup
models
to models_backup
index.php
to index_backup.php
message.php
to message_backup.php
application
directory in the Nova zip archive to your own application
directory:config
controllers
core
libraries
models
index.php
message.php
database.php
file back into the config directory. Going through this guide will prompt you to enter your database credentials and re-create the database config file.Rename the Nova directory
nova
directory to nova_backup
on your server. (This ensures that if the update goes awry you still have a copy of the working Nova core from before you attempted the update.)Upload Nova
nova
directory renamed to nova_backup
, you can now upload the nova
directory from the zip archive you downloaded from the Anodyne site. (This will give you the code for the latest version.)message.php?type=nova27
. This page will tell you that an update is required. We’ve done this to avoid Nova throwing an error due to some of the changes that were made. This is expected behavior. Clicking the button on that page will take you to the update process.Run the update
{your-site}/index.php/install
in your browser and you’ll be guided through the update process. For this update, you’ll be prompted to configure your database connection again. After completing the database config file wizard, you’ll be able to run the update. Once the update process is complete, you’ll be directed back to your site and will be ready to use Nova again.Update the session driver (optional)
files
instead of database
. There is no way around this due to how pervasive sessions are in web applications. Doing this prevents unrecoverable errors from happening the moment a user hits the site.This change, however, prevents Nova from being able to easily pull who is currently online. In order to fix this issue, you will need to make a change to the main config file located at application/config/config.php
. Add the below line at the end of the file to change the session driver from files to database:Remove the backup directories
nova_backup
directory from your server as well as all of the backup directories in your application
folder.Update default skins (optional)
default
and titan
directories from application/views
and replace them with the versions in the Nova zip archive.