Post by Gobbo » Wed May 29, 2019 5:27 am

Hi,

I can't update settings, as I haven't got permission.

Why is this?

Shouldn't I have full permissions to update anything on my site?

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by grgr » Wed May 29, 2019 12:28 pm

You probably should.

Have you tried going to system -> users -> user groups and checking the permissions?

-
Image Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by Gobbo » Wed May 29, 2019 8:30 pm

I selected everything in system -> users -> user groups->admin and it seems I don't have permission to update that either.

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by grgr » Wed May 29, 2019 9:35 pm

You are logged to an Administration account not a Demonstration account?

Worst case, use phpMyAdmin and manually add the permissions (twice, once in the access part (if not already there) and once in the modify part) to the user_group table.

Code: Select all

"setting\/setting","user\/user","user\/user_permission",

-
Image Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by Gobbo » Thu May 30, 2019 2:10 am

What's the file path for these scripts?

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by straightlight » Thu May 30, 2019 6:48 am

The quickest solution would be by resetting your oc_user_permission table on the database (truncate). Then, to re-insert the values with the SQL query from your install/opencart.sql file .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by grgr » Thu May 30, 2019 11:12 am

opencart download -> upload -> install -> opencart.sql.

Open that file with a text editor such as notepad++ and find the user_group section - line starting with:

Code: Select all

INSERT INTO `[b]oc_[/b]user_group` (`user_group_id`, `name`, `permission`) VALUES
Be aware of the table prefix, in bold above, change as necessary.

As above then copy and paste that section into the sql tab in phpMyAdmin. I'm not going to post the whole thing here as it is really long.

-
Image Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by straightlight » Thu May 30, 2019 6:24 pm

grgr wrote:
Thu May 30, 2019 11:12 am
opencart download -> upload -> install -> opencart.sql.

Open that file with a text editor such as notepad++ and find the user_group section - line starting with:

Code: Select all

INSERT INTO `[b]oc_[/b]user_group` (`user_group_id`, `name`, `permission`) VALUES
Be aware of the table prefix, in bold above, change as necessary.

As above then copy and paste that section into the sql tab in phpMyAdmin. I'm not going to post the whole thing here as it is really long.
The BB codes won't work with CODE but rather with QUOTE statements. However, the table prefix may need the change, indeed, if using different prefix name for your database tables.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Gobbo » Thu May 30, 2019 8:33 pm

I haven't got a folder called Download.

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 212 guests