Module doesn't seem to install the right database tables...

user warning: Table 'atc.custom_breadcrumb' doesn't exist query: SELECT * FROM custom_breadcrumb WHERE node_type = 'page' in C:\xxxxxxx\modules\custom_breadcrumbs\custom_breadcrumbs.module on line 84.

I have added the module, set permissions but cannot get it working.

Comments

jmcejudo’s picture

I have the same problem, it seems related to the default value of column "visibility_php". For me the solution was:

  1. Comment the line 34 in "custom_breadcrums.install" : // 'default' => '',
  2. Disable and uninstall the module
  3. Enable the module

it seems to works...

Necuima’s picture

I hade the same problem today (29 March 2009).
My environment is:
. Dell Core 2 Duo PC
. Windows XP Pro SP3
. PHP version 5.2.6
. IIS version 5.1
. MySQL version 5.0.51b-community-nt
. Internet Explorer version 6.0.2900
. Firefox 3.0.4
. sendmail.exe
. Drupal 6.10
. ISAPI_Rewrite_Lite (to enable clean URLs with IIS)
All running on the Dell PC - i.e., all executions are via 'localhost'

The fix above (thanks, jmcejudo) also worked for me so this is still a bug in the module (version 6.x-1.4).

FYI, Necuima

MGN’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #264663: Wrong table definition in install schema, and has already been corrected in 6.x.1.x-dev. The next stable release will reflect this change.