Jump to content

Help with Upgrading


Recommended Posts

Hi everyone!

I have a problem with upgrading. I had a look at the wiki and some forum posts but they all seem to be saying "back up old prestashop folder and rename it to ______". But the problem is that all my files and folders such as modules, themes, imgs etc are all in the root directory. I uploaded the entire prestashop 1.2.5 to a new directory called prestahop1 but I'm a little confused. What do I do next?

I'm scared I'll lose all the files so I backed up a few times too.

Thanks in advance for your help. =)

Link to comment
Share on other sites

Not what you/re wanting to hear, but I would make a folder named something like "prestashop_old", and copy every prestashop-related file and directory into it. Then, when you upgrade, install it in a folder named "prestashop" (or whatever name you choose).

In other words, having all of the prestashop files in the root directory is going to be a recurring pain for you, and I would recommend you just grimace and fix the problem now as part of the upgrade, so that next time this problem won't be there.

You could also do all of this first with the old files, and get to a point where your website is working correctly out of a prestashop-specific folder, before trying to do the upgrade. That way you have fewer things changing at once and if you have a problem you won't be wondering whether it is due to the upgrade or due to moving to a separate folder beneath root.

I'm sure this is not happy advice to hear but I think if you fix it now it will pay off many times in the future; this is not the only time you will need to upgrade and you don't want to see this problem every time. Also without being too negative I do want to mention that there have been more than a few people who found the upgrade to 1.2.x to be problematic, so having the ability to quickly and cleanly fall back to the old code is important in case the upgrade does not go smoothly for you.

Link to comment
Share on other sites

  • 2 weeks later...

Well, in my store I did go ahead and have the /prestashop/ in the store URL. So, there's a (non-prestashop) top page at www.mysite.com, and on that is a link saying something like "click here to enter mysite.com's online store", and that link is www.mysite.com/prestashop. This top page could be raw html, or something else like wordpress if you want a more elaborate front page outside your shop.

There are several other ways to do this, and it is possible to put the prestashop files in their own folder and still have www.mysite.com point to this (for example through an apache setting), but I won't try to give advice on something I haven't done myself.

Link to comment
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
×
×
  • Create New...