Luke_Urtnowski Posted October 25, 2013 Share Posted October 25, 2013 Im going to upgrade! I want to do it right, so I think ill follow http://www.prestashop.com/forums/topic/271060-upgrade-tips/ Try to upgrade the backup, and if that works, upgrade the real deal. After its upgraded, simply install http://addons.prestashop.com/en/administration-tools-prestashop-modules/5496-1-click-upgrade-autoupgrade.html Is this ok? Link to comment Share on other sites More sharing options...
NemoPS Posted October 26, 2013 Share Posted October 26, 2013 You mean after the backup, right? Because that tool is used to upgrade Link to comment Share on other sites More sharing options...
Luke_Urtnowski Posted October 26, 2013 Author Share Posted October 26, 2013 olh ya, thx... Link to comment Share on other sites More sharing options...
Luke_Urtnowski Posted October 30, 2013 Author Share Posted October 30, 2013 (edited) I am trying to upgrade http://www.swedishsweetsandimports.com So I want to create a test site first, so I followed that guide. I used PHPMyAdmin and created a new database, then I copied everything in the public_html directory. Created a new directory backup and used FTP to upload everything into it, Followed http://www.namecheap.com/support/knowledgebase/article.aspx/9190/29/ to create a backup subdomain edited the settings.inc.php to point to the new database and I get backup.swedishsweetsandimports.com Edited October 30, 2013 by Luke_Urtnowski (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 30, 2013 Share Posted October 30, 2013 it looks like your subdomain doesnt point to the backup directory Link to comment Share on other sites More sharing options...
Luke_Urtnowski Posted October 30, 2013 Author Share Posted October 30, 2013 here it is http://www.backup.swedishsweetsandimports.com/ (thats the subdomain) Link to comment Share on other sites More sharing options...
Luke_Urtnowski Posted October 30, 2013 Author Share Posted October 30, 2013 I took a look at the .htacces file and I have a bunch of stuff im afraid to touch, is that the proble # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution# http://www.prestashop.com - http://www.prestashop.com/forums<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule . - [E=REWRITEBASE:/]RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]# ImagesRewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]RewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]RewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]RewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]RewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]RewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]RewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]RewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]RewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]RewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]# DispatcherRewriteCond %{REQUEST_FILENAME} -s [OR]RewriteCond %{REQUEST_FILENAME} -l [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^.*$ - [NC,L]RewriteCond %{HTTP_HOST} ^www.swedishsweetsandimports.com$RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]</IfModule>#If rewrite mod isn't enabledErrorDocument 404 /index.php?controller=404# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again Link to comment Share on other sites More sharing options...
Recommended Posts