Closed (fixed)
Project:
Sweaver
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2010 at 08:40 UTC
Updated:
27 Oct 2010 at 12:20 UTC
Just happened on uploading the module only, not even activated... Nothing worked anymore on the site; everywhere same message.
So had to delete the module (rename with "." in front) to get site back.
1 <?php
2 // $Id: sweaver_plugin.inc,v 1.1.2.22 2010/09/18 18:23:09 swentel Exp $
3
4 /**
5 * @file
6 * Base class for a sweaver plugin.
7 */
8 class sweaver_plugin {
9
10 /**
11 * Sweaver dependencies.
12 */
13 function sweaver_dependencies() {
14 return array();
15 }
Comments
Comment #1
swentel commentedThat's normal yeah - the release notes of beta 3 had a notice of that. You need to clear the cache manually and delete the sweaver_plugin folder from the plugins folder. I've added those notes also on the frontpage of the project.
Comment #2
ClearXS commentedI have no idea about PHP, but just adding a missing "}" seems to resolve the issue:
Only no idea if I've put it on the right place?
Comment #3
swentel commentedin which file ?
Comment #4
ClearXS commentedcross-posts... anyway, the old files will be overwritten next time, I suppose... No errors returned yet... Status flipped back automatically, so corrected wit this post
file: sweaver_plugin.inc
But got the error back after some time; re-loading the modules list seems to trigger it.
So 'll follow your advice!
Comment #5
karens commentedFYI for anyone else who runs into problems with the update. After updating the codebase and removing the old plugins folder, the changes create fatal errors until the cache is cleared, which ironically makes it impossible to run drush cc all to clear the cache. Instead I had to do drush sql-query "TRUNCATE {cache}", THEN I could do drush cc all, then things started working again.