Hi there,
It is possible to upgrade Drupal version 7.12 to 7.34 ?
Thanks

Comments

Jaypan’s picture

I generally do every second version in situations like this. 7.14, 7.16, 7.18 etc.

Note that if your site is 7.12, it's likely been hacked in Drupalgeddon. Read this thread for more information: https://www.drupal.org/drupalsa05FAQ

five5’s picture

Hi Jaypan,
Thanks for your help and quick replay, no is not hacked but when i uploaded all the files (except the site folder) from Drupal 7.34 to my remote server, i get this message:

Parse error: syntax error, unexpected '{' in /home/siteName/www/update.php on line 313

It will be a solution to upgrade it, no?
Regards.

Jaypan’s picture

First off, did you not read my post? You should go every second version, not directly to 7.34.

Next, it sounds like the upload of update.php did not complete properly.

And finally, I'd be amazed if your site wasn't compromised. You should probably read through that thread I linked, and do a major evaluation to see if you've been hacked.

five5’s picture

Hi Jaypan ,
So i have to install all the version you mentioned until the newest one...Lots of work no?
If this is the only solution, i don't have the choice?

Maybe you are right, I will read this link you sent and see if my site have been hacked.
Thanks again for you help.

Best regards.

Jaypan’s picture

So i have to install all the version you mentioned until the newest one...Lots of work no?

It depends on your workflow. I'm assuming you are using FTP, in which case yes, it will be a lot of work. So you should probably try to keep up on it in the future.

If you use GIT, it can be done quite quickly.

If this is the only solution, i don't have the choice?

You can try jumping right from 7.10 to 7.34 and seeing if it works. But you open up your risk of something going wrong, so make sure you take a backup of your database before you start.

Actually you should do that anyways, even if making the jump by steps of two.

five5’s picture

Hi Jaypan,
I just uploaded the drupal 7.14 files via FTP but is not working
Here are the error messages:

update.php
Parse error: syntax error, unexpected '{' in /home/websiteName/www/update.php on line 287

index page
Parse error: syntax error, unexpected T_CLASS in /home/websiteName/www/includes/bootstrap.inc on line 287

What do you think about that?

Thanks in advance,
Regards.

Jaypan’s picture

I think it sounds like you are having some problems with your ftp file transfers. Maybe a bad internet connection, or maybe an ftp problem.

You may find it easier to upload the zipped file to the server, and unpack it on the server.

five5’s picture

Hi Jaypan,
My internet connection is good, the files upload very fast to the server.
You know, I will test everything locally and see if it works.
Anyways, thank you for you help Jaypan. You are the best.
Best regards.

narendraR’s picture

Drush is a better option to upgrade drupal site.

Let's Drupal