cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Answered

Creating a Web using BugsContrib

Hey guys its me again. So I am trying to use the BugsContrib and create a web with its default template. One of the errors I got while creating the web using the default template was this:

Attention

Could not create the new web BugTracker?
DBI connect('DATABASE:localhost','root',...) failed: Can't connect to local MySQL? server through socket '/var/lib/mysql/mysql.sock' (2) at /var/lib/foswiki/lib/Foswiki/Contrib/DbiContrib.pm line 96. at /usr/lib64/perl5/DBI.pm line 666. DBI::__ANON__(undef, undef) called at /usr/lib64/perl5/DBI.pm line 721 DBI::connect('DBI', 'dbi:mysql:DATABASE:localhost', 'root', '', 'HASH(0x33c23e0)') called at /usr/lib64/perl5/DBI.pm line 563 DBI::connect_cached('DBI', 'dbi:mysql:DATABASE:localhost', 'root', '', 'HASH(0x32989f8)') called at /var/lib/foswiki/lib/Foswiki/Contrib/DbiContrib.pm line 96 Foswiki::Contrib::DbiContrib::connect('Foswiki::Contrib::DbiContrib=HASH(0x321c670)') called at /var/lib/foswiki/lib/Foswiki/Contrib/DbiContrib.pm line 146 Foswiki::Contrib::DbiContrib::dbSelect('Foswiki::Contrib::DbiContrib=HASH(0x321c670)', 'SELECT CUID from Users WHERE FoswikicUID? = ? ', 'cfernando') called at /var/lib/foswiki/lib/Foswiki/Plugins/TagsPlugin.pm line 302 Foswiki::Plugins::TagsPlugin::getUserId('Foswiki=HASH(0x2527810)') called at /var/lib/foswiki/lib/Foswiki/Plugins/TagsPlugin.pm line 87 Foswiki::Plugins::TagsPlugin::afterSaveHandler('%META:TOPICINFO{author="cfernando" date="1355173392" format="...', 'WebPreferences', 'BugTracker', undef, 'Foswiki::Meta=HASH(0x321c538)') called at /var/lib/foswiki/lib/Foswiki/Plugin.pm line 288 Foswiki::Plugin::invoke('Foswiki::Plugin=HASH(0x2f0dfe0)', 'afterSaveHandler', '%META:TOPICINFO{author="cfernando" date="1355173392" format="...', 'WebPreferences', 'BugTracker', undef, 'Foswiki::Meta=HASH(0x321c538)') called at /var/lib/foswiki/lib/Foswiki/Plugins.pm line 340 Foswiki::Plugins::dispatch('Foswiki::Plugins=HASH(0x24cdde8)', 'afterSaveHandler', '%META:TOPICINFO{author="cfernando" date="1355173392" format="...', 'WebPreferences', 'BugTracker', undef, 'Foswiki::Meta=HASH(0x321c538)') called at /var/lib/foswiki/lib/Foswiki/Meta.pm line 1947 Foswiki::Meta::save('Foswiki::Meta=HASH(0x321c538)') called at /var/lib/foswiki/lib/Foswiki/Meta.pm line 757 Foswiki::Meta::populateNewWeb('Foswiki::Meta=HASH(0x24f8218)', '_BugsContrib', 'HASH(0x233d6d0)') called at /var/lib/foswiki/lib/Foswiki/UI/Manage.pm line 259 Foswiki::UI::Manage::__ANON__() called at /var/lib/foswiki/lib/CPAN/lib/Error.pm line 379 eval {...} called at /var/lib/foswiki/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x2492e10)', 'HASH(0x321c460)') called at /var/lib/foswiki/lib/Foswiki/UI/Manage.pm line 267 Foswiki::UI::Manage::_action_createweb('Foswiki=HASH(0x2527810)') called at /var/lib/foswiki/lib/Foswiki/UI/Manage.pm line 45 Foswiki::UI::Manage::manage('Foswiki=HASH(0x2527810)') called at /var/lib/foswiki/lib/Foswiki/UI.pm line 316 Foswiki::UI::__ANON__() called at /var/lib/foswiki/lib/CPAN/lib/Error.pm line 379 eval {...} called at /var/lib/foswiki/lib/CPAN/lib/Error.pm line 371 Error::subs::try('CODE(0x1b12f28)', 'HASH(0x25273d8)') called at /var/lib/foswiki/lib/Foswiki/UI.pm line 435 Foswiki::UI::_execute('Foswiki::Request=HASH(0x1bfb900)', 'CODE(0x248a468)', 'manage', 1) called at /var/lib/foswiki/lib/Foswiki/UI.pm line 274 Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1bfb900)') called at /var/lib/foswiki/lib/Foswiki/Engine/CGI.pm line 41 Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x1e61b40)') called

I am not entirely sure what to make of it. It creates a web but its all bugged out.

-- ChristyFernando - 10 Dec 2012

I looked up the mysql error line...and found that mines was disabled. I wonder if a sudden power loss to the server turned off some service.

-- ChristyFernando - 11 Dec 2012

By not enabling the TagsPlugin the error seemed to have disappeared.

-- ChristyFernando - 11 Dec 2012

TagsPlugin uses a SQL database. If you enable that plugin, the database connection needs to be configured in bin/configure under the extensions tab.

-- GeorgeClark - 11 Dec 2012
 

QuestionForm edit

Subject Using an extension
Extension BugsContrib
Version Foswiki 1.1.5
Status Answered
Related Topics
Topic revision: r5 - 12 Dec 2012, GeorgeClark - This page was cached on 18 Aug 2018 - 12:50.

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