Jump to content
  • 0
OC2PS

Upgrading to 1.4.5.1 - Frequently Asked Questions

Question

[b][size=5]New version[/size][/b]

[color=#ff0000]1. What's new in 1.4.5.1? [/color]

A. A lot - check [url="http://www.prestashop.com/download/changelog_1.4.5.1.txt"]here[/url]

[color=#ff0000]2. Will upgrading screw up my modules, themes, etc?[/color]

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.

[b][size=5]Upgrade process[/size][/b]

[color=#ff0000]3. I am running version 1.3.x or 1.4.x at the moment. How do I upgrade?[/color]

A. Upgrading is simple; read instructions [url="http://www.prestashop.com/download/guide_MAJ_PS14_en.pdf"]here[/url] or watch video [url="http://vimeo.com/22111490"]here[/url]

But wait! You don't have to! PrestaShop has now released (thanks [url="http://www.prestashop.com/forums/user/15705-michael_marinetti/"]Michaël Marinetti[/url]) an [b]autoupgrade module[/b] which will do all the work for you. You can download the module and check out the instructions [url="http://www.prestashop.com/forums/topic/136668-1451-upgrade-guide/page__view__findpost__p__655595"]here[/url]. While it has been released as a module to help legacy installations, from now on, autoupgrade will be a part of the core software.

[size=5][b]Upgrading with Autoupgrade module[/b][/size]

[color=#ff0000]4. I am unable to install [b]Autoupgrade[/b] module. What can I do?[/color]

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

[color=#ff0000]5. I have installed the module and started step 4 of Mike Kranzler's [url="http://www.prestashop.com/forums/topic/136668-1451-upgrade-guide/page__view__findpost__p__655595"]instructions[/url]. Selected “No” under "[b]Shop Desactivated[/b]", but can't see “[b]Enable Shop[/b]”!![/color]

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

[color=#ff0000]6. I have finished step 5 of Mike's [url="http://www.prestashop.com/forums/topic/136668-1451-upgrade-guide/page__view__findpost__p__655595"]instructions[/url], but do not see the "[b]Upgrade Prestashop Now![/b]" button.[/color]

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

[color=#ff0000]7. Clicked "[b]Upgrade Prestashop Now![/b]" button, but getting error.[/color]
[color=#ff0000][CODE][Server Error] Status message : error[/CODE][/color]

A. If you are using shared hosting like [b]godaddy[/b] or [b]1and1[/b], it is highly likely that this is caused because of a server timeout. In your hosting account root, find the [i]php5.ini[/i] file and add/edit max_execution_time line so that it looks like:
[CODE]max_execution_time = 300[/CODE]
To be sure, do the same in [i]php.ini[/i]
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 "[b]Upgrade Prestashop Now![/b]" you still get the same error, then in your PS files, change Line 29 in [i]/config/config.inc.php[/i] from
[CODE]@ini_set('display_errors', 'off');[/CODE]
to
[CODE]@ini_set('display_errors', 'on');[/CODE]
Then open your Prestashop backoffice in [url="http://www.mozilla.org/en-US/firefox/new/"]Firefox[/url].
Start [url="https://addons.mozilla.org/en-US/firefox/addon/firebug/?src=cb-dl-mostpopular"]Firebug[/url] (you'll need to have it already installed).
In Firebug, click [i]Console[/i] Tab, then [i]Errors[/i] subtab
Then in your PS backoffice, hit "[b]Upgrade Prestashop Now![/b]" again.
Take a screenshot of the errors (e.g. with [url="http://windows.microsoft.com/en-US/windows7/products/features/snipping-tool"]Windows 7 Snipping Tool[/url]) and save the image
Send this screenshot to US Community Manager [url="http://www.prestashop.com/forums/user/276528-mike-kranzler/"]Mike Kranzler[/url] - he will be happy to help

[color=#ff0000]8. I am getting an error during backup. [/color]
[color=#ff0000][CODE]error during backupDB[/CODE][/color]

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

[color=#ff0000]9. I am having problems with blocklayered module after completing upgrade![/color]

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

[color=#ff0000]10. I installed the Autoupdate module fine, but I don't see the [i]Tools > Upgrade[/i] tab that I am supposed to go to.[/color]

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 [i]/admin/ [/i]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[i] Employee > Tabs[/i] and check if the tab "[b]Upgrade[/b]" 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

[color=#ff0000]11. The process stop when "backupFiles" immediately. How to fix that ?[/color]

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

[color=#ff0000]12. The process stop when "unzip". How to fix that ?[/color]

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

Share this post


Link to post
Share on other sites

52 answers to this question

Recommended Posts

  • 0
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 :
[b] Currently processing :[/b]

All sample files removed. Now backup files.
message!

Share this post


Link to post
Share on other sites
  • 0
[quote name='Mike Kranzler' timestamp='1318963905' post='659011']
Hi soroosh,
Do you get any message or warning, or anything that would tell you that the upgrade has failed?

-Mike
[/quote]

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

[b]Currently processing :[/b]

All sample files removed. Now backup files.

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites
  • 0
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?

Share this post


Link to post
Share on other sites
  • 0
[quote name='soroosh' timestamp='1319191315' post='661470']
But for unknown reasons I had to upgrade it manually :(
[/quote]

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

Share this post


Link to post
Share on other sites
  • 0
After upgrade, i found that error:


[b] The following module(s) couldn't be loaded:[/b]
[list=1]
[*]All modules cannot be loaded due to memory limit restriction reason, please increase your memory_limit value on your server configuration
[/list]
What it could be?

Share this post


Link to post
Share on other sites
  • 0
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

Share this post


Link to post
Share on other sites
  • 0
Hi, I am getting the following error/warning after auto upgrade on payment tab options page (Back End) after installation:

[b] The following module(s) couldn't be loaded:[/b]
[list=1]
[*]All modules cannot be loaded due to memory limit restriction reason, please increase your memory_limit value on your server configuration
[/list]
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?

Share this post


Link to post
Share on other sites
  • 0
Good evening Mr. Kranzler

first of all let me take the opportunity to say thank you to you and the Prestashop team.
I'm having a problem upgrading to prestashop 1.4.5.1 attached is a screenshot from firebug.

in advance thank you.

[attachment=44514:presta.jpg]

Was able to upgrade manually via Fillezilla thank you. Edited by HF509

Share this post


Link to post
Share on other sites
  • 0
Hi David,
If you have the permissions to do so, you can try increasing the memory limit in this file by just changing it from 128M to a larger number to try to circumvent this error. And if this doesn't work, please just give your hosting provider a call, tell them your situation and ask them to increase your memory limit for this purpose. I hope this helps!

-Mike

Share this post


Link to post
Share on other sites
  • 0
I upgraded using auto upgrade without any problems. Thanks to the PS team for this great service!

Are we able to delete any files from our server after the upgrade? I see on my server:

public_html/admin****/autoupgrade/latest/prestashop/

It looks like there's another copy of Prestashop there for the upgrade I presume. Is it ok to delete this? Just want to keep my server tidy as I have limited space :)

Phil

Share this post


Link to post
Share on other sites
  • 0
Ok guys here on ps 1.4.4.0 fresh install.

Could not upadte due to the problem of ziparchive on centos and php 5.1.6 now solved with:

Step 0: Set up the yum-priorities plugin: [url="http://wiki.centos.org/PackageManagement/Yum/Priorities"]http://wiki.centos.o.../Yum/Priorities[/url]
Step 1: Enable the [url="http://fedoraproject.org/wiki/EPEL"]EPEL[/url] repository: [url="http://wiki.centos.org/AdditionalResources/Repositories"]http://wiki.centos.o...es/Repositories[/url]
Step 2: Install the php-pecl-zip extension package: yum install php-pecl-zip

But now i got errors like:

error when trying to add /var/www/html/esselite/js/sendMailTest.js to archive .

Previously i had errors on moving images from /img/ folder

Can u please suggest any solution?

AND...

auto upgrade only starts if :

don't save images flag to yes
keep theme flag to yes
kepp traslation flag to yes

putting no to the save images flag will produce the backup to stop at "Backup files now"

:(

AND...

doing more tests in this morning shows that it seems a limit of the procedure...movint the sendmail to another path put of ps, produce the same error but on the file near after him, in this case tabpane.js

max_execution set to 300
max_input set to 300
memory limit 128mb -> tried to set it to 256mb = no luck same error
post_max_size 100mb
upload_max set to 200mb

Share this post


Link to post
Share on other sites
  • 0
What can you do if your host doesn't allow you to change the max execution time in php.ini? (apart from changing host completely)

I'm with Siteground and I've contacted them but they said it's not allowed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×