PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

Upgrading step by step !!!

138 replies to this topic
#1
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
Congratulations to the Prestashop Development team & the rest of members here helping to resolve many bugs.

I have a few tips for people upgrading below
I realise that most of this may be in the WIKI but not everyone looks at this.

UPGRADING STEP BY STEP!

BACKUP BACKUP BACKUP! just in case :lol:

PART 1
1) Download the latest Prestashop 1 Final here Lastest PrestaShop version
2) Create a new folder ie call this. "prestshop1"
3) upload the contents of the new v1 final zip to the folder above
5) upload from BK or move from current location both your theme directory & img directory.
if modifications have been made to any modules please move this in to the new location renaming the current folder to bk-img etc.
6) set your permissions recursively to all directories except CONFIG / TOOLS
7) set permissions to config 777 & /tools/smarty/compile (Not recursively)

PART 2
Before running the updater you need to do the following
1) Upload your settings.inc.php from your BK then CHMOD 777
2) you may nee to CHMOD 777 to logo.jpg located in your img directory unless this has already been done
3) Run the updater ;-)

SUCCESS PRESTASHOP v1 FINAL IS NOW INSTALLED

PART 2 (Optional) - If you wish to use the same directory used on your last install follow these steps!
1) Rename the old directory to RC5 or what ever your previous version is so you don't get them mixed up
2) Now rename Prestashop1 back to your previous directory

If you rename your new directory make sure your define the new directory here in settings.inc.php
define('__PS_BASE_URI__', '/prestashop1/');

A note to the developers __PS_BASE_URI__ needs to be automatically updated on install!

FOUND A SMALL BUG IN THE UPDATER
for those of you who after updating can't login here's the quick fix!

Request a password as this will generate a new password based on your new _COOKIE_KEY_

if you don't receive an email with this new password you need to manually update _COOKIE_KEY_ & COOKIE_IV with your old value from your previous backup you will find in your settings.inc.php

hope that helps ;-)
And if all else fails more info below in the WIKI!

Wiki update instructions "here":/wiki/Getting_Started/#Update_PrestaShop
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#2
jtyana

    PrestaShop Apprentice

  • Members
  • PipPip
  • 158 posts
Already? But I only found Prestashop last night :-)

I wanted to say "Thank-you" I am very happy I found Prestashop

#3
Malakomaha

    PrestaShop Apprentice

  • Members
  • PipPip
  • 68 posts
Me too very happy.
It's good that it released TODAY. Tomorrow - my Opening-day. There's still time ;-)
malakomaha.com.ua - Товари для дітей. Інтернет-магазин.
На жаль, я більше не користувач PrestaShop.

#4
serjik

    PrestaShop Newbie

  • Members
  • Pip
  • 2 posts
Thank you very much! ;)

#5
Brainfever

    PrestaShop Newbie

  • Members
  • Pip
  • 3 posts
Congratulations!

Tomorrow I'll upgrade my RC5 version. I can't wait!

#6
gothchicz

    PrestaShop Newbie

  • Members
  • Pip
  • 15 posts
Hi...
Just want to know...
Whats new from the prestashop V.1.0
I meant whats the different with the RC.5?
Because im really sucks to update into the V.1.0
Im afraid to lose all my data if i update it...
And my RC.5 already works great....

#7
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
Basically it's a lot more stable ;-)
As long as you backup you will be fine.

PM me if you want install service ;-)
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#8
Lisa

    PrestaShop Newbie

  • Members
  • Pip
  • 11 posts
I followed the upgrade instructions, and ended up with two installs---one of RC5, and one of 1.0, in different folders.

I had perfect results by backing up RC5, then deleting the whole site (minus the database), and uploading 1.0. Then I copied over my old settings.config, img directory, and theme.

#9
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
You shouldn't end of with to installs.
You need to drop Prestashop in to a new directory & only copy over the necessary folders & not the installer :)
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#10
Lisa

    PrestaShop Newbie

  • Members
  • Pip
  • 11 posts
The instructions say to create a new folder, and upload the contents of the zip file into it---and the zip file contains the installer. I followed the posted instructions to the letter, and they gave me two installs---one in my original folder, of RC5, and one in the new folder I created, of 1.0.

#11
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
Sorry you are correct, after reading this again you said you have to installers but in separate folders.
this is fine you just have RC5 as a BK just in case. Sorry I misunderstood you first time :red:

Do you have any problems with the install ?
If you or anyone else trying to upgrade does have issues then please drop me a PM with the access details & I would be happy to look as long as you describe your problem first here %-P
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#12
Project 14

    PrestaShop Newbie

  • Members
  • Pip
  • 23 posts
I've just tried updating from RC5 to 1.0, uploaded everything, copied what needed to be copied to the new directory, ran the install, and the option for upgrading was grayed out: "Update: Get the latest stable version (no old version detected)". Trying to go through the normal install (without installing any products) wanted me to create a new database as one already existed with the default name. Any ideas where I might have gone wrong?

#13
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
All you need to do is make sure you upload settings.in.php to the config directory then the update option will appear ;-)
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#14
Project 14

    PrestaShop Newbie

  • Members
  • Pip
  • 23 posts
D'oh - I missed that one. That's what you get for trying to update complex stuff past midnight! Will try again when I've had some sleep!

#15
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
I was updating 3am yesterday
you must be in the UK then :lol:
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#16
Project 14

    PrestaShop Newbie

  • Members
  • Pip
  • 23 posts
Waaa - something's gone wrong with some .htaccess rewrite rules somewhere when I've upgraded.

My site runs WordPress for most of it, and I've only installed PrestaShop in a directory '/shop/' - before I upgraded, WordPress (running in maintenance mode - which basically turns off the site) was working OK with PrestaShop, but now I can get to '/shop/' and view the page, but when I try to get into a category, I get shunted back to the WordPress maintenance mode page, like it thinks '/shop/' is part of WordPress and should be denied access.

Turning off maintenance mode and trying to click into a category just points me to a WordPress error page, like it can't find a page in WordPress that it's expecting...

Any tips on what I might have done wrong, or how I can get it back to where it was? I've still got backups of everything from RC5...

Thanks,

#17
Project 14

    PrestaShop Newbie

  • Members
  • Pip
  • 23 posts

From 1217882704:

Waaa - something's gone wrong with some .htaccess rewrite rules somewhere when I've upgraded.

My site runs WordPress for most of it, and I've only installed PrestaShop in a directory '/shop/' - before I upgraded, WordPress (running in maintenance mode - which basically turns off the site) was working OK with PrestaShop, but now I can get to '/shop/' and view the page, but when I try to get into a category, I get shunted back to the WordPress maintenance mode page, like it thinks '/shop/' is part of WordPress and should be denied access.

Turning off maintenance mode and trying to click into a category just points me to a WordPress error page, like it can't find a page in WordPress that it's expecting...

Any tips on what I might have done wrong, or how I can get it back to where it was? I've still got backups of everything from RC5...


Nevermind - the htaccess file in 1.0 is called htaccess.txt - renaming it to .htacess fixed the problem. :D

#18
Rod_

    PrestaShop Apprentice

  • Members
  • PipPip
  • 92 posts
Once I upgrade my PS and try to enter to the admin panel I get this:
"There is 1 error
1. employee does not exist, or bad password
"
Southern PS Fan =)

#19
ejectcore

    PrestaShop Addict

  • Members
  • PipPipPip
  • 827 posts
This seems to happen a lot all you need to do is request new password ;-)
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#20
Rod_

    PrestaShop Apprentice

  • Members
  • PipPip
  • 92 posts
And what if I'm doing it on a local server without a mail server?.
Southern PS Fan =)