Config:
- Drupal 5.1, fresh install
- Apache 2.2
- Firefox 2 and IE 7
When I download and install any drupal module from the website, autocomplete for Authoring Information works fine, but when I install my own module it fails. However, the module I'm installing I've stripped down to just the barest of essentials, and still autocomplete spins, but does not show the list as it does with the more 'official' downloads. As soon as I uninstall the module, it works fine again. (The same thing happened with the fully coded module file as well, but I stripped it down to eliminate the possibilities.)
Any ideas would be greatly appreciated, as this is the last piece of functionality that I need to complete the set of modules I'm developing.
Included below are my module files:
company.info
; $Id: company.info,v 1.0 2007/04/01 12:00:00 mcunliffe Exp $
name = company
description = A module to manage a client companies.
package = "Client Company Manager"
company.install
<?php
function company_install() {
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
db_query("CREATE TABLE `company` (
`nid` int(10) unsigned NOT NULL default '0',
`vid` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`vid`,`nid`)
) ");
break;