I am getting the following error once I activate the module:

.../beta/sites/all/modules/jobtrack_sms/jobtrack_sms.module on line 341

Not sure where it whent wrong. Uploaded both jobtrack and jobtrack_sms to mod directory. Activated profile and jobtrack_sms and got the error. Any help would be greatly appreciated.

CommentFileSizeAuthor
#3 jobtrack_sms_module.zip4.26 KBbig_ham

Comments

roball’s picture

Title: Error reported when activation of Modual » Error reported when module activated
jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

Is there more to your error? Are you using the latest version of the module?

big_ham’s picture

StatusFileSize
new4.26 KB

I am using the latest version of your module and this is the same error I get.

In your code, I see:

341: function jobtrack_sms_admin_groups_edit(&$form_state = NULL, $group = NULL) {

I'm no programmer, but is the & supposed to be in the beginning of that statement? I took it out and the module no longer gave me the error.

jeremy’s picture

Status: Postponed (maintainer needs more info) » Fixed

You are correct, the "&" should not be there. Removed. Thanks. (My local development version was modified from what's in CVS -- evidently I'd not synced recent changes. So line 341 was a nonsensical place for an error in my copy.) Anyway, the bug is fixed and the module is now synced with the latest code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.