1

Re: Problem starting Indicia

I'm totally new to the Indicia development, but I have worked through the set-up (eventually finding a copy of helper_config.php !) and created a singel species picker field, but just get the following error:

Parse error: syntax error, unexpected '.', expecting '(' in /home/sites/wmlrc.org.uk/public_html/indicia/client_helpers/data_entry_helper.php on line 70

As that isn't in one of my written pages, but in an Indicia module, I'm not sure where I've gone wrong!

Craig Slawson
Staffordshire Ecological Record

2

Re: Problem starting Indicia

Hi Craig,

First thing - I've just corrected the client helpers download so there should be no more problem finding a copy of the file.

Assuming everything else is up to date, the line of code that has an error contains the following (perhaps you could check this against your line 70?):

'<img src="'.helper_config::$base_url.'media/images/ajax-loader2.gif" />'

This might imply that a syntax error in your copy of helper_config.php (which defines the helper_config class) would cause an error here. So can you double check that this is OK, perhaps by trying the following code on another page:

require_once('helper_config.php');
echo helper_config::$base_url;

Cheers

John van Breda
Biodiverse IT

3

Re: Problem starting Indicia

John,

That line is actually No.71 on my copy, but is identical to that in the existing file - note I have followed the Drupal example and this is running - well almost (see separate post), so I'm guessing this isn't the actual problem, but I'm concentrating on the Drupal integration now anyway.

Craig Slawson
Staffordshire Ecological Record