Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

.14 upgrade - no database upgrade option

I have been upgrading all my websites - 13 in total - to 6.01.15

2 have worked fine

I have just ftp'd files for 6.01.14 upgrade from 6.01.13 to www.burtonphysiocentre.co.uk
went to admin panel and then system admin
when i click on DATABASE UPGRADE
it says there are no upgrades top apply

The FTP transfer definately asked to overwrite administration/upgrade.php as it has for the others

please help?

Ian Nelson
When you are uploading it, YES you are supposed to overwrite the FTP file cause if you didn't the file will not have any information left from the download you just made...
I'm not sure what you are saying there

I know I have to overwrite the files and have done so

It has worked for 2 other sites
but on this one the admin panel says there is no upgrade to apply
Delete the existing upgrade file and re-upload and see if that works, i don't know what you are going through, but all i know is if you put the upgrade file in test the upgrade file on another site, cause it might be the upgrade not u, the problem... The upgrade can be opened and see what code is in there...

| PHP-Fusion 6 Content Management System
| Copyright (c) 2005 Nick Jones
| http://www.php-fusion.co.uk/
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
require_once "../maincore.php";
require_once BASEDIR."subheader.php";
require_once ADMIN."navigation.php";

if (!checkrights("U")) fallback("../index.php");

if (str_replace(".","",$settings['version']) < "60015") {
if (!isset($_POST['stage'])) {
echo "<div style='text-align:center'>
<form name='upgradeform' method='post' action='upgrade.php'>
A minor database upgrade is available for this installation of PHP-Fusion.<br>
Simply click Upgrade to update your system.<br><br>
<input type='hidden' name='stage' value='2'>
<input type='submit' name='upgrade' value='Upgrade' class='button'>
if (isset($_POST['stage']) && $_POST['stage'] == 2) {
if (isset($_POST['upgrade'])) {
$result = dbquery("UPDATE ".$db_prefix."settings SET version='6.01.15'");
echo "<div style='text-align:center'>\n<br>Database upgrade complete.<br><br>\n</div>\n";
} else {
echo "<div style='text-align:center'>\n<br>There is no database upgrade available.<br><br>\n</div>\n";

echo "</td>\n";
require_once BASEDIR."footer.php";

If your file should work like that, you should be working right...
I am restoring the site to pre-upgrade attempt state and will try again

The .14 and .15 upgrade.php files change the version number in site settings to 14 and 15.

"UPDATE ".$db_prefix."settings SET version='6.01.15'"

If you have access to your DB you can do it manually. Once you've uploaded the other files in the upgrade(s) you're ok.
To simplify what hobbyman is saying. Neither .14 nor .15 have any real database updates in them, just files to overwrite. So if you do his code it will be alright regardless if you could do the "upgrade"

Thread Information
7 posts
1810 times
Last Post
Last updated on 12 years ago
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.