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 version 2.1.0.2


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 Image Image Image Image


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 version 2.1.0.2


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 Image Image Image Image


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 version 2.1.0.2


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 .

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member
Online

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 Image Image Image Image


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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member
Online

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 version 2.1.0.2


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by grgr » Thu May 30, 2019 9:21 pm


Image Image Image Image Image Image Image Image


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 28 guests