This question about Installation of extension: Answered

Enabled TagsPlugin breaks Topic saving

Hello, I'm sorry I have a new problem

I have a Foswiki 1.0.5 with many Plugins.

If I enable TagsPlugin and TagCloudPlugin I got a message like

Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

install_driver(mysql) failed: Can't locate DBDpath in @INC (@INC contains:...

If I try to edit a topic, write something and triggers the save-button I get a message like:

Attention

Error saving topic

During save of Sandbox an error was found by the version control system.

install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /var/www/Foswiki-1.0.5/lib . /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /var/www/Foswiki-1.0.5/lib/CPAN/lib//arch /var/www/Foswiki-1.0.5/lib/CPAN/lib//5.8.5/i386-linux-thread-multi /var/www/Foswiki-1.0.5/lib/CPAN/lib//5.8.5 /var/www/Foswiki-1.0.5/lib/CPAN/lib/) at (eval 365) line 3.
 at (eval 365) line 3
	eval 'package			# hide from PAUSE
		DBI::_firesafe;		# just in case
	    require DBD::mysql;	# load the driver
    
;' called at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBI.pm line 751
	DBI::install_driver('DBI', 'mysql') called at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBI.pm line 621
	DBI::connect('DBI', 'dbi:mysql:DATABASE:localhost', 'root', '', 'HASH(0xaf456e0)') called at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBI.pm line 550
	DBI::connect_cached('DBI', 'dbi:mysql:DATABASE:localhost', 'root', '', 'HASH(0xaf4562c)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Contrib/DbiContrib.pm line 96
	Foswiki::Contrib::DbiContrib::connect('Foswiki::Contrib::DbiContrib=HASH(0xaf47cc0)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Contrib/DbiContrib.pm line 146
	Foswiki::Contrib::DbiContrib::dbSelect('Foswiki::Contrib::DbiContrib=HASH(0xaf47cc0)', 'SELECT CUID from Users WHERE FoswikicUID = ? ', 'BaseUserMapping_333') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Plugins/TagsPlugin.pm line 301
	Foswiki::Plugins::TagsPlugin::getUserId('Foswiki=HASH(0x9ba5a30)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Plugins/TagsPlugin.pm line 86
	Foswiki::Plugins::TagsPlugin::afterSaveHandler('%META:TOPICINFO{author="BaseUserMapping_333" date="1242398278...', 'WebHome', 'Sandbox', '', 'Foswiki::Meta=HASH(0xaf3b564)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Plugin.pm line 273
	Foswiki::Plugin::invoke('Foswiki::Plugin=HASH(0xa89f404)', 'afterSaveHandler', '%META:TOPICINFO{author="BaseUserMapping_333" date="1242398278...', 'WebHome', 'Sandbox', '', 'Foswiki::Meta=HASH(0xaf3b564)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Plugins.pm line 316
	Foswiki::Plugins::dispatch('Foswiki::Plugins=HASH(0x9c3ddbc)', 'afterSaveHandler', '%META:TOPICINFO{author="BaseUserMapping_333" date="1242398278...', 'WebHome', 'Sandbox', '', 'Foswiki::Meta=HASH(0xaf3b564)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Store.pm line 951
	Foswiki::Store::saveTopic('Foswiki::Store=HASH(0x9c6bd5c)', 'BaseUserMapping_333', 'Sandbox', 'WebHome', 'noch ein test\x{a}\x{a}bla\x{a}\x{a}iughiguiu\x{a}---+ Welcome to Sandbox\x{a}   * [[...', 'Foswiki::Meta=HASH(0xaf3f21c)', 'HASH(0xaf32a18)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/UI/Save.pm line 606
	Foswiki::UI::Save::__ANON__() called at /var/www/Foswiki-1.0.5/lib/CPAN/lib//Error.pm line 379
	eval {...} called at /var/www/Foswiki-1.0.5/lib/CPAN/lib//Error.pm line 371
	Error::subs::try('CODE(0xaf346ec)', 'HASH(0xaf3b438)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/UI/Save.pm line 616
	Foswiki::UI::Save::save('Foswiki=HASH(0x9ba5a30)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/UI.pm line 287
	Foswiki::UI::__ANON__() called at /var/www/Foswiki-1.0.5/lib/CPAN/lib//Error.pm line 379
	eval {...} called at /var/www/Foswiki-1.0.5/lib/CPAN/lib//Error.pm line 371
	Error::subs::try('CODE(0xac001d8)', 'HASH(0xaf32814)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/UI.pm line 355
	Foswiki::UI::_execute('Foswiki::Request=HASH(0x9b98f38)', 'CODE(0x99cb730)', 'save', 1) called at /var/www/Foswiki-1.0.5/lib/Foswiki/UI.pm line 258
	Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x9b98f38)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Engine/CGI.pm line 26
	Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x9a93df0)') called at /var/www/Foswiki-1.0.5/bin/save line 45
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Gofer, Proxy, Sponge.
 at /var/www/Foswiki-1.0.5/lib/Foswiki/Contrib/DbiContrib.pm line 96
 at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBI.pm line 775
	DBI::install_driver('DBI', 'mysql') called at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBI.pm line 621
	DBI::connect('DBI', 'dbi:mysql:DATABASE:localhost', 'root', '', 'HASH(0xaf456e0)') called at /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/DBI.pm line 550
	DBI::connect_cached('DBI', 'dbi:mysql:DATABASE:localhost', 'root', '', 'HASH(0xaf4562c)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Contrib/DbiContrib.pm line 96
	Foswiki::Contrib::DbiContrib::connect('Foswiki::Contrib::DbiContrib=HASH(0xaf47cc0)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Contrib/DbiContrib.pm line 146
	Foswiki::Contrib::DbiContrib::dbSelect('Foswiki::Contrib::DbiContrib=HASH(0xaf47cc0)', 'SELECT CUID from Users WHERE FoswikicUID = ? ', 'BaseUserMapping_333') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Plugins/TagsPlugin.pm line 301
	Foswiki::Plugins::TagsPlugin::getUserId('Foswiki=HASH(0x9ba5a30)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Plugins/TagsPlugin.pm line 86
	Foswiki::Plugins::TagsPlugin::afterSaveHandler('%META:TOPICINFO{author="BaseUserMapping_333" date="1242398278...', 'WebHome', 'Sandbox', '', 'Foswiki::Meta=HASH(0xaf3b564)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Plugin.pm line 273
	Foswiki::Plugin::invoke('Foswiki::Plugin=HASH(0xa89f404)', 'afterSaveHandler', '%META:TOPICINFO{author="BaseUserMapping_333" date="1242398278...', 'WebHome', 'Sandbox', '', 'Foswiki::Meta=HASH(0xaf3b564)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Plugins.pm line 316
	Foswiki::Plugins::dispatch('Foswiki::Plugins=HASH(0x9c3ddbc)', 'afterSaveHandler', '%META:TOPICINFO{author="BaseUserMapping_333" date="1242398278...', 'WebHome', 'Sandbox', '', 'Foswiki::Meta=HASH(0xaf3b564)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Store.pm line 951
	Foswiki::Store::saveTopic('Foswiki::Store=HASH(0x9c6bd5c)', 'BaseUserMapping_333', 'Sandbox', 'WebHome', 'noch ein test\x{a}\x{a}bla\x{a}\x{a}iughiguiu\x{a}---+ Welcome to Sandbox\x{a}   * [[...', 'Foswiki::Meta=HASH(0xaf3f21c)', 'HASH(0xaf32a18)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/UI/Save.pm line 606
	Foswiki::UI::Save::__ANON__() called at /var/www/Foswiki-1.0.5/lib/CPAN/lib//Error.pm line 379
	eval {...} called at /var/www/Foswiki-1.0.5/lib/CPAN/lib//Error.pm line 371
	Error::subs::try('CODE(0xaf346ec)', 'HASH(0xaf3b438)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/UI/Save.pm line 616
	Foswiki::UI::Save::save('Foswiki=HASH(0x9ba5a30)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/UI.pm line 287
	Foswiki::UI::__ANON__() called at /var/www/Foswiki-1.0.5/lib/CPAN/lib//Error.pm line 379
	eval {...} called at /var/www/Foswiki-1.0.5/lib/CPAN/lib//Error.pm line 371
	Error::subs::try('CODE(0xac001d8)', 'HASH(0xaf32814)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/UI.pm line 355
	Foswiki::UI::_execute('Foswiki::Request=HASH(0x9b98f38)', 'CODE(0x99cb730)', 'save', 1) called at /var/www/Foswiki-1.0.5/lib/Foswiki/UI.pm line 258
	Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x9b98f38)') called at /var/www/Foswiki-1.0.5/lib/Foswiki/Engine/CGI.pm line 26
	Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x9a93df0)') called

I know that TagsPlugin needs DbiContrib and that DbiContrib needs the CPAN package DBI. But I have installed it. I also installed DBI::DBD.

But if I understand the errormessage right it needs DBD::mysql, but there wasn't anything in the Dependencies.

Many Thanks in advance

-- StephaniePlatz - 15 May 2009

yes, it will need whichever sql backend driver you have decided to use. If you use MySQL (the one i'd expect most) then you need DBD::mysql. I can't hard code a dependancy to any particular DBD backend - you can choose to use one of the huge number of SQL servers possible

-- SvenDowideit - 15 May 2009

QuestionForm edit

Subject Installation of extension
Extension TagCloudPlugin
Version
Status Answered
Topic revision: r3 - 15 May 2009, WillNorris - This page was cached on 17 Oct 2018 - 22:40.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy