Upgrading to 1.4.5.1 - Frequently Asked Questions - Upgrading PrestaShop from a previous version - PrestaShop

Jump to content

Photo

Upgrading to 1.4.5.1 - Frequently Asked Questions

#1

Posted 17 October 2011 - 12:32 PM

OC2PS

    PrestaShop Addict

  • Members
  • PipPipPip
  • 512 Active Posts
New version

1. What's new in 1.4.5.1?

A. A lot - check here

2. Will upgrading screw up my modules, themes, etc?

A. If you are running 1.4.x, then your modules, themes, etc should be fine as 1.4.5.1 is based off the same codebase. However, if you have modified any core files, these modifications are likely to be overwritten in the upgrade process.

Upgrade process

3. I am running version 1.3.x or 1.4.x at the moment. How do I upgrade?

A. Upgrading is simple; read instructions here or watch video here

But wait! You don't have to! PrestaShop has now released (thanks Michaël Marinetti) an autoupgrade module which will do all the work for you. You can download the module and check out the instructions here. While it has been released as a module to help legacy installations, from now on, autoupgrade will be a part of the core software.

Upgrading with Autoupgrade module

4. I am unable to install Autoupgrade module. What can I do?

A. First, try changing default language to English. Then uninstall and install the module again.

5. I have installed the module and started step 4 of Mike Kranzler's instructions. Selected “No” under "Shop Desactivated", but can't see “Enable Shop”!!

A. "Shop Desactivated" and “Enable Shop” are actually on 2 different pages. Selecting “No” under "Shop Desactivated" is designed to redirect you to the page where you find “Enable Shop”. If for any reason (e.g. if "Shop Desactivated" was already "No" in your shop) the redirect doesn't work, then go to Preferences tab, and you'll find “Enable Shop” right at the top.

6. I have finished step 5 of Mike's instructions, but do not see the "Upgrade Prestashop Now!" button.

A. That happens sometimes. Click "Click here to refresh" button (you will find it somewhere below "Last version is 1.4.5.1 final (1.4.5.1)").

7. Clicked "Upgrade Prestashop Now!" button, but getting error.
[Server Error] Status message : error


A. If you are using shared hosting like godaddy or 1and1, it is highly likely that this is caused because of a server timeout. In your hosting account root, find the php5.ini file and add/edit max_execution_time line so that it looks like:
max_execution_time = 300
To be sure, do the same in php.ini
You may need to wait up to 24 hours (depending on the time at which the host resets servers) for this to take effect.

If even 24 hours after making the above change, on hitting "Upgrade Prestashop Now!" you still get the same error, then in your PS files, change Line 29 in /config/config.inc.php from
@ini_set('display_errors', 'off');
to
@ini_set('display_errors', 'on');
Then open your Prestashop backoffice in Firefox.
Start Firebug (you'll need to have it already installed).
In Firebug, click Console Tab, then Errors subtab
Then in your PS backoffice, hit "Upgrade Prestashop Now!" again.
Take a screenshot of the errors (e.g. with Windows 7 Snipping Tool) and save the image
Send this screenshot to US Community Manager Mike Kranzler - he will be happy to help

8. I am getting an error during backup.
error during backupDB


A. If you have cache (memcache or filesystem cache) enabled (BackOffice > Preferences > Performace), please disable it and try again.

9. I am having problems with blocklayered module after completing upgrade!

A. Go to BackOffice > Preferences > Performace
Disable cache (at the bottom of the page)
Disable Force Compile (at top of the page)

10. I installed the Autoupdate module fine, but I don't see the Tools > Upgrade tab that I am supposed to go to.

You are probably using an old version of PS...there was a bug with displaying tabs. In the URL, next to your PS base, add /admin/index.php?tab=AdminSelfUpgrade (replace /admin/ with whatever you have renamed admin folder to). This should take you directly to the upgrade page.


If you are running 1.4.x then it's probably a permission issue. To fix this:
Go in Employee > Tabs and check if the tab "Upgrade" is created. If yes, then delete it. Then, create a new employee:
name : Upgrade
class : AdminSelfUpgrade
module : autoupgrade
parent: Tools

The tab should now appear when you go on tab Tools

11. The process stop when "backupFiles" immediately. How to fix that ?

Your php configuration does not have the "ZipArchive" extension, and the module need it for backup files. This will be fixed in a future release of that module.

12. The process stop when "unzip". How to fix that ?

This can be a write permission problem. Please check the user which runs apache has proper rights to all your admin/autoupgrade/ directory.

#2

Posted 17 October 2011 - 01:34 PM

Asenar

    PrestaShop Addict

  • Members
  • PipPipPip
  • 597 Active Posts
Thanks you very much OC2PS !

We will probably edit it when new question and answers cames :)
Michael Marinetti

prestashop is a long story. Still around sometimes, but don't ask me help in PV.

Github addict

#3

Posted 17 October 2011 - 01:35 PM

Carl Favre

    Community Addict

  • Members
  • PipPipPipPip
  • 3929 Active Posts
Really great post OC2PS.

I pinned it.

Thanks. :)

#4

Posted 17 October 2011 - 03:28 PM

Mike Kranzler

    PrestaShop Superstar

  • Members
  • PipPipPipPipPip
  • 8076 Active Posts
Thanks OC2PS!

-Mike
I am no longer PrestaShop's Community Manager. Please direct all PrestaShop Forum requests to Benjamin Utterback or Patric Codron

#5

Posted 18 October 2011 - 07:16 PM

soroosh

    PrestaShop Apprentice

  • Members
  • PipPip
  • 31 Active Posts
I have problem with auto update:
I face with suspended "Currently processing : I'm waiting for your command, sir" message.
After updating the AdminUpgrade.php file (with commenting line:1117) I faced with suspended :
Currently processing :

All sample files removed. Now backup files.
message!

#6

Posted 18 October 2011 - 07:19 PM

Mike Kranzler

    PrestaShop Superstar

  • Members
  • PipPipPipPipPip
  • 8076 Active Posts
Hi soroosh,
Can you please post a screenshot of the error you're encountering?

-Mike
I am no longer PrestaShop's Community Manager. Please direct all PrestaShop Forum requests to Benjamin Utterback or Patric Codron

#7

Posted 18 October 2011 - 07:35 PM

soroosh

    PrestaShop Apprentice

  • Members
  • PipPip
  • 31 Active Posts
Hi Mike
Actually this is not an error.
But is an stop point for the upgrade progress.
Screen shot attached.

Attached Files



#8

Posted 18 October 2011 - 07:51 PM

Mike Kranzler

    PrestaShop Superstar

  • Members
  • PipPipPipPipPip
  • 8076 Active Posts
Hi soroosh,
Do you get any message or warning, or anything that would tell you that the upgrade has failed?

-Mike
I am no longer PrestaShop's Community Manager. Please direct all PrestaShop Forum requests to Benjamin Utterback or Patric Codron

#9

Posted 18 October 2011 - 07:56 PM

soroosh

    PrestaShop Apprentice

  • Members
  • PipPip
  • 31 Active Posts

Hi soroosh,
Do you get any message or warning, or anything that would tell you that the upgrade has failed?

-Mike


No, I don't get any message or warning. Just freeze with this message:

Currently processing :

All sample files removed. Now backup files.

#10

Posted 18 October 2011 - 09:08 PM

Mike Kranzler

    PrestaShop Superstar

  • Members
  • PipPipPipPipPip
  • 8076 Active Posts
Hi soroosh,
It is possible that this is an issue with your server speed and timeout settings. If you have access to the file php5.ini in your root directory, please try changing max_execution_time from 30 to 300 and see if that solves it for you. If you don't have access to this, please ask your hosting provider to do this for you.

I hope this helps.

-Mike
I am no longer PrestaShop's Community Manager. Please direct all PrestaShop Forum requests to Benjamin Utterback or Patric Codron

#11

Posted 19 October 2011 - 06:33 AM

soroosh

    PrestaShop Apprentice

  • Members
  • PipPip
  • 31 Active Posts
I asked from hosting support about the max_execution_time and they said that it sets on 300 but the problem exists.

Is there anyway to upgrade 1.4.4.1 to 1.4.5.1 manually without losing data and customizations?

#12

Posted 19 October 2011 - 11:54 AM

OC2PS

    PrestaShop Addict

  • Members
  • PipPipPip
  • 512 Active Posts


#13

Posted 20 October 2011 - 11:23 PM

trendbutiker.se

    PrestaShop Apprentice

  • Members
  • PipPip
  • 29 Active Posts
Hi. Just want to say thanks for this upgrade module. It worked like a charm for me:-).. Just upgraded from 1.4.4.1 to 1.4.5.1

//Daniel

#14

Posted 21 October 2011 - 11:01 AM

soroosh

    PrestaShop Apprentice

  • Members
  • PipPip
  • 31 Active Posts
But for unknown reasons I had to upgrade it manually :(

#15

Posted 21 October 2011 - 02:03 PM

Mike Kranzler

    PrestaShop Superstar

  • Members
  • PipPipPipPipPip
  • 8076 Active Posts

But for unknown reasons I had to upgrade it manually :(


Hi soroosh,
I'm sorry to hear that the autoupgrade module didn't work properly for you, but can you confirm that you were successful in upgrading manually?

-Mike
I am no longer PrestaShop's Community Manager. Please direct all PrestaShop Forum requests to Benjamin Utterback or Patric Codron

#16

Posted 21 October 2011 - 03:19 PM

soroosh

    PrestaShop Apprentice

  • Members
  • PipPip
  • 31 Active Posts
Hi Mike
Yes, I could successfully upgrade it manually!

#17

Posted 21 October 2011 - 03:28 PM

Mike Kranzler

    PrestaShop Superstar

  • Members
  • PipPipPipPipPip
  • 8076 Active Posts

Hi Mike
Yes, I could successfully upgrade it manually!


Great! I'm glad that you were able to upgrade. Enjoy 1.4.5!!

-Mike
I am no longer PrestaShop's Community Manager. Please direct all PrestaShop Forum requests to Benjamin Utterback or Patric Codron

#18

Posted 21 October 2011 - 08:06 PM

Crisplant

    PrestaShop Newbie

  • Members
  • Pip
  • 15 Active Posts
After upgrade, i found that error:


The following module(s) couldn't be loaded:
  • All modules cannot be loaded due to memory limit restriction reason, please increase your memory_limit value on your server configuration
What it could be?

#19

Posted 21 October 2011 - 09:33 PM

Mike Kranzler

    PrestaShop Superstar

  • Members
  • PipPipPipPipPip
  • 8076 Active Posts
Hi Crisplant,
In this situation, you will want to call your hosting provider and ask them to increase your memory limit. Just explain this situation to them and they should be able to take care of that for you pretty easily.

-Mike
I am no longer PrestaShop's Community Manager. Please direct all PrestaShop Forum requests to Benjamin Utterback or Patric Codron

#20

Posted 22 October 2011 - 05:14 AM

Mallee Boy

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 462 Active Posts
Hi, I am getting the following error/warning after auto upgrade on payment tab options page (Back End) after installation:

The following module(s) couldn't be loaded:
  • All modules cannot be loaded due to memory limit restriction reason, please increase your memory_limit value on your server configuration
I am alos unable to access translations.

I have "SetEnv PHPRC /home/gamesfro/public_html" in my htaccess and I have a php.ini file (permission 644) which reads:

upload_max_filesize = 128M
post_max_size = 128M
memory_limit = 128M
suhosin.post.max_vars = 6400
suhosin.request.max_vars = 6400

What else do I need to do?

David Trounce

Mallee Blue Media.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more