Installing Edit+ on Matrix v5.4


(Tbaatar) #1

Hi,

I’m trying to install Edit+ on Squiz Matrix version 5.4 and having difficulties.

Edit+ is installed on the server and Edit+ Manager asset status is showing as as installed (green). Also edit+ is accessible from the admin interface when editing content.

However when I add the below editplus to the parse file:
<mysource_area id_name="editplus" design_area="editplus"/>

Matrix spits out the following error message:
Could not parse design file. Design Area "design_area_editplus" is not installed in the system. [CORE0327]

Are there any other configuration requirements?

Many thanks.


(Aleks Bochniak) #2

Does the old way still work?


(Tbaatar) #3

Have not tried it yet, ideally the new way is much simpler. Hoping to hear back from Squiz staff before venturing down the old path.

Update: unable to perform the old way as the nested design does not show up on the customisation screen and also throws up the same error when saving the design parse file.

Is there something else that needs to be configured for the Design Area in order to get edit+ working?
The Edit+ is being installed on v5.4.0.0 if this makes any difference.

Thanks.


(Tbaatar) #4

Here is the error message snippet from the design parse file:

0 => array (
	"function" => "sq_error_handler",
	"args" => array (
		0 => 512,
		1 => "Could not parse design file. Design Area \"design_area_editplus\" is not installed in the system. [CORE0327]",
		2 => "[SYSTEM_ROOT]/core/include/general.inc",
		3 => 1629,
		4 => array (
			[Max Depth Reached]
		) 
	) 
),
1 => array (
	"file" => "[SYSTEM_ROOT]/core/include/general.inc",
	"line" => 1629,
	"function" => "trigger_error",
	"args" => array (
		0 => "Could not parse design file. Design Area \"design_area_editplus\" is not installed in the system. [CORE0327]",
		1 => 512 
	) 
),
2 => array (
	"file" => "[SYSTEM_ROOT]/core/assets/designs/design/design_edit_fns.inc",
	"line" => 1034,
	"function" => "trigger_localised_error",
	"args" => array (
		0 => "CORE0327",
		1 => "Could not parse design file. Design Area \"design_area_editplus\" is not installed in the system.",
		2 => 512 
	) 
),
3 => array (
	"file" => "[SYSTEM_ROOT]/core/assets/designs/design/design_edit_fns.inc",
	"line" => 915,
	"function" => "_processContents",
	"class" => "Design_Edit_Fns",
	"object" => new Design_Edit_Fns Object (
		"tag_name" => "MySource",
		"static_screens" => array (
			[Max Depth Reached]
		),
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		0 => new Design Object (
			[Max Depth Reached]
		),
		1 => array (
			[Max Depth Reached]
		) 
	) 
),
4 => array (
	"file" => "[SYSTEM_ROOT]/core/assets/designs/design/design_edit_fns.inc",
	"line" => 469,
	"function" => "parseAndProcessFile",
	"class" => "Design_Edit_Fns",
	"object" => new Design_Edit_Fns Object (
		"tag_name" => "MySource",
		"static_screens" => array (
			[Max Depth Reached]
		),
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		0 => new Design Object (
			[Max Depth Reached]
		) 
	) 
),
5 => array (
	"file" => "[SYSTEM_ROOT]/core/include/asset_edit_interface.inc",
	"line" => 2338,
	"function" => "processEditParseFile",
	"class" => "Design_Edit_Fns",
	"object" => new Design_Edit_Fns Object (
		"tag_name" => "MySource",
		"static_screens" => array (
			[Max Depth Reached]
		),
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		0 => new Design Object (
			[Max Depth Reached]
		),
		1 => new Backend_Outputter Object (
			[Max Depth Reached]
		),
		2 => "design_17929" 
	) 
),
6 => array (
	"file" => "[SYSTEM_ROOT]/core/include/asset_edit_interface.inc",
	"line" => 2072,
	"function" => "processInline",
	"class" => "Asset_Edit_Interface",
	"object" => new Asset_Edit_Interface Object (
		"_type_code" => "design",
		"_edit_fns" => new Design_Edit_Fns Object (
			[Max Depth Reached]
		),
		"_dirs" => array (
			[Max Depth Reached]
		),
		"_screens" => array (
			[Max Depth Reached]
		),
		"_default_screen" => "",
		"_tmp" => NULL 
	),
	"type" => "->",
	"args" => array (
		0 => new Design Object (
			[Max Depth Reached]
		),
		1 => new Backend_Outputter Object (
			[Max Depth Reached]
		),
		2 => FALSE,
		3 => "parse_file" 
	) 
),
7 => array (
	"file" => "[SYSTEM_ROOT]/core/include/asset.inc",
	"line" => 5997,
	"function" => "process",
	"class" => "Asset_Edit_Interface",
	"object" => new Asset_Edit_Interface Object (
		"_type_code" => "design",
		"_edit_fns" => new Design_Edit_Fns Object (
			[Max Depth Reached]
		),
		"_dirs" => array (
			[Max Depth Reached]
		),
		"_screens" => array (
			[Max Depth Reached]
		),
		"_default_screen" => "",
		"_tmp" => NULL 
	),
	"type" => "->",
	"args" => array (
		0 => new Design Object (
			[Max Depth Reached]
		),
		1 => new Backend_Outputter Object (
			[Max Depth Reached]
		),
		2 => FALSE 
	) 
),
8 => array (
	"file" => "[SYSTEM_ROOT]/core/assets/designs/design_area/design_area.inc",
	"line" => 143,
	"function" => "processBackend",
	"class" => "Asset",
	"object" => new Design Object (
		"id" => "17929",
		"version" => "0.1.60",
		"name" => "Home",
		"short_name" => "Home",
		"status" => "16",
		"languages" => "",
		"charset" => "",
		"force_secure" => "0",
		"created" => 1483689539,
		"created_userid" => "11004",
		"updated" => 1486534158,
		"updated_userid" => "11004",
		"published" => 1483689853,
		"published_userid" => "11004",
		"status_changed" => 1483689853,
		"status_changed_userid" => "11004",
		"_is_cacheable" => FALSE,
		"vars" => array (
			[Max Depth Reached]
		),
		"_available_keywords" => array (
			[Max Depth Reached]
		),
		"data_path_suffix" => "assets/design/0028/17929",
		"data_path" => "[SYSTEM_ROOT]/data/private/assets/design/0028/17929",
		"data_path_public" => "[SYSTEM_ROOT]/data/public/assets/design/0028/17929",
		"_ser_attrs" => TRUE,
		"deprecated" => FALSE,
		"deprecated_since" => "",
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		0 => new Backend_Outputter Object (
			[Max Depth Reached]
		),
		1 => array (
			[Max Depth Reached]
		) 
	) 
),
9 => array (
	"file" => "[SYSTEM_ROOT]/core/assets/designs/design/design.inc",
	"line" => 602,
	"function" => "processBackend",
	"class" => "Design_Area",
	"object" => new Design Object (
		"id" => "17929",
		"version" => "0.1.60",
		"name" => "Home",
		"short_name" => "Home",
		"status" => "16",
		"languages" => "",
		"charset" => "",
		"force_secure" => "0",
		"created" => 1483689539,
		"created_userid" => "11004",
		"updated" => 1486534158,
		"updated_userid" => "11004",
		"published" => 1483689853,
		"published_userid" => "11004",
		"status_changed" => 1483689853,
		"status_changed_userid" => "11004",
		"_is_cacheable" => FALSE,
		"vars" => array (
			[Max Depth Reached]
		),
		"_available_keywords" => array (
			[Max Depth Reached]
		),
		"data_path_suffix" => "assets/design/0028/17929",
		"data_path" => "[SYSTEM_ROOT]/data/private/assets/design/0028/17929",
		"data_path_public" => "[SYSTEM_ROOT]/data/public/assets/design/0028/17929",
		"_ser_attrs" => TRUE,
		"deprecated" => FALSE,
		"deprecated_since" => "",
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		0 => new Backend_Outputter Object (
			[Max Depth Reached]
		),
		1 => array (
			[Max Depth Reached]
		) 
	) 
),
10 => array (
	"file" => "[SYSTEM_ROOT]/core/include/asset_manager_edit_fns.inc",
	"line" => 205,
	"function" => "processBackend",
	"class" => "Design",
	"object" => new Design Object (
		"id" => "17929",
		"version" => "0.1.60",
		"name" => "Home",
		"short_name" => "Home",
		"status" => "16",
		"languages" => "",
		"charset" => "",
		"force_secure" => "0",
		"created" => 1483689539,
		"created_userid" => "11004",
		"updated" => 1486534158,
		"updated_userid" => "11004",
		"published" => 1483689853,
		"published_userid" => "11004",
		"status_changed" => 1483689853,
		"status_changed_userid" => "11004",
		"_is_cacheable" => FALSE,
		"vars" => array (
			[Max Depth Reached]
		),
		"_available_keywords" => array (
			[Max Depth Reached]
		),
		"data_path_suffix" => "assets/design/0028/17929",
		"data_path" => "[SYSTEM_ROOT]/data/private/assets/design/0028/17929",
		"data_path_public" => "[SYSTEM_ROOT]/data/public/assets/design/0028/17929",
		"_ser_attrs" => TRUE,
		"deprecated" => FALSE,
		"deprecated_since" => "",
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		0 => new Backend_Outputter Object (
			[Max Depth Reached]
		),
		1 => array (
			[Max Depth Reached]
		) 
	) 
),
11 => array (
	"file" => "[SYSTEM_ROOT]/core/include/asset_manager.inc",
	"line" => 9648,
	"function" => "paintBackend",
	"class" => "Asset_Manager_Edit_Fns",
	"object" => new Asset_Manager_Edit_Fns Object (
		"am" => new Asset_Manager Object (
			[Max Depth Reached]
		),
		"backend" => new Backend Object (
			[Max Depth Reached]
		),
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		[Empty]
	) 
),
12 => array (
	"file" => "[SYSTEM_ROOT]/core/include/backend.inc",
	"line" => 1767,
	"function" => "paintBackend",
	"class" => "Asset_Manager",
	"object" => new Asset_Manager Object (
		"_asset_types" => array (
			[Max Depth Reached]
		),
		"_assets" => array (
			[Max Depth Reached]
		),
		"_asset_cache" => new Asset_Cache Object (
			[Max Depth Reached]
		),
		"_system_assetids" => array (
			[Max Depth Reached]
		),
		"_attributes" => array (
			[Max Depth Reached]
		),
		"_get_asset_history" => array (
			[Max Depth Reached]
		),
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		0 => new Backend Object (
			[Max Depth Reached]
		) 
	) 
),
13 => array (
	"file" => "[SYSTEM_ROOT]/core/include/backend.inc",
	"line" => 232,
	"function" => "_printMain",
	"class" => "Backend",
	"object" => new Backend Object (
		"out" => new Backend_Outputter Object (
			[Max Depth Reached]
		),
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		[Empty]
	) 
),
14 => array (
	"file" => "[SYSTEM_ROOT]/core/include/mysource.inc",
	"line" => 610,
	"function" => "paint",
	"class" => "Backend",
	"object" => new Backend Object (
		"out" => new Backend_Outputter Object (
			[Max Depth Reached]
		),
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		[Empty]
	) 
),
15 => array (
	"file" => "[SYSTEM_ROOT]/core/web/index.php",
	"line" => 30,
	"function" => "start",
	"class" => "MySource",
	"object" => new MySource Object (
		"db" => NULL,
		"\0*\0_db_conns" => array (
			[Max Depth Reached]
		),
		"\0*\0_db_stack" => array (
			[Max Depth Reached]
		),
		"\0*\0_run_level_stack" => array (
			[Max Depth Reached]
		),
		"\0*\0_context_stack" => array (
			[Max Depth Reached]
		),
		"backend" => new Backend Object (
			[Max Depth Reached]
		),
		"am" => new Asset_Manager Object (
			[Max Depth Reached]
		),
		"tm" => new Transaction_Manager Object (
			[Max Depth Reached]
		),
		"pm" => new Performance_Manager Object (
			[Max Depth Reached]
		),
		"\0*\0ms" => new Messaging_Service Object (
			[Max Depth Reached]
		),
		"\0*\0mm" => new Metadata_Manager Object (
			[Max Depth Reached]
		),
		"\0*\0hh" => NULL,
		"\0*\0wm" => new Workflow_Manager Object (
			[Max Depth Reached]
		),
		"\0*\0fv" => new File_Versioning Object (
			[Max Depth Reached]
		),
		"\0*\0em" => new Event_Manager Object (
			[Max Depth Reached]
		),
		"\0*\0tag_manager" => new Tag_Manager Object (
			[Max Depth Reached]
		),
		"lm" => new Locale_Manager Object (
			[Max Depth Reached]
		),
		"\0*\0trigger_manager" => new Trigger_Manager Object (
			[Max Depth Reached]
		),
		"log_manager" => NULL,
		"user" => new System_User Object (
			[Max Depth Reached]
		),
		"frontend_asset" => NULL,
		"\0*\0_user_is_root" => FALSE,
		"\0*\0_user_is_sys_admin" => TRUE,
		"\0*\0_user_is_public" => FALSE,
		"\0*\0_msgs" => NULL,
		"\0*\0_global_defines" => NULL,
		"\0*\0_deja_vu" => new Deja_Vu Object (
			[Max Depth Reached]
		),
		"_tmp" => array (
			[Max Depth Reached]
		) 
	),
	"type" => "->",
	"args" => array (
		[Empty]
	) 
)

(Dave Letorey) #5

Hi tbaatar,

Are you still having this issue?
<mysource_area id_name=“editplus” design_area=“editplus”/>
is correct and should work.

It could be that there is no space before “/>”, but should be fine.

aleks the old way does still work.

Dave


(Tbaatar) #6

Hi Dave,

Thanks for the suggestion. I did try in various ways inc, no space, with space, without right slash and with right slash. Design customisation works in everyway but does not work for editplus design customisation, therefore the old way is also not possible.

Everything leads to the following message - ‘Design Area “design_area_editplus” is not installed in the system’

Does something need to be installed in the design area in the backend?


(Dave Letorey) #7

From what I can see your system is v5.4.0.3


(Dan Graver) #8

Could not parse design file. Design Area “design_area_editplus” is not installed in the system. [CORE0327]

This message seems to suggests that the mysource_area entry in the parse file doesn’t exist. Are you 100% sure you’ve added it to the right design, and added it right at the top? In complex sites I always trace backwards from the Settings screen on an asset to find the right design. If it’s absolutely in the right parse file, perhaps regenerate the design?


(Tbaatar) #9

200% sure it is in the right design file. :slight_smile:

It seems like bug with the installation or matrix 5.4.0.0.

thanks.


(Bart Banda) #10

That error comes up when there is a missing installation step. Looks like the upgrade to 5.4 didn’t run properly properly as there is a specific step that installs that new design area.


(Tbaatar) #11

Update:

So we ran steps step_02.php and step_03.php again, and now the /_edit mode partially works only via the old method (nesting EES).

The biggest problem now is we are unable to Edit Content of the asset under the Edit+ mode. (see image for example). Any ideas why it is doing this? and what we could have missed out? or what we need to double check?


(Nic Hubbard) #12

Any help on this guys? We are not getting an JS errors in the console. If I use web inspector it doesn’t appear that the content divs are even being included in the HTML.

Help?


(Bart Banda) #13

I’m not sure, never seen that before. Things to try:

  • Upgrade to latest Matrix 5.4
  • Make sure the version of Edit+ is the same as your Matrix version
  • Try it on a brand new page (with just one content container)
  • Make sure there are no plugins being loaded
  • Make sure the installation guide has been followed
  • If all else fails, send a support ticket in to Squiz for them to look at the problem closer

Edit Plus upgrade - how do we upgrade?