Dave L Posted October 14, 2011 Share Posted October 14, 2011 Good to see another 1.4+ update prior to the release of 1.5. Happy to see V1.4.5.1. has lots of bugs fixed Changelog Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 Is the new version out tonight? Damn! Great work from Prestashop team. Looks like they cleaned out a lot of bugs! Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 It's out now. HERE Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 Is there a safe way to perform this upgrade? Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 Ah found the solution: http://doc.prestashop.com/display/PS14/Updating+PrestaShop Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 I was wondering since I am currently using svn 1.4.4.0 and there's the Upgrade feature (Tools > Upgrade). Would this work? Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 I just checked that out and found that when trying to use the feature I get the message You currently don't need to use this feature. The usual upgrade process is pretty straight forward though. Takes a bit of time but it's OK. Just make sure you follow it precisely and you should have no problems. Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 Do you think this new version will interfere with all the other developers modules I purchased and will be buggy? Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 Don't see any reason why it should. Had it been a major release like V1.5 I would be slightly concerned. Anyway, if you follow the correct procedure the upgrade happens in a different folder to your main site. Once the upgraded site is functioning correctly, and you have checked the modules are working correctly, only then do you replace your live site. Should something go wrong, or you find that some of the modules don't work, you have lost nothing because your original site hasn't been touched. Basically, when you upgrade you make a copy of your main site in a sub-folder and a copy of your database. The copy is the one that is merged with the new files and the upgrade installed. Following a successful upgrade you would delete the main site files and then move the upgraded site out of the sub-folder to root. The upgraded site then becomes your main site. Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 Thanks for the prompt response Dave! Ooh alright cool. I am backing up the database and files as we speak. Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 Let me know how it all goes. Good luck Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 /classes folder: in case you have added customized classes to this folder, copy them to the new /classes folder. Then open each and every one of them, and rename their class name, adding the "Core" suffix. For instance, "MyClasse" becomes "MyClasseCore". Only change the name in the PHP class within file, not the name of the file itself. I just don't understand this step. If I have modified classes files, do I copy and replace them to the new /classes folder? I'm not quick sure how to rename their class name by adding "Core" Does that mean to go into the file and do a save as PHP and adding Core to the end of each file in /Classes? Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 It's saying that if you had any files in the classes folder that you had previously edited you need to copy those files to the new /classes folder, open the file and change the class name within. I think it's more for those upgrading from a V1.3+ as those files didn't have a Core suffix. I think it unlikely you have modified any of these files anyway. Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 Thanks for clarifying. I do actually for Attribute Wizard Pro, RRR, and other modules. But if I am going from 1.4.4.0 to 1.4.5.1 do you think I need to do this step? Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 In this case open each file and make sure the class name has the Core suffix (it most like has already). If not, add it, save the file and replace the one in the new /classes folder with it. If you are still not sure just copy the first part of the file and post it here (using the code tags) and we'll take a look. Here's an example from the /classes/attribute.php file class AttributeCore extends ObjectModel You can see the class name has a 'Core' suffix. Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 Ah gotcha Dave! Every file has Core in it already. Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 I though it would have given you are upgrading from 1.4.4.0 Just replace those files in the upgrade /classes folder with your modified /classes files. Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 Thanks! Now I am uploading 850MB back to the FTP server. Oh joy. Have you upgraded your shop to 1.4.5.1 yet bro? Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 I know the feeling. I was going to start upgrading some of my sites earlier but I really couldn't face it today Problem is over here in Thailand I have a really slow connection (6MB) and as my VPS is in the UK it's even slower with FTP so a real pain. Back in the UK I had 20MB which made things not quite so bad. Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 I don't understand why Prestashop won't release a one-click update like what Wordpress offers. Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 I think that's what the upgrade function in Tools is supposed to be. I'm not aware of anyone being able to use it yet though. How's the uploading doing? Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 A long way to go at this upload rate. Next time I will just upload a ZIP compressed file and extract it instead. Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 http://www.prestashop.com/forums/topic/136612-guide-de-mise-a-jour-en-1451/ Ahh they released a autoupgrade module! Only if I saw it sooner. Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 That's good if it works well. They released it less that an hour ago by the look of it. Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 Got this from Carl To facilitate the transition to 1.4.5.1, you will find below an updated guide for versions ranging from 1.3.x to 1.4.4.1 Step 1 Download the module automatically update available as attachments below. autoupgrade.zip (158.99K) Number of downloads: 12 Step 2 Go to the admin panel> Modules> Add a new module. And select the archive module's automatic update. Step 3 Install the v0.1 AutoUpgrade Step 4 Go to Tools> Upgrade line "Shop desactivated", click "No" and select NO toactivate the store Step 5 Return to Tools> Upgrade and bottom of the page select the options as below and save. Step 6 Click Upgrade PrestaShop now. Be patient, it may take several minutes (do not close the page). Step 7 Reactivate your store by going to Preferences. Your shop is now updated." To download the module: http://www.prestashop.com/forums/index.php?app=core&module=attach§ion=attach&attach_id=44125 -- Testing now on my page, hope it works! Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 Update: Link to comment Share on other sites More sharing options...
OC2PS Posted October 14, 2011 Share Posted October 14, 2011 Happy to see V1.4.5.1. has lots of bugs fixed Changelog Since 1.5 is a separate trunk, I wonder what they'll do to ensure these bugs don't creep back into 1.5 Link to comment Share on other sites More sharing options...
philee Posted October 14, 2011 Share Posted October 14, 2011 We'll just sit back and wait for Prestashop's developers to blow us away. Link to comment Share on other sites More sharing options...
Dave L Posted October 14, 2011 Author Share Posted October 14, 2011 We'll just sit back and wait for Prestashop's developers to blow us away. How's that upgrade coming along? Link to comment Share on other sites More sharing options...
philee Posted October 15, 2011 Share Posted October 15, 2011 Hi Dave, Got the upgrade to work by doing it manually. However, there's a critical error where the category tree doesn't show up in the box office. Update: Ahh! What a nightmare, after the upgrade the category tree is missing from layered navigation/catalog/product entirely. However, in the FO I am able to see and navigate through products. Also, if I do a BO catalog find of the product I am to go in and edit the product. UPDATE: Thanks to Michael, he informed how to fix it by transferring over the old image.inc.php file. Careless mistake on my part. However, the category tree is still only showing the Home section. Not showing all of it. Link to comment Share on other sites More sharing options...
OC2PS Posted October 15, 2011 Share Posted October 15, 2011 Is there a safe way to perform this upgrade? Autoupdate module with Step-by-step guide in English and screenshots http://www.prestashop.com/forums/topic/136668-1451-upgrade-guide/ Link to comment Share on other sites More sharing options...
philee Posted October 15, 2011 Share Posted October 15, 2011 @OC2PS I did it the manual way instead, since it wasn't working at first. Link to comment Share on other sites More sharing options...
Recommended Posts