Unable to upload product images in 2.4

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
I'm getting the following message when trying to upload a new product image:

User doesn't have required permissions

I have ensured that the images folder has write permissions so what else am I missing?
12 years ago
Go to admin area > configuration > access control list. and ensure that you have 'Admin area. Upload Pictures' permission
12 years ago
Superb - that worked. Thanks for your help!
12 years ago
Hi,
I just installed Nop2.4. I am having problem uploading images.
I am getting "You do not have permission to perform the selected operation. " when trying to look at the configuration -> Access Control List.
Please help,
Thank you,
Stuart
12 years ago
I have a similar problem.  When I go into 2.4 as administrator in into Configuration / Access Control List, I do not have an 'Admin area. Upload' or similar permission?

Please clarify.

Thanks

I attach the sql query results from my PermissionRecord Table:
1  Plugins. Access Web Service  AccessWebService  Plugin
2  Access admin area  AccessAdminPanel  Standard
3  Admin area. Manage Catalog  ManageCatalog  Catalog
4  Admin area. Manage Customers  ManageCustomers  Customers
5  Admin area. Manage Customer Roles  ManageCustomerRoles  Customers
6  Admin area. Manage Orders  ManageOrders  Orders
7  Admin area. Manage Gift Cards  ManageGiftCards  Orders
8  Admin area. Manage Return Requests  ManageReturnRequests  Orders
9  Admin area. Manage Affiliates  ManageAffiliates  Promo
10  Admin area. Manage Campaigns  ManageCampaigns  Promo
11  Admin area. Manage Discounts  ManageDiscounts  Promo
12  Admin area. Manage Promotion Feeds  ManagePromotionFeeds  Promo
13  Admin area. Manage Newsletter Subscribers  ManageNewsletterSubscribers  Promo
14  Admin area. Manage Polls  ManagePolls  Content Management
15  Admin area. Manage News  ManageNews  Content Management
16  Admin area. Manage Blog  ManageBlog  Content Management
17  Admin area. Manage Widgets  ManageWidgets  Content Management
18  Admin area. Manage Topics  ManageTopics  Content Management
19  Admin area. Manage Forums  ManageForums  Content Management
20  Admin area. Manage Message Templates  ManageMessageTemplates  Content Management
21  Admin area. Manage Countries  ManageCountries  Configuration
22  Admin area. Manage Languages  ManageLanguages  Configuration
23  Admin area. Manage Settings  ManageSettings  Configuration
24  Admin area. Manage Payment Methods  ManagePaymentMethods  Configuration
25  Admin area. Manage External Authentication Methods  ManageExternalAuthenticationMethods  Configuration
26  Admin area. Manage Tax Settings  ManageTaxSettings  Configuration
27  Admin area. Manage Shipping Settings  ManageShippingSettings  Configuration
28  Admin area. Manage Currencies  ManageCurrencies  Configuration
29  Admin area. Manage Measures  ManageMeasures  Configuration
30  Admin area. Manage Activity Log  ManageActivityLog  Configuration
31  Admin area. Manage ACL  ManageACL  Configuration
32  Admin area. Manage SMS Providers  ManageSMSProviders  Configuration
33  Admin area. Manage Email Accounts  ManageEmailAccounts  Configuration
34  Admin area. Manage Plugins  ManagePlugins  Configuration
35  Admin area. Manage System Log  ManageSystemLog  Configuration
36  Admin area. Manage Message Queue  ManageMessageQueue  Configuration
37  Admin area. Manage Maintenance  ManageMaintenance  Configuration
38  Public store. Display Prices  DisplayPrices  PublicStore
39  Public store. Enable wishlist  EnableWishlist  PublicStore
40  Public store. Enable shopping cart  EnableShoppingCart  PublicStore
12 years ago
a.m. wrote:
Go to admin area > configuration > access control list. and ensure that you have 'Admin area. Upload Pictures' permission


Hi, I get the following error message when trying update the access control list.
"You do not have permission to perform the selected operation."

Please help.
Thank you,
Stuart
12 years ago
EB_Admin wrote:
Go to admin area > configuration > access control list. and ensure that you have 'Admin area. Upload Pictures' permission

Hi, I get the following error message when trying update the access control list.
"You do not have permission to perform the selected operation."

Please help.
Thank you,
Stuart


I had the same problem. My database was upgraded from 2.3.
I copied the following from the upgrade script and executed into my database.

IF NOT EXISTS (
    SELECT 1
    FROM [dbo].[PermissionRecord]
    WHERE [SystemName] = N'UploadPictures')
BEGIN
  INSERT [dbo].[PermissionRecord] ([Name], [SystemName], [Category])
  VALUES (N'Admin area. Upload Pictures', N'UploadPictures', N'Configuration')

  DECLARE @PermissionRecordId INT
  SET @PermissionRecordId = @@IDENTITY


  --add it to admin role be default
  DECLARE @AdminCustomerRoleId int
  SELECT @AdminCustomerRoleId = Id
  FROM [CustomerRole]
  WHERE IsSystemRole=1 and [SystemName] = N'Administrators'

  INSERT [dbo].[PermissionRecord_Role_Mapping] ([PermissionRecord_Id], [CustomerRole_Id])
  VALUES (@PermissionRecordId, @AdminCustomerRoleId)
END
GO


Now, you will be able to see the option 'AdminArea.Upload Pictures' in the access control list.
12 years ago
I had the same problem as you biniamal, from a 2.3 upgrade. Your fixed worked, I would never have gotten that. Thank you very much indeed!!
12 years ago
Thanks - worked for me!!

[quote]
IF NOT EXISTS (
    SELECT 1
    FROM [dbo].[PermissionRecord]
    WHERE [SystemName] = N'UploadPictures')
BEGIN
  INSERT [dbo].[PermissionRecord] ([Name], [SystemName], [Category])
  VALUES (N'Admin area. Upload Pictures', N'UploadPictures', N'Configuration')

  DECLARE @PermissionRecordId INT
  SET @PermissionRecordId = @@IDENTITY


  --add it to admin role be default
  DECLARE @AdminCustomerRoleId int
  SELECT @AdminCustomerRoleId = Id
  FROM [CustomerRole]
  WHERE IsSystemRole=1 and [SystemName] = N'Administrators'

  INSERT [dbo].[PermissionRecord_Role_Mapping] ([PermissionRecord_Id], [CustomerRole_Id])
  VALUES (@PermissionRecordId, @AdminCustomerRoleId)
END
GO


Now, you will be able to see the option 'AdminArea.Upload Pictures' in the access control list.[/quote]
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.