itcwebman Posted September 5, 2012 Share Posted September 5, 2012 (edited) Hello, I'm liking the new version alot! I have installed it as a test version however I'm not sure how to copy across products from my current live site (1.4.9). Can this be done easily? Regards, RIchard Edited September 6, 2012 by itcwebman (see edit history) Link to comment Share on other sites More sharing options...
itcwebman Posted September 6, 2012 Author Share Posted September 6, 2012 Thanks for your help. I'm still learning SQL! Is there anyway that I can export all data from my shop 1.4.9 and import into the new version 1.5? Regards, Richard Link to comment Share on other sites More sharing options...
itcwebman Posted September 6, 2012 Author Share Posted September 6, 2012 Maybe the subject will mean a bit more now! Has anyone managed to do this? regards Richard Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 6, 2012 Share Posted September 6, 2012 Hello Richard, if you want to export and import your database, you can use myPHPadmin. There is a nice guide here, http://www.tmdhosting.com/tutorials/prestashop/prestashop-backup.html Remember to always back up, 1.5 is not released yet and still should be used in a test environment. Thank you for choosing PrestaShop! Link to comment Share on other sites More sharing options...
itcwebman Posted September 7, 2012 Author Share Posted September 7, 2012 Hello Thanks for your reply. I'm not actually able to get that website, is it something you could copy across or pm to me? Link to comment Share on other sites More sharing options...
phrasespot Posted September 8, 2012 Share Posted September 8, 2012 (edited) Thanks for your reply. I'm not actually able to get that website, is it something you could copy across or pm to me? You are lucky that you can't. Millions of ads to read 10 sentences that do not mean much. Clearly the site's sole purpose it to generate ad income for the owner. BO > Tools > DB Backup > Create a backup. That is your PS backup. And here is the authorative resource for PHPMyAdmin. Note though that it is not just a simple process of exporting from 1.4 and importing into 1.5. DB schemas are different and a lot of manual tinkering is required. Edited September 10, 2012 by phrasespot (see edit history) Link to comment Share on other sites More sharing options...
Rhapsody Posted September 9, 2012 Share Posted September 9, 2012 I've tried setting up a test shop through the upgrade process of a live shop I copied to another directory, and copying the mysql database. I edited the settings.inc.php file to point to the correct test directory and mysql database. The shop uses a theme that is supposed to be compatible with V1.5. I also regenerated the .htaccess file. The "test" shop that I mirrored works fine at 1.4.0.9. before attempting the upgrade. I have tried both the automatic upgrade (doesn't work), and a manual upgrade to 1.5.0.15 RC 2 with no luck. When I attempt the manual upgrade pointing to the install folder, the "upgrade" option is grayed out. I let the script run through completion and end up with a "clean" install. The good news is I have confirmed my theme works. The bad news is, I haven't figured out how I'm going to easily bring over my existing customers, products, etc. when PS version 1.5 is released. If anyone has tips on how a shop could be "upgraded" from 1.4.9.0 to 1.5, please post here. 1 Link to comment Share on other sites More sharing options...
itcwebman Posted September 10, 2012 Author Share Posted September 10, 2012 (edited) Note though that it is not just a simple process of exporting from 1.4 and importing into 1.5. DB schemas are different and a lot of manual tinkering is required. That's what I feared. I tried to import already and keep getting this error: MySQL said: #1062 - Duplicate entry '1' for key 'PRIMARY' It even happens when I tried the Products only Edited September 10, 2012 by itcwebman (see edit history) Link to comment Share on other sites More sharing options...
phrasespot Posted September 10, 2012 Share Posted September 10, 2012 MySQL said The image you posted causing a password prompt to your cpanel ever time this thread is viewed. Remove it please. I think (hoping) when a production ready version of 1.5 is relased, there would be a way to upgrade a 1.4 shop to 1.5, if not, a way to import the data over. After all there are ways to import from other e-commerce carts. If you are already moving a production shop to 1.5, you are doing it too early. PS is not a Windows desktop program where you always install the latest version. Ask yourself the question why you want to update. Is there new functionality you desperately need? Is a later version fixing something broken and that it cannot be applied retrospectively? If things go wrong can you afford to have shop down for a week? The forums are all full of threads where a perfectly working shop/module is updated to a later version for the sake of updating and something is broken. Read the change log before justifying an update. And do it on an indentical dummy install before going ahead and doing it on a production install. The latest is not always the best. Link to comment Share on other sites More sharing options...
itcwebman Posted September 10, 2012 Author Share Posted September 10, 2012 Thanks. Sorted it. Thanks for the advice. I help off upgrades from 1.4.6.2 right to 1.4.9.0 and when I tried to do 1.4.9.0 it failed pretty badly so I ended up with 1.4.8.2 (which is fine anyway) so that just proves your point. I'm trying 1.5 on a test environment, I was looking at the multi-store functionality mostly, but look forward to the public release. As you say there should be a option to import from 1.4 Link to comment Share on other sites More sharing options...
pmartins Posted September 12, 2012 Share Posted September 12, 2012 I still have the Version 1.3.2.3 - can I import to 1.5? thanks for your reply Link to comment Share on other sites More sharing options...
phrasespot Posted September 13, 2012 Share Posted September 13, 2012 I still have the Version 1.3.2.3 - can I import to 1.5? Looks like you will be able to. Those already using PrestaShop will be thrilled to discover just how simple it is to upgrade your current store. PrestaShop’s core developers have spent countless hours designing a “1-click upgrade” module that, when installed through your Back Office, will allow every PrestaShop merchant to upgrade to v1.5 with effective ease and efficiency. http://www.prestasho...e-for-download/ Link to comment Share on other sites More sharing options...
Rhapsody Posted September 14, 2012 Share Posted September 14, 2012 Looks like you will be able to. http://www.prestasho...e-for-download/ Unfortunately, not quite the case yet.... I tried on two shops running 1.4.9.0 with 1-Click Upgrade module v.73 for upgrade to 1.5.0.17 and get the attached same display on both shops. I posted this on the bug tracker Link to comment Share on other sites More sharing options...
Rhapsody Posted September 14, 2012 Share Posted September 14, 2012 Ok - I found the problem. There is a file modules/autoupgrade/config.xml needs to be edited to reflect the current version. Change <?xml version="1.0" encoding="UTF-8" ?> <module> <name>autoupgrade</name> <displayName><![CDATA[1-click Upgrade]]></displayName> <version><![CDATA[0.7]]></version> by updating the version from 0.7 to o.73 <?xml version="1.0" encoding="UTF-8" ?> <module> <name>autoupgrade</name> <displayName><![CDATA[1-click Upgrade]]></displayName> <version><![CDATA[0.73]]></version> Then the autoupgrade works. Link to comment Share on other sites More sharing options...
phrasespot Posted October 3, 2012 Share Posted October 3, 2012 (edited) Hello, except all the standart ways of upgrading i would also point another method that was pretty useful for me. It is possible to use ... service to transfer product and customer data from previous prestashop versions to a new 1.5 You are an advertising shill for the service you mention, at least be honest and don't pretend you are a user. Moderators, take action please. post post post post post post post post post post post post Edited October 3, 2012 by phrasespot (see edit history) Link to comment Share on other sites More sharing options...
ganador Posted February 22, 2013 Share Posted February 22, 2013 (edited) For making the update work I did the following: My shop version was 1.4.7.0 Downloaded the original shop & db onto my local test server chmod 777 shop Downloaded One click update v. 1.0.7 module activated module disabled smarty caching and filesystem cache turned force compile on generated new .htaccess file (not sure if necessary) selected the One click update v. 1.0.7 module in the backend clicked on expert options selected major release saved started the update BTW - it went through in one go. (this was my last try after hours of trying - the problem was that the permissions (777) weren't set) log-in into the backend checked some pages - the old data is now in the new shop Went on modules page there was the error "Fatal error in module dibs: Access level to dibs::$smarty must be protected (as in class PaymentModule) or weaker" went into "modules/dibs/dibs.php" someone posted The problem comes from the fact dibs.php redeclare the variable $smarty as private.Just delete this variable declaration in dibs.php class. changed private $smarty; into //private $smarty; saved refreshed modules page now it's working so far... Edited February 22, 2013 by ganador (see edit history) Link to comment Share on other sites More sharing options...
annunakiwww Posted February 23, 2013 Share Posted February 23, 2013 Why the 777 CHMOD? That is of the base PS directory? Turning it to 777 gives me an internal server error, is that supposed to happen? Link to comment Share on other sites More sharing options...
ganador Posted February 25, 2013 Share Posted February 25, 2013 (edited) Sorry, I meant chmod 777 --recursive shop . So there won't be any failures because of wrong permissions Unfortunately I couldn't find some information about the correct rights. And the update wasn't working. After setting the rights the update was working. So I got a version with updated db and updated modules etc. Then I moved the relevant things into a new clean prestahop setup because I don't like automatically updated systems... It has to be clean - and I don't know what the update script is doing.. So how to tell where it is breaking? BTW I wrote at the first point "my local test server". So this might not work on hosted webservers. Edited February 25, 2013 by ganador (see edit history) Link to comment Share on other sites More sharing options...
Trip Posted February 25, 2013 Share Posted February 25, 2013 I recommend to temporarily enable define('_PS_MODE_DEV_', true); in config/defines.inc.php after the upgrade. It is most likely that some modules are not initialized properly. I my case and with every test upgrade I have to Reinsurrance reset loyalitiy points reset cart block uninstall / install Reinstall block layered and maybe Reinstall payment modules to iron out (hidden) errors. Best regards, trip Link to comment Share on other sites More sharing options...
Recommended Posts