2 mgsolipa May 25, 2015 08:38

Hi @revapalmer,
It looks like the database version is not properly upgraded, that's why you get the schema message.
Does the installer display an error message or any other information?
Hi mgsolipa,
thanks for your reply.
I used the upgrade routine supplied by my provider first and received no other fault than the one described. (screen shot attached.) I then ran the installer to finish, but every time it simply came back to a screen like the one attached.
I asked the IT support team at the provider to see if they could do it. They restored the site from backup and tried several time to perform the upgrade with the same result.
They recommended contacting b2evolution support for help.
@revapalmer can you send the URL to your site? (maybe in a private message if you don't want to share it publicly)
@revapalmer you sent me a pm with the same URL included in your post, so when I go to that page I see no errors at all but your front page. Can you please try to reproduce the warning and send me the exact URL that you get in your browser's address bar when the red message is on screen? Thanks.
Excuse me, found the answer I need.
@mgsolipa Thanks. I had the site restored to 4.1.6 because it is fairly well used by the people in Sunderland.
This afternoon I will run the upgrade process and copy the messages and info to you.
Thanks.
@mgsolipa I have performed a manual upgrade.
there has again been a fault. url of the fault page is http://www.sunderlandmethodistcircuit.org.uk/b2evolution1/install/index.php?locale=en-GB&confirmed=0&installer_version=10&create_sample_contents=1&action=evoupgrade
This is different from the previous declared fault.
I'm attaching two screens. First from www.sunderlandmethodistcircuit.org.uk/b2evolution1/install/index.php and the second after the upgrade was run.
on this occasion the fault is a duplicate entry in the database.
All right, your database version is 10200 but maybe some upgrade tasks from 10300 were executed before the process stopped due to an error (in your previous update attempt). I guess it's impossible to know what the upgrader did, so the only option that comes to my mind is try to execute each instruction one by one as follows:
1. Go to phpMyAdmin through your cPanel account (be careful to select the right database, I'm sending you its name by PM).
2. Go to the SQL tab (http://imgur.com/shotVtM) and copy & paste, one by one, each line of the attached file upgrade_10300_steps.sql
into the textarea and click Go. Note: some of those queries could throw an error, it's normal so just try the next one.
3. Replace your file install/_functions_evoupgrade.php
with the attached one.
4. Go to your site again and let the upgrader finish its work.
If you get stuck at some of those steps, please let us know. Also, be ready to restore your site from a backup if somehting goes wrong :D
Regards!
Thanks @mgsolipa, I will try that and report back.
Hi @mgsolipa I've run the process.
There were a couple of minor errors in the .php which I corrected in the was described in the attached .txt file and re ran (I don't know php but have used scripts before).
The process worked as you describe.
After replacing the functions file I ran the upgrader and recevied the database fault as shown in the screenshot.
Thanks for your patience and help.
Andrew
Hi @revapalmer,
It looks like the database version is not properly upgraded, that's why you get the schema message.
Does the installer display an error message or any other information?