Hi there, when I went to enable the Address Field for India Support this came back

Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/scaryme/public_html/testsite/drupal/modules/cck_address_extensions/india/cck_address_india.module on line 144

Can you let me know how to fix this or if there is something I should have done or uploaded that I may have missed? New to drupal, so its on a testsite I been putting together and breaking things, not a coder but would welcome the advice on how to put this right

Comments

KerrySanto’s picture

Version: 5.x-1.x-dev » 5.x-1.6
rconstantine’s picture

Title: Address Field India Support » [solved] Address Field India Support

See this: http://drupal.org/node/197969

I'll leave this issue open this time until the repository gets fixed and I can make another release which includes the fix.

KerrySanto’s picture

thank you

ivrh’s picture

This error is caused by a typo in the line 144 of cck_address_india.module
'en_IN' => 'en_IN,
array, namely - right apostrophe is missing. So, after fix the code will look like this:

'en_IN' => 'en_IN',

Please update the module with this fix as it is silly to keep it buggy.

rconstantine’s picture

Status: Active » Reviewed & tested by the community
shah.arpita85’s picture

Title: [solved] Address Field India Support » Unable to enable "Address Field India Support" for Drupal 6

When I try to enable this module in Drupal 6, I get the following error: "This version is incompatible with the 6.10 version of Drupal core."

Kindly help me out with this.

rconstantine’s picture

Title: Unable to enable "Address Field India Support" for Drupal 6 » [solved] Address Field India Support

Don't hijack the title!

There is no Drupal 6 version of this module. Clearly.