isLoggedIn() ) { upgrade_showLogin('index.php'); } // end if // begin if: make sure user is an admin if ( !$member->isAdmin() ) { upgrade_error('Only super administrators are allowed to perform upgrades'); } // end if upgrade_head(); ?>

Upgrade Nucleus

Note: If you just installed Nucleus for the first time and are not upgrading from an earlier version, you will not need these files.

Database updates may be required when upgrading from an earlier version of Nucleus. This tool allows you to automate these updates.

No database updates required! The database has already been updated to the latest version of Nucleus.

Click here to upgrade the database to Nucleus v4.0.

Note: It is strongly recommended that you create a database backup before performing upgrades.

Manual Updates

Some updates need to be performed manually. Instructions are given below (if any).

No manual changes needed. This must be your lucky day!

'; } upgrade_foot(); /** * * @param int $version */ function upgrade_todo($version) { return upgrade_checkinstall($version) ? "(installed)" : "(not yet installed)"; } /** * Manual update instructions for version 0.96 */ function upgrade_manual_96() { global $DIR_NUCLEUS; $guess = str_replace('/nucleus/', '/media/', $DIR_NUCLEUS); ?>

Changes needed for Nucleus 0.96

A manual addition needs to be made to config.php, in order to get the media functions to work. Here's what to add:

	// path to media dir
	$DIR_MEDIA = '';
	

Also, it will be necessary to create that directory yourself. If you want to make file upload possible, you should set the permissions of the media/ directory to 777 (see the documentation/tips.html in Nucleus 0.96+ for a quick guide on setting permissions).

Changes needed for Nucleus 2.0

A manual addition needs to be made to config.php, in order to get imported skins to work correctly. Here's what to add:

	// extra skin files for imported skins
	$DIR_SKINS = '';
	

Also, it will be necessary to create this directory yourself. Downloaded skins can then be expanded into that directory and be imported from inside the Nucleus admin area.

RSS 2.0 and RSD skin

When a fresh version of Nucleus 2.0 is installed, an RSS 2.0 (Really Simple Syndication) syndication skin is also installed, as well as an RSD skin (Really Simple Discovery). The files xml-rss2.php and rsd.php are available in the upgrade, however the skin itself needs to be installed manually. After you've uploaded the contents of the upgrade-files, open admin area > nucleus management > skin import. From there, you can install both skins. (Unless you don't want them installed, that is)

Changes needed for Nucleus 3.4

It is recommended that you apply some restrictions to what you allow the web server to do with files in the media and skins folders. These restrictions are not necessary to the functioning of the software, nor to the security of the software. However, they can be an important help under the security principle of denying any access that is not required.

Instructions for applying the restrictions are found in the following two files on your server:

Important Notices for Nucleus 3.5

WARNING: You are running NucleusCMS on a older version of PHP that is no longer supported by NucleusCMS. Please upgrade to PHP5!

'; } ?>

Two new plugins have been included with version 3.5. You may want to consider installing them from the Plugins page of the admin area.

Important Notices for Nucleus 4.0

WARNING: You are running NucleusCMS on a older version of PHP that is no longer supported by NucleusCMS. Please upgrade to PHP5!

'; } // find if any of the known plugin incompatibilities are installed. $pluginsToCheck = array( array("NP_ShowComments","Not installed","1.30"), array("NP_MultiLanguage","Not installed","1.10") ); foreach ( $pluginsToCheck as $plug ) { if ( $manager->pluginInstalled($plug[0]) ) { $plug[1] = $manager->getPlugin($plug[0])->getVersion(); } } ?>

Nucleus CMS 4.0 represents a lot of fundamental code changes behind the scenes to make use of PHP5 features, to establish a single multi-byte code base, and to generally improve some of the structure to comply with contempary coding standards. As such, despite the best efforts of the development team to maintain backward compatibility with plugins, there are areas where compatibility could not be maintained due to the nature of the 3rd-party plugin system. The following table shows the list of known plugin incompatibilities, please review it and upgrade your plugins as needed. If you experience compatibility issues with any plugins, please request help at our support forum.

'; } ?>
Plugin NameInstalled Version4.0-compatible version
'.$plug[0].''.$plug[1].''.$plug[2].'