Hello OpenCart Community,
I would like to ask, if it is possible, to get some details on the Folder Structure of OpenCart 3.0.2.0, specifically to preform a fresh re-install.
The site in question, has over the years used many IT vendors and preformed a few upgrades, that I now believe it is time to reset and have a fresh new solid base to build from.
My objective is to try and clear legacy files, settings and add-on extensions; and to only have the default OC 3.0.2.0 theme with our site content.
We are currently running OC 3.0.2.0 with its default theme.
I would like to reset OpenCart to its default 3.0.2.0 and only copy our 'minimum site content' back.
I guess ( and I am sure I can be wrong), that this should be straight forward:
1 - We backup all files and OC Database
2 - Destroy all OC data on hosting platform
3 - Re-install a fresh install of OC 3.0.2.0
4 - Import Database ( edit sql file content to match new 'prefixes, etc..)
5 - Copy only 'user created' files back, such as product images and log files
It is this last step (and potential others I missed), which I need a bit of guidance on.
Which files do we only need to copy back to make sure we do not overwrite OC files, thus to have our site up and running without any third party add-on extensions or legacy files / settings.
We can after the re-fresh, decide which extensions we would like to add back.
Thank you for all the help and guidance with this amazing product.
Best Wishes
Ettienne
I would like to ask, if it is possible, to get some details on the Folder Structure of OpenCart 3.0.2.0, specifically to preform a fresh re-install.
The site in question, has over the years used many IT vendors and preformed a few upgrades, that I now believe it is time to reset and have a fresh new solid base to build from.
My objective is to try and clear legacy files, settings and add-on extensions; and to only have the default OC 3.0.2.0 theme with our site content.
We are currently running OC 3.0.2.0 with its default theme.
I would like to reset OpenCart to its default 3.0.2.0 and only copy our 'minimum site content' back.
I guess ( and I am sure I can be wrong), that this should be straight forward:
1 - We backup all files and OC Database
2 - Destroy all OC data on hosting platform
3 - Re-install a fresh install of OC 3.0.2.0
4 - Import Database ( edit sql file content to match new 'prefixes, etc..)
5 - Copy only 'user created' files back, such as product images and log files
It is this last step (and potential others I missed), which I need a bit of guidance on.
Which files do we only need to copy back to make sure we do not overwrite OC files, thus to have our site up and running without any third party add-on extensions or legacy files / settings.
We can after the re-fresh, decide which extensions we would like to add back.
Thank you for all the help and guidance with this amazing product.
Best Wishes
Ettienne
If you are not sure on how to proceed with the upgrade, it would be highly suggested to acquire assistance from a professional who can actually upgrade your store without issues. As for the extensions, they do need to removed entirely from the admin-end before launching any upgrade scripts that may affect the database. Most importantly, always backup your files and database.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thank you for the quick reply Straightlight,
However this is not an upgrade. I would just like to just re-install 'back to default' with a re-fresh reset and thus ensure we remove all the legacy stuff, that got dragged along over the many years.
Best Wishes
Ettienne
However this is not an upgrade. I would just like to just re-install 'back to default' with a re-fresh reset and thus ensure we remove all the legacy stuff, that got dragged along over the many years.
Best Wishes
Ettienne
Upload the newest files on a new folder, backup the old folder and its database, create a new database, delete the old folder after downloading your backup files and database. Rename the new folder back to its old folder name (optional on this one). All set after ensuring both config.php and admin/config.php files have been properly configured.
Also ensure to remove all extensions involving:
- Modules
- VQMod
- OCMod (Extensions)
- Payments
- Shipping
- Order Totals
before running any core upgrades.
Also ensure to remove all extensions involving:
- Modules
- VQMod
- OCMod (Extensions)
- Payments
- Shipping
- Order Totals
before running any core upgrades.
Last edited by straightlight on Fri Dec 01, 2017 8:28 am, edited 1 time in total.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thank you Straightlight,
That is in-line with my steps 1, 2 and 3, listed in main post.
Now I just need to restore our content back without changing any of the new OC installation files.
I do apologies, if I am not getting my request over clearly. To try and explain this better, see this as the same steps you need to follow, to do a clean re-install of your laptop / desktop / server.
i.e, Backup your files, wipe your system and re-install the operating system. Then restore only your data files to get your laptop / desktop / server back up and running, without copying any system files back. This is a typical re-fresh of a system's software, to clear out any legacy settings, applications and files.
This is the same principle I would like to do regarding OpenCart.
I would like to backup OC files, wipe system, re-install OC and then only copy my data back without coping any OC files back.
I just want to copy my data, such as Product images and log files, together with an import of my database, so that we can have our site up and running without any 3rd party add-ons or old legacy settings / files.
OpenCart have made many changes over the years and our environment has a number of these legacy settings and files, such as:
-- "define ('DIR_DATABASE' " in config.php, this was removed somewhere in 2015, but got carried over.
-- TPL files, when OC now uses TWIG.
There potential are other legacy settings and files elsewhere and I just want to clear it all out, specifically 3rd party add-ons and any changes they might have made; and only keep our site content data.
Any help or suggestions from the community, would be greatly appreciated.
Best Wishes
Ettienne
That is in-line with my steps 1, 2 and 3, listed in main post.
Now I just need to restore our content back without changing any of the new OC installation files.
I do apologies, if I am not getting my request over clearly. To try and explain this better, see this as the same steps you need to follow, to do a clean re-install of your laptop / desktop / server.
i.e, Backup your files, wipe your system and re-install the operating system. Then restore only your data files to get your laptop / desktop / server back up and running, without copying any system files back. This is a typical re-fresh of a system's software, to clear out any legacy settings, applications and files.
This is the same principle I would like to do regarding OpenCart.
I would like to backup OC files, wipe system, re-install OC and then only copy my data back without coping any OC files back.
I just want to copy my data, such as Product images and log files, together with an import of my database, so that we can have our site up and running without any 3rd party add-ons or old legacy settings / files.
OpenCart have made many changes over the years and our environment has a number of these legacy settings and files, such as:
-- "define ('DIR_DATABASE' " in config.php, this was removed somewhere in 2015, but got carried over.
-- TPL files, when OC now uses TWIG.
There potential are other legacy settings and files elsewhere and I just want to clear it all out, specifically 3rd party add-ons and any changes they might have made; and only keep our site content data.
Any help or suggestions from the community, would be greatly appreciated.
Best Wishes
Ettienne
Opencart still needs the dependency of core files whenever its a new installation or for upgrade purposes. New files needs to be added or replaced. This process itself does not change with the stand-alone edition of Opencart. Any features that are not included in the core, requiring custom codings, are considered extensions. Any desired features needs to be gathered for its use as well as for the knowledge that needs to be gained while learning its process.I would like to backup OC files, wipe system, re-install OC and then only copy my data back without coping any OC files back.
I just want to copy my data, such as Product images and log files, together with an import of my database, so that we can have our site up and running without any 3rd party add-ons or old legacy settings / files.
With that being said, if your objective is to use Opencart without relying on any third party scripts, without replacing any files, without the use of any extensions, then obviously you are seeking for an opportunity that does not yet exist in this time frame.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hello Straightlight,
Thank you for your time, but I think my explanation is not coming across correctly and I must be using wrong words.
There is naturally the possibility that I just do not get it, as I am not a coder.
All I want is to know is, where my files are. Files which I added and are not part of the default OC system files.
This information will enable me to do a fresh new install of OC 3.0.2.0, with all its default elements, then copy my files back.
If I understand your last reply, you are referring to default scripts and extensions that come with a new default OC installation. If so, they can all stay and I can enable those which I currently use (e.g. free shipping, collect at store, layout modules, etc..).
But anything else that is not part of the standard default OC file deployment, I see as 3rd party and would like to get ride off any references to them.
I do not want to break OC nor remove anything that comes standard with it. I just want to insatll a fresh new installation, keep all defaults and copy only my data back. (things that are not included with the original OC files, such as my Product pictures, and previous log files, etc..)
Is that possible?
Best Wishes
Ettienne
Thank you for your time, but I think my explanation is not coming across correctly and I must be using wrong words.
There is naturally the possibility that I just do not get it, as I am not a coder.
All I want is to know is, where my files are. Files which I added and are not part of the default OC system files.
This information will enable me to do a fresh new install of OC 3.0.2.0, with all its default elements, then copy my files back.
If I understand your last reply, you are referring to default scripts and extensions that come with a new default OC installation. If so, they can all stay and I can enable those which I currently use (e.g. free shipping, collect at store, layout modules, etc..).
But anything else that is not part of the standard default OC file deployment, I see as 3rd party and would like to get ride off any references to them.
I do not want to break OC nor remove anything that comes standard with it. I just want to insatll a fresh new installation, keep all defaults and copy only my data back. (things that are not included with the original OC files, such as my Product pictures, and previous log files, etc..)
Is that possible?
Best Wishes
Ettienne
That would be incorrect statement. By replacing the core files, it is definite that all installed extensions must be installed in the first place. There are no where to be said on my above replies that the extensions can all stay and can simply be enabled with those that you currently use - presumptuous analysis.If I understand your last reply, you are referring to default scripts and extensions that come with a new default OC installation. If so, they can all stay and I can enable those which I currently use (e.g. free shipping, collect at store, layout modules, etc..).
Look in your admin - > extensions - > extensions page (all dropdown menus that have the 'edit' button active - which means an installed extension)But anything else that is not part of the standard default OC file deployment, I see as 3rd party and would like to get ride off any references to them.
Look in your admin - > extensions - > modifications page.
In order to maintain a platform with core files to provide your own products and services, these two links above must be ensured not to be installed in the first place even though these extensions originates from the core. On the other way around, the fact on installing those extensions, including those that are already delivered from the core, are still considered installed extensions which means when you originally install Opencart out of the box, there are delivered / presented extensions on the list that can be used. Although, they are partially installed but not all of them which, of course, might be confusing at this point.
I did suggested in the past to have a separate event handler between the core and the extensions on the forum. Although, folders were rather created and regrouped into the extensions. The best possible thing to do in this case is to keep focusing on those two links I provided above and take as most screenshots as you can when installing an extension or download an extension that will help you monitor those changes.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: georgefeichter and 50 guests