Weird warning message about permissions

I added the following code to the design parse file (pretty sure this is the charset we're using)…
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

and when I committed the changes I got the warning messages seen on the screengrab (it still saved fine).

[attachment=352:errormes…ondesign.gif]

Clearly it is a permissions problem but I'm not sure what or why… I am the sys admin, Squiz hold the root account.

What does it want from me? :blink:

Here is the backtrace…[codebox]0 => array (

"function" => "sq_error_handler",

"args" => array (

0 => 512,

1 => "You do not have permission to save the attributes of \"menu__sub_menu\" (#377) [CORE0121]",

2 => "[SYSTEM_ROOT]/core/include/locale_manager.inc",

3 => 504,

4 => array (

[Max Depth Reached]

)

)

),

1 => array (

"file" => "[SYSTEM_ROOT]/core/include/locale_manager.inc",

"line" => 504,

"function" => "trigger_error",

"args" => array (

0 => "You do not have permission to save the attributes of \"menu__sub_menu\" (#377) [CORE0121]",

1 => 512

)

),

2 => array (

"file" => "[SYSTEM_ROOT]/core/include/general.inc",

"line" => 1120,

"function" => "raiseerror",

"class" => "locale_manager",

"type" => "->",

"args" => array (

0 => "CORE0121",

1 => 512,

2 => array (

[Max Depth Reached]

)

)

),

3 => array (

"file" => "[SYSTEM_ROOT]/core/include/asset.inc",

"line" => 2739,

"function" => "trigger_localised_error",

"args" => array (

0 => "CORE0121",

1 => 512,

2 => "menu__sub_menu",

3 => "377"

)

),

4 => array (

"file" => "[SYSTEM_ROOT]/core/assets/designs/design_areas/menu/design_area_menu_type/design_area_menu_type_edit_fns.inc",

"line" => 185,

"function" => "saveattributes",

"class" => "design_area_menu_normal",

"type" => "->",

"args" => array (

[Empty]

)

),

5 => array (

"file" => "[SYSTEM_ROOT]/core/assets/designs/design_areas/menu/design_area_menu_type/design_area_menu_type_edit_fns.inc",

"line" => 271,

"function" => "_processcontents",

"class" => "design_area_menu_normal_edit_fns",

"type" => "->",

"args" => array (

0 => new design_area_menu_normal Object (

[Max Depth Reached]

),

1 => array (

[Max Depth Reached]

)

)

),

6 => array (

"file" => "[SYSTEM_ROOT]/core/assets/designs/design_areas/menu/design_area_menu_type/design_area_menu_type_edit_fns.inc",

"line" => 112,

"function" => "_processsubmenu",

"class" => "design_area_menu_normal_edit_fns",

"type" => "->",

"args" => array (

0 => new design_area_menu_normal Object (

[Max Depth Reached]

),

1 => array (

[Max Depth Reached]

),

2 => "design_area_menu_normal"

)

),

7 => array (

"file" => "[SYSTEM_ROOT]/core/assets/designs/design/design_edit_fns.inc",

"line" => 854,

"function" => "_processcontents",

"class" => "design_area_menu_normal_edit_fns",

"type" => "->",

"args" => array (

0 => new design_area_menu_normal Object (

[Max Depth Reached]

),

1 => array (

[Max Depth Reached]

)

)

),

8 => array (

"file" => "[SYSTEM_ROOT]/core/assets/designs/design/design_edit_fns.inc",

"line" => 686,

"function" => "_processcontents",

"class" => "design_edit_fns",

"type" => "->",

"args" => array (

0 => new design Object (

[Max Depth Reached]

),

1 => array (

[Max Depth Reached]

)

)

),

9 => array (

"file" => "[SYSTEM_ROOT]/core/assets/designs/design/design_edit_fns.inc",

"line" => 284,

"function" => "parseandprocessfile",

"class" => "design_edit_fns",

"type" => "->",

"args" => array (

0 => new design Object (

[Max Depth Reached]

)

)

),

10 => array (

"file" => "[SYSTEM_ROOT]/core/include/asset_edit_interface.inc",

"line" => 1937,

"function" => "processeditparsefile",

"class" => "design_edit_fns",

"type" => "->",

"args" => array (

0 => new design Object (

[Max Depth Reached]

),

1 => new backend_outputter Object (

[Max Depth Reached]

),

2 => "design_48"

)

),

11 => array (

"file" => "[SYSTEM_ROOT]/core/include/asset_edit_interface.inc",

"line" => 1699,

"function" => "processinline",

"class" => "asset_edit_interface",

"type" => "->",

"args" => array (

0 => new design Object (

[Max Depth Reached]

),

1 => new backend_outputter Object (

[Max Depth Reached]

),

2 => ,

3 => "parse_file"

)

),

12 => array (

"file" => "[SYSTEM_ROOT]/core/include/asset.inc",

"line" => 4278,

"function" => "process",

"class" => "asset_edit_interface",

"type" => "->",

"args" => array (

0 => new design Object (

[Max Depth Reached]

),

1 => new backend_outputter Object (

[Max Depth Reached]

),

2 =>

)

),

13 => array (

"file" => "[SYSTEM_ROOT]/core/assets/designs/design_area/design_area.inc",

"line" => 143,

"function" => "processbackend",

"class" => "asset",

"type" => "::",

"args" => array (

0 => new backend_outputter Object (

[Max Depth Reached]

),

1 => array (

[Max Depth Reached]

)

)

),

14 => array (

"file" => "[SYSTEM_ROOT]/core/assets/designs/design/design.inc",

"line" => 598,

"function" => "processbackend",

"class" => "design_area",

"type" => "::",

"args" => array (

0 => new backend_outputter Object (

[Max Depth Reached]

),

1 => array (

[Max Depth Reached]

)

)

),

15 => array (

"file" => "[SYSTEM_ROOT]/core/include/asset_manager_edit_fns.inc",

"line" => 189,

"function" => "processbackend",

"class" => "design",

"type" => "->",

"args" => array (

0 => new backend_outputter Object (

[Max Depth Reached]

),

1 => array (

[Max Depth Reached]

)

)

),

16 => array (

"file" => "[SYSTEM_ROOT]/core/include/asset_manager.inc",

"line" => 7315,

"function" => "paintbackend",

"class" => "asset_manager_edit_fns",

"type" => "->",

"args" => array (

[Empty]

)

),

17 => array (

"file" => "[SYSTEM_ROOT]/core/include/backend.inc",

"line" => 1367,

"function" => "paintbackend",

"class" => "asset_manager",

"type" => "->",

"args" => array (

0 => new backend Object (

[Max Depth Reached]

)

)

),

18 => array (

"file" => "[SYSTEM_ROOT]/core/include/backend.inc",

"line" => 189,

"function" => "_printmain",

"class" => "backend",

"type" => "->",

"args" => array (

[Empty]

)

),

19 => array (

"file" => "[SYSTEM_ROOT]/core/include/mysource.inc",

"line" => 355,

"function" => "paint",

"class" => "backend",

"type" => "->",

"args" => array (

[Empty]

)

),

20 => array (

"file" => "[SYSTEM_ROOT]/core/web/index.php",

"line" => 31,

"function" => "start",

"class" => "mysource",

"type" => "->",

"args" => array (

[Empty]

)

) [/codebox]
errormessagesondesign.gif (19.8 KB)

It could be missing locks. Go to the design and release locks. Acquire them again and do a manual reparse and see if you get the error again.

Tried acquiring and releasing a few times. When I tried to manually reparse I got the same error message again. Still getting the message on the edit screen.

Go to the Dependants screen of the design and see if any assets are locked by someone else (locks should show up there). Also check for under construction design areas that may need to be made live. If so, tick the cascade box next to the Live status on the design and commit it to force a manual status cascade.

No locks held. There was one under construction area. I tried to cascade the live status and it said it went fine but the area remained under construction. I went and set it live on its details screen. Still getting the error message when I edit the parse.

I was getting permission errors from changing a parse file and other operations on the Design and Design Customisation. It was probably due to a bug in recent versions of 3.18. The bug is resolved and will apparently be fixed in the 3.18.6 release.
Bug #3248



If you have a Design Customisation, look for a pair for asset ID#377 “menu__sub_menu” with the same name. One will be in the customised section; the other in the un-customised.



If this is the problem then here are two suggestions

  1. wait for the next release to resolve it
  2. create a new Design Customisation; do not remove any customisable Design Areas; customise the relevant areas and apply.

[quote]I was getting permission errors from changing a parse file and other operations on the Design and Design Customisation. It was probably due to a bug in recent versions of 3.18. The bug is resolved and will apparently be fixed in the 3.18.6 release.
[bug]3248" target="_blank[/bug]



If you have a Design Customisation, look for a pair for asset ID#377 "menu__sub_menu" with the same name. One will be in the customised section; the other in the un-customised.



If this is the problem then here are two suggestions

  1. wait for the next release to resolve it
  2. create a new Design Customisation; do not remove any customisable Design Areas; customise the relevant areas and apply.[/quote]

    I don't think this bug had any permissions problems associated with it. And just a note that this was not a 3.18-specific bug, so a 3.16 upgrade would also fix it after the next releases.

Will, I wasn't 100% sure what you meant. There was only menu_normal which was uncustomised. I have customised it but the error remains. Is that what you were suggesting?


We are on 3.16.12.

Sorry to resurface this topic as I am facing the same warning message when updating the parse file.


We're on 4.0.1.