1

Topic: Duplicating a Survey structure on the warehouse

Following the instructions at lrc-website-template.readthedocs.org/en/latest/indicia/warehouse-setup.html I set up a new survey on the warehouse and made a new page within our website template. That all went quite smoothly, but the page produces an error message.

"Invalid response received from Indicia Warehouse. Array ( [result] => 1 [output] => Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 39845918 bytes) in D:\web sites\warehouse1\content\modules\indicia_svc_data\controllers\data_service_base.php on line 67 [request] => http://warehouse1.indicia.org.uk/index. … ;columns=1 )"

What the instructions failed to tell me was how to set up the structure of the new survey, which I assume is why I am getting the above error message.

Ideally I'd like to duplicate the structure of our existing survey id194 "General recording for BRERC" into that which I have set up for id211 BNHC - Data gathered from Bristol Natural History Consortium events

Am I correct in my prognosis, and is there an easy way to duplicate the structure?

2

Re: Duplicating a Survey structure on the warehouse

Hi Daniel
The symptom you area describing normally happens when you set the "Species > Allow a single ad-hoc record or a list of record" setting on the Edit tab to allow entry of multiple occurrences via a grid, then select the UK Master List (i.e. UKSI list) in the Species List option. You are basically trying to load all 80000 names into the grid on page load. The solution is to clear the list in the Species List option, then select UK Master List in the Extra Species List option.

A very easy way to clone any Drupal page, including Indicia pages, is to use the Node Clone module (https://drupal.org/project/node_clone).

Cheers
John

John van Breda
Biodiverse IT

3

Re: Duplicating a Survey structure on the warehouse

However, if you were asking about copying the configuration of custom attributes in one survey to another within the warehouse then there is no mechanism for this. You would have to edit each attribute in the first survey and tick the box to make it available in the second survey.

Jim Bacon.