Closed (fixed)
Project:
Feed to Node
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
17 Oct 2013 at 12:26 UTC
Updated:
20 Oct 2013 at 15:32 UTC
Hello,
Just as the title says :
when going to the admin/config/content/setupsimpelyoutubefeed I get a critical error :
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'packt_mod_dev.feed_to_node' doesn't exist: SELECT s.* FROM {feed_to_node} s; Array ( ) in feed_to_node_admin_setup_feed() (line 275 of C:\xampp\htdocs\drupal\sites\all\modules\sandbox\feed_to_node.module).
I'm guessing the required table isn't made available upon installation of the module?
Comments
Comment #1
redsd commentedYes correct,
I haven't created the install file yet, I didn't figure Anyone would check this repo out within a day... Next time I keep that in mind...
The SQL is:
CREATE TABLE `feed_to_node` (
`fid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`url` text NOT NULL,
`name` varchar(250) NOT NULL,
`nid` int(10) unsigned NOT NULL,
`published` tinyint(1) NOT NULL,
`parser` varchar(250) NOT NULL,
PRIMARY KEY (`fid`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
CREATE TABLE `feed_to_node_item` (
`fiid` varchar(250) NOT NULL COMMENT 'Unique youtube id',
`nid` int(10) unsigned NOT NULL,
`fid` int(10) unsigned NOT NULL,
PRIMARY KEY (`fiid`,`nid`) USING BTREE,
KEY `node` (`nid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Comment #2
Alienpruts commentedThe speed of the communty : it's mindboggling these days :)
i'll take a further look and let you know what I come up with.
Comment #3
redsd commentedHaha yeah!
I added the install file and a README.txt with the same explination as on the module page.
I also changed the url path which reffered to earlier naming of the module.
Comment #4
redsd commentedFixed Install file was added, including some extra updates.
Comment #5
redsd commented