Post by charmarsh » Sat Oct 28, 2017 5:26 am

I am currently using opencart 1.5 with a templatemela template theme v 1.5. I would like to upgrade both opencart to v 2.3 and my template theme also has a 2.3 available. What is the proper way to upgrade so the current store doesn't break? Do I upload the template theme files first? Theme #OPC040088

Newbie

Posts

Joined
Sat Oct 28, 2017 5:14 am

Post by IP_CAM » Sun Oct 29, 2017 12:36 am

Well, the only proper Upgrade from a 1.5.x Version would be, to
LEAVE the existing Shop, as it is, and install a virgin new
Version, by use of a NEW created DB, into it's own new created
Subdirectory on the Server.

Then, add a matching Version Theme to this new Software.

Then, make a Copy of the existing 1.5.x DB, by use of the
SERVER Admin PyPhp DB Tool. Also DOWNLOAD a full
DB Copy, including it's Tables and everything, by use of the
same SERVER ADMIN DB Tool.

This DB Content will then be used, to be upgraded, to match
the new Shop, and eventually be uploaded/restored into the
new V.2.x DB on the Server. And it's the ONLY THING, wich
can be upgraded, anything else cannot longer be used, and
only leaves uncounted masses of old Version FileCrab on a Server,
if someone foolishly tries, to simply overwrite an existing older
version Software. :crazy:

Some free and paid Extensions and Services exist, to upgrade
a Database, and the old v.1.5.x Shop Software CANNOT longer be
used for anything, nor one of it's Extensions/VqMods!
https://www.opencart.com/index.php?rout ... grade%20DB

You may also use your old existing .htaccess File again.
The only addition to a .htaccess file would be, to ADD some Code, to
ONLY allow Site Access in a pre-defined way, like if only WWW is accepted,
as per config.php setting, to make sure, that Styles, Scripts, and FontAwesome
Pic's will work,as shown below:
If you have/use NO Shop Subdirectory:

Code: Select all

# SEO URL Settings
RewriteEngine On
RewriteBase /
If you have/use A Shop Subdirectory, like /shop/...

Code: Select all

# SEO URL Settings
RewriteEngine On
RewriteBase /shop/
ADD RIGHT AFTER the Code above:

Code: Select all

#Force (http host) www to non www (optional)
#RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
#RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

#Force (https host) www to non www (optional)
#RewriteCond %{HTTPS} on
#RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
#RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

#Force (http host) non www to www (optional)
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

#Force (https host) non www to www (optional)
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
Then, you could start to implant additional Extensions, matching your Version.

And as soon as your new Shop works in full, you may RENAME the
v.1.5.x Shop Directory on the Server, then, rename the V.2 Directory Name
to match your old Shop Directory, as well as changing the Links and
Paths in the both config.php Files, to then have it work again as usual,
and have the old Site URL working.

Then, after a good While of testing, you may remove the V.1.5.x Software
and it's Directory from the Server as well as the old DB.

It's the only way, to make sure, that your Shop will stay online during all
this, anything else ist just an attempted online Business suicide. :choke:
Good Luck! ;)
Ernie

For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by charmarsh » Sun Oct 29, 2017 1:12 am

Thank you for your thorough response!
Wow. This sounds very intense. Fortunately, this was a test store with only a few products and no sales. But now that I want to move forward, I have big time concerns if OpenCart is going to be this difficult to upgrade each time. Especially if I use add ons, themes and plugins. Does everyone go through this each time a new version is available?

Newbie

Posts

Joined
Sat Oct 28, 2017 5:14 am

Post by IP_CAM » Sun Oct 29, 2017 8:44 am

Well, if you buy a new Car, usually, not even the set of old Winter Tires will
fit anymore, and with OpenCart, what would be the use of a new Version,
if everything would work and fit as in the old one ?! ???

New OC Versions are not fixed old one's, especially new MAIN Versions,
OC is an ongoing Development, and new Technologies used require new
Extensions and new matching Themes, it's as easy as that. But one has
not to aquire a new Car, if a new Version comes into the market. Just look
at it from this point of view, then, you will understand. Hopefully at least! :laugh:

The only real bad thing about it is, that for some fully un-understandable reason,
OC Downloads still contain that useless piece of UPGRADE Crab info file,
contrary to the knowledge (I assume...), that it cannot work. And so far, I could
not figure out one good reason, to leave an Upgrade Info there, or then on
purpose, to so kill existing older Shop Installations for good.

And whatever the reason may be, such does sure no add to confidence, the
plain contrary is more likely the case. So, OC polarizes, to either Fan or Foo,
there is nothing in between. It's a take it, or get lost, after all, it comes for free ! ;)

Most People don't need enemies, they stand themselfs in their own way ...
And this always leaves Chances for others, to some day succeed.
all the best! ;)
Ernie

For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by charmarsh » Sun Oct 29, 2017 9:01 am

I see. Well, I know OC is very popular so I guess users don't find the upgrade difficult, or perhaps they just start with the latest version and then never upgrade.
Thanks for your insight!

Newbie

Posts

Joined
Sat Oct 28, 2017 5:14 am
Who is online

Users browsing this forum: No registered users and 1 guest