I have Drupal 4.7 installed, then I download Asterisk integration package from http://drupal.org/node/31142/, install it as written in INSTALL.txt. But when I open my information page ( http://192.168.0.13/drupal/?q=user/1/edit ) I get an error
Fatal error: Call to undefined function: form_textfield() in /usr/local/apache/htdocs/drupal/modules/asterisk/asterisk.module on line 762
Also, when I press "my calls" link ( http://192.168.0.13/drupal/?q=user/1/calls ) I get an error
Fatal error: Call to undefined function: tablesort_pager() in /usr/local/apache/htdocs/drupal/modules/asterisk/asterisk.module on line 1070
Also at administration section there is a big error message:
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE u.uid = 1' at line 2 query: SELECT COUNT(*) FROM asterisk_callqueue a INNER JOIN users u USING(uid) WHERE caller_number != 'system' AND callee_number != 'system'AND WHERE u.uid = 1 in /usr/local/apache/htdocs/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE u.uid = 1 ORDER BY dispatch_time ASC LIMIT 0, 30' at line query: SELECT a.*, u.name FROM asterisk_callqueue a INNER JOIN users u USING(uid) WHERE caller_number != 'system' AND callee_number != 'system'AND WHERE u.uid = 1 ORDER BY dispatch_time ASC LIMIT 0, 30 in /usr/local/apache/htdocs/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE u.uid = 1' at line 2 query: SELECT COUNT(*) FROM asterisk_callqueue a INNER JOIN users u USING(uid) WHERE caller_number != 'system' AND callee_number != 'system'AND WHERE u.uid = 1 in /usr/local/apache/htdocs/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE u.uid = 1 ORDER BY dispatch_time ASC LIMIT 0, 30' at line query: SELECT a.*, u.name FROM asterisk_callqueue a INNER JOIN users u USING(uid) WHERE caller_number != 'system' AND callee_number != 'system'AND WHERE u.uid = 1 ORDER BY dispatch_time ASC LIMIT 0, 30 in /usr/local/apache/htdocs/drupal/includes/database.mysql.inc on line 120.
,
though I created the neccessary tables for Asterisk in Drupal database as it was written in installation manual... =(
What could be done with it?
Comments
Comment #1
heine commentedYou cannot use Drupal 4.6 modules on a Drupal 4.7 installation. Refer to the Troubleshooting FAQ (Handbooks) for more info. Delete the module from your installation and all should be well.
Comment #2
hunmonk commented