Download & Extend

Error on installation - missing DB Tables

Project:Activity Stream
Version:5.x-1.0-beta1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:akalsey
Status:closed (fixed)

Issue Summary

I just downloaded it, copied it into the sites/all/modules, click modules in admin and get this:

* warning: Error parsing sites/all/modules/activitystream/activitystream.info on line 1 in C:\apache\htdocs\paseo11\includes\module.inc on line 195.
* warning: Error parsing sites/all/modules/activitystream/activitystream_delicious/activitystream_delicious.info on line 1 in C:\apache\htdocs\paseo11\includes\module.inc on line 195.
* warning: Error parsing sites/all/modules/activitystream/activitystream_digg/activitystream_digg.info on line 1 in C:\apache\htdocs\paseo11\includes\module.inc on line 195.
* warning: Error parsing sites/all/modules/activitystream/activitystream_feed/activitystream_feed.info on line 1 in C:\apache\htdocs\paseo11\includes\module.inc on line 195.
* warning: Error parsing sites/all/modules/activitystream/activitystream_flickr/activitystream_flickr.info on line 1 in C:\apache\htdocs\paseo11\includes\module.inc on line 195.
* warning: Error parsing sites/all/modules/activitystream/activitystream_lastfm/activitystream_lastfm.info on line 1 in C:\apache\htdocs\paseo11\includes\module.inc on line 195.
* warning: Error parsing sites/all/modules/activitystream/activitystream_twitter/activitystream_twitter.info on line 1 in C:\apache\htdocs\paseo11\includes\module.inc on line 195.

Comments

#1

Ok, solved by modifying all the .info files...
I had to replace the // with a ; in the info files

But now, next error. I click on the user profile and get 2 errors that tables not exist...
I guess its far too early to use this module.

#2

i have the same parsing error

* warning: Error parsing modules/activitystream/activitystream.info on line 1 in /home/.tica/rumbley/aopenproject.com/drupal-5.7/includes/module.inc on line 195.
* warning: Error parsing modules/activitystream/activitystream_delicious/activitystream_delicious.info on line 1 in /home/.tica/rumbley/aopenproject.com/drupal-5.7/includes/module.inc on line 195.
* warning: Error parsing modules/activitystream/activitystream_digg/activitystream_digg.info on line 1 in /home/.tica/rumbley/aopenproject.com/drupal-5.7/includes/module.inc on line 195.
* warning: Error parsing modules/activitystream/activitystream_feed/activitystream_feed.info on line 1 in /home/.tica/rumbley/aopenproject.com/drupal-5.7/includes/module.inc on line 195.
* warning: Error parsing modules/activitystream/activitystream_flickr/activitystream_flickr.info on line 1 in /home/.tica/rumbley/aopenproject.com/drupal-5.7/includes/module.inc on line 195.
* warning: Error parsing modules/activitystream/activitystream_lastfm/activitystream_lastfm.info on line 1 in /home/.tica/rumbley/aopenproject.com/drupal-5.7/includes/module.inc on line 195.
* warning: Error parsing modules/activitystream/activitystream_twitter/activitystream_twitter.info on line 1 in /home/.tica/rumbley/aopenproject.com/drupal-5.7/includes/module.inc on line 195.

#3

You can create these tables manually - just look inside activitystream.install file and execute all 3 queries. However 'activitystream' table still lacks 2 columns - 'link' and 'data'. I have created them as varchar(255) and text, then had no more errors, but... well, temporarily lost my interest in this module. :>

#4

Title:Error on installation» Error on installation - missing DB Tables
Assigned to:Anonymous» designerbrent
Status:active» needs review

Here is a patch for the installer file for the activitystream.install. There were several problems including mis-named install functions and uninstall functions so they were never getting called, thus all the errors on the install page.

On the problems with the .info files, take a look at #239463: Fix for error in .info files (missing ';' )

AttachmentSize
activitystream installer.diff 2.8 KB

#5

So for this module, I've got to run this diff file over activitystream.install as well as patching a pile of .info files referred to in #239463?
Wouldn't it be better to release a new point release since this install is broken?

#6

rastarr,

yes, you will need to do the diff's in order of it to install properly.

As for a new release, that will have to wait for the module maintainer.

#7

Status:needs review» fixed

Brent, thanks for the catch on the function names. Changed the name of the module and missed the installer functions. Installer updated and will be in next CVS checkin

#8

Status:fixed» closed (fixed)

Fixed in Beta 2.

#9

Assigned to:designerbrent» akalsey
nobody click here