Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
This module requires the database user to have either CREATE TEMPORARY TABLES or LOCK TABLES right (I did not test for which, but suspect you know) or gives an error that it cannot find custom_breadcrumb table.
Quote from drupal 6 requirements:
As of 6.x, Drupal core no longer requires CREATE TEMPORARY TABLES or LOCK TABLES, and can be installed without them. However some contributed modules may still rely on them.
It would be nice for novices like myself if this were mentioned in the release notes.
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#6 | custom_breadcrumbs-DRUPAL-6--1.install.patch | 712 bytes | sun |
Comments
Comment #1
terkkila CreditAttribution: 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 CreditAttribution: beauz commentedI'm getting this error as well... any idea how to fix? cannot seem to get this module working...
Comment #3
jmdoran CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: thePanz commentedYour patch is working fine.
also I setted #310294: Installation Warning as a duplicated issue.
Comment #8
yang_yi_cn CreditAttribution: yang_yi_cn commentedThis patch works! without it I cannot add any settings
Comment #9
sunComment #10
MGN CreditAttribution: MGN commentedCommitted to 6.x-1.x-dev.