[swf] How do I remove the SWF Plugin Now??

tnmilemium

Joined: 2006-02-10
Posts: 3
Posted: Fri, 2006-02-10 05:52

I had the SWF plugin installed never really played with it. After upgrading to the 2/1/06 build if I try to go to the modules page I get this error.

Fatal error: Call to a member function on a non-object in /home/username/public_html/gallery2/modules/swf/module.inc on line 98

I can access the page if I delete the folder for this plugin, but then it will not allow me to install anymore updates until I copy the folder back. Any ideas???

 
tnmilemium

Joined: 2006-02-10
Posts: 3
Posted: Fri, 2006-02-10 06:16

Gallery version = 2.1-soon core 1.0.22
PHP version = 4.4.2 apache
Webserver = Apache 3 - HOSTMerit
Database = mysql 4.1.14-standard
Toolkits = ArchiveUpload, Exif, Thumbnail, ImageMagick, Gd, NetPBM, SquareThumb, Getid3
Operating system = Linux fresh.hostmerit.com 2.6.11.1-julia #1 SMP Sat Oct 8 15:18:27 EDT 2005 i686
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-02-10 13:40

you can delete the folder and edit your database:
database tables:
- g2_PluginMap (delete from g2_PluginMap where g_pluginId = 'swf')
- g2_PluginParameterMap (delete from g2_PluginParameterMap( where g_pluginId = 'swf')
- g2_Toolkit... tables too

finally delete your db cache in http://example.com/gallery2/lib/support/ -> cache maintenance

 
tnmilemium

Joined: 2006-02-10
Posts: 3
Posted: Fri, 2006-02-10 23:27

Worked great thx.