Project:SMS Gateway
Version:master
Component:Code
Category:task
Priority:critical
Assigned:therave
Status:closed (fixed)

Issue Summary

hi,

i just noticed the following error:

when loading page ?q=admin/settings/smsgateway on drupal 4.7 beta 6:

"Fatal error: Call to undefined function: form_select() in /var/www/drupal-470/modules/smsgateway/smsgateway.module on line 383"

This problem is described in general on
http://drupal.org/node/50099

And maybe the form updater module described on http://drupal.org/node/37457 would be helpful.

It seems the module needs to be updated to work with Drupal 4.7

Comments

#1

Title:sms-gateway uses form_ functions not compatible with drupal 4.7» smsgateway to drupal 4.7
Version:4.6.x-1.x-dev» master
Status:active» needs review

Hi David

Here is a patch to make your module compatible with 4.7

The only thing I didn't get working is the button for clearing the logs. I commented out the line - just the line that displays the button. I won't be clearing logs out for auditing purposes, so I don't need it for my installation.

Thanks for all the work that has been done on this to date.

sime

AttachmentSize
smsgateway.4.7.patch 7 KB

#2

Thanks Sime,

You did the bulk of the work for me, which is much appreciated. I've managed to get the clear logs working too.
Module is now working on 4.7,and is checked in - tarball should be available tomorrow.

Cheers
David

#3

Assigned to:Anonymous» therave
Status:needs review» closed (fixed)

Now closed