The safest way to do this is to login to your panel / contact your service provider and restore your database from a version prior to the delete.
The downside is that if you have made any changes / orders etc - these will be lost
Good advise would be to get a back up of the current site as is, front and back end - but do not copy over a previous backup.
There is a way to enter the details in manually just for that field
user_group => permissions again from a back up
You can also use a copy from the original sql file from opencart
IF YOU DO NOT KNOW WHAT YOU ARE DOING - ASK FOR HELP IN THE COMMERCIAL SECTION
This is not difficult, but you can destroy your site playing with the database directly.
The downside is that if you have made any changes / orders etc - these will be lost
Good advise would be to get a back up of the current site as is, front and back end - but do not copy over a previous backup.
There is a way to enter the details in manually just for that field
user_group => permissions again from a back up
You can also use a copy from the original sql file from opencart
IF YOU DO NOT KNOW WHAT YOU ARE DOING - ASK FOR HELP IN THE COMMERCIAL SECTION
This is not difficult, but you can destroy your site playing with the database directly.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Jut go to phpMyAdmin and empty oc_user_group table.
Then copy from opencart.sql, INSERT INTO `oc_user_group`..... and add back in database using SQL tab.
Change oc_ prefix if isn't the same.
After you are logged in admin, you can sellect all permision for others modules/extensions
Then copy from opencart.sql, INSERT INTO `oc_user_group`..... and add back in database using SQL tab.
Change oc_ prefix if isn't the same.
After you are logged in admin, you can sellect all permision for others modules/extensions
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
you have copy of oc user group permision for 3.0.3.1 ?xxvirusxx wrote: ↑Sun Jul 28, 2019 6:25 pmJut go to phpMyAdmin and empty oc_user_group table.
Then copy from opencart.sql, INSERT INTO `oc_user_group`..... and add back in database using SQL tab.
Change oc_ prefix if isn't the same.
After you are logged in admin, you can sellect all permision for others modules/extensions
Who is online
Users browsing this forum: No registered users and 111 guests