Closed (cannot reproduce)
Project:
Alinks
Version:
5.x-1.3-3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Jun 2007 at 17:46 UTC
Updated:
31 Dec 2013 at 00:37 UTC
Jump to comment: Most recent
HI,
I've installed this module o0n 2 sites, but get the same error when trying to add a link:
user warning: Unknown column 'alink_case_insensitive' in 'field list' query: INSERT INTO alinks (alink_start_boundary, alink_text, alink_end_boundary, alink_case_insensitive, alink_url, url_title) VALUES (0, 'alink word goes here', 0, 0, 'url goes here', 'Challenge IT') in /path/includes/database.mysql.inc on line 172.
I've searched through the documentation and cannot find anyone else who may have had this problem.
I've installed it on 2 Drupal sites using Drupal v5.1.
PLEASE help!
Comments
Comment #1
tic2000 commentedTry to run the update script.
I'll release now a new version to fix this. If my solution doesn't work just download the new release, uninstall and then reinstall the module.
Comment #2
Jack_Sparrow commentedHi tic2000,
Thanks for getting back so quickly...
One of the options I tried was to run update, but alas, that did not solve the issue.
I've tried a variety of things... Deleting the tables in the database, uninstalling the module, deleting the folder, then reinstating everything, but I still get the same issue.
Thanks for your help
JS
Comment #3
tic2000 commentedHmmm, try the latest version. When you run the update, if it doesn't work afterwards, run the update again and choose from the select drop down next to alinks "2". That should solve the problem.
Comment #4
Jack_Sparrow commentedHello again,
I tried as you described, but still nothing...
The following queries were executed
alinks module
Update #2
* Failed: ALTER TABLE {alinks} ADD COLUMN alink_case_insensitive TINYINT(1) NOT NULL DEFAULT 0 AFTER alink_end_boundary
Update #3
* Failed: ALTER TABLE {alinks} ADD COLUMN alink_external TINYINT(1) NOT NULL DEFAULT 0 AFTER alink_end_boundary
* Failed: ALTER TABLE {alinks} ADD COLUMN alink_class VARCHAR(255) NOT NULL DEFAULT 'alinks-link' AFTER alink_external
* Failed: ALTER TABLE {alinks} ADD COLUMN alink_weight INT(3) NOT NULL DEFAULT 0 AFTER alink_class
With the same error about missing db tables as before.
What is in includes/database.mysql.inc on line 172? Because I'm, getting the same line error with the chat room module. Has something gone pear-shaped with my Drupal, or is there a serious problem with includes/database.mysql.inc on line 172, or are these 2 modules still not 100%?
Thanks for all your help!
Comment #5
tic2000 commentedI think it's something with your db. If you have access to your db through phpmyadmin or anything else please send me an e-mail and I'll give the right mysql query to execute.
Comment #6
imacache commented