1

Topic: Species not getting pulled from warehouse

My server is Instant Indicia (Drupal 6) based with all official patches. I've just swapped out the original Indicia modules for the latest 0.9.1 files on SVN.

I have a species list set up on the test warehouse. I have set this in the Master Species Checklist and on my form however when I try to test the form, the dropdown species list is empty. I've tried the other species lists on the test warehouse but have the same problem.

It used to work - before I upgraded from SVN (which I wanted to do to try and get around other problems elsewhere).

Any suggestions? There's no log entries to help unfortunately...

Cheers.

2

Re: Species not getting pulled from warehouse

Try looking for errors in the report from admin/settings/iform/diagnostics (Site configuration > Iform > Iform Diagnostics in the menu)

You may have lost some configuration settings or the helper_config.php file perhaps.

Jim Bacon.

3

Re: Species not getting pulled from warehouse

Iform diagnostics seems happy. helper_config.php seems intact:

<?php
class helper_config {
  static $base_url='';
  static $geoserver_url = '';
  static $geoplanet_api_key='';
  static $bing_api_key='';
}
?>

Are there any instructions anywhere for an SVN pull setup?

4

Re: Species not getting pulled from warehouse

So. I now have another Drupal 6 instance using the modules from ./downloads rather than SVN. These modules are different in that they require helper_config.php to be populated (the Instant Indicia bundle didn't require this, it was blank and all was well).

Problem is, no standard forms work - When I try to open one, I get

Fatal error: Class 'data_entry_helper' not found in ./modules/iform/modules/iform_user_ui_options/iform_user_ui_options.module on line 94

.

Here's my experience so far:
Instant Indicia - straight from download won't work unless you upgrade all the drupal modules.
Upgraded Instant Indicia - Fails to save new/customised Indicia Pages with an error 500.
Upgraded Instant Indicia with modules pulled from SVN - no connection to Warehouse
Virgin Drupal 6, modules from ./downloads - None of the standard forms will open: PHP Fatal Error (as above)
Drupal 7 with SVN modules - complete failure of the CMS with Indicia modules added. Specifically: can't add blocks to pages (abandoned)

Can anyone help with:
1 - the specific PHP Fatal Error above?
2 - Suggest a combination of Drupal version and Indicia source that will actually work together, allow me to connect to the warehouse and allow me to customise the front-end?

Cheers

5 (edited by dieter 07-11-2014 12:48:37)

Re: Species not getting pulled from warehouse

As Jim said, you should configurate your config_helper.php

<?php
class helper_config {
  static $base_url='http://localhost/indicia/';
  static $upload_path = './sites/all/modules/iform/upload/';
  static $geoserver_url = '';
  static $geoplanet_api_key='';
  static $google_search_api_key='';
  static $google_api_key='';
  static $multimap_api_key='';
  static $flickr_api_key='';
  static $flickr_api_secret='';
}
?>

Change the settings in the base_url to the url where your warehouse is located, in this example it's on a localhost.
More info here "https://code.google.com/p/indicia/wiki/UsingDrupalIForm"

6

Re: Species not getting pulled from warehouse

Thanks. I now have this set in all my instances but still have the reported problems above.

7

Re: Species not getting pulled from warehouse

So the packages recommended by the Developers guide from ./downloads are buggy. Cutting across the SVN modules over the top has made the 'data_entry_helper' error go away...