Closed (fixed)
Project:
Custom Breadcrumbs
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 May 2008 at 15:45 UTC
Updated:
25 Feb 2009 at 02:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
terkkila commentedI take that back. I am still getting this error:
user warning: Table 'drupal.custom_breadcrumb' doesn't exist query: SELECT * FROM custom_breadcrumb WHERE node_type = 'page' in H:\www\apache2\htdocs\trojan_website\modules\custom_breadcrumbs\custom_breadcrumbs.module on line 84.
It had disappeared for a while.
Comment #2
beauz commentedI'm getting this error as well... any idea how to fix? cannot seem to get this module working...
Comment #3
jmdoran commentedThe problem is in the custom_breadcrumbs.install file. Basically the module isn't installing its database correctly, because it tries to assign a blank string as a default for a text field. As you run into problems later, it's because the custom_breadcrumbs database doesn't exist.
To fix the problem:
(If you've already tried to install the module once start here)
- Disable the module.
- Uninstall the module. (using the uninstall tab)
(if you haven't installed the module start here)
- Comment out line 33 of custom_breadcrumbs.install
This is the line in the custom_breadcrumbs_schema function that adds the value '' to the key 'default' in the $schema variable.
or: 'default' => '',
- Install the module.
This should properly create the database, and make the module usable.
How did this not get noticed? Further inquiry likely needed.
Comment #4
hdcwebteam commentedIt's either line 25 or 38 in 6.x-1.3, not line 33. Neither one solves the problem when commented out for me.
Comment #5
Proct0t commentedcommenting out line 33 ('default' => '',) worked for me for version 6.x-1.3...
Comment #6
sunCorrect, columns of the type text must not define a default value.
Comment #7
thepanz commentedYour patch is working fine.
also I setted #310294: Installation Warning as a duplicated issue.
Comment #8
yang_yi_cn commentedThis patch works! without it I cannot add any settings
Comment #9
sunComment #10
MGN commentedCommitted to 6.x-1.x-dev.