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:


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/ line 96. at /usr/lib64/perl5/ line 666. DBI::__ANON__(undef, undef) called at /usr/lib64/perl5/ line 721 DBI::connect('DBI', 'dbi:mysql:DATABASE:localhost', 'root', '', 'HASH(0x33c23e0)') called at /usr/lib64/perl5/ line 563 DBI::connect_cached('DBI', 'dbi:mysql:DATABASE:localhost', 'root', '', 'HASH(0x32989f8)') called at /var/lib/foswiki/lib/Foswiki/Contrib/ line 96 Foswiki::Contrib::DbiContrib::connect('Foswiki::Contrib::DbiContrib=HASH(0x321c670)') called at /var/lib/foswiki/lib/Foswiki/Contrib/ 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/ line 302 Foswiki::Plugins::TagsPlugin::getUserId('Foswiki=HASH(0x2527810)') called at /var/lib/foswiki/lib/Foswiki/Plugins/ 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/ 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/ 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/ line 1947 Foswiki::Meta::save('Foswiki::Meta=HASH(0x321c538)') called at /var/lib/foswiki/lib/Foswiki/ line 757 Foswiki::Meta::populateNewWeb('Foswiki::Meta=HASH(0x24f8218)', '_BugsContrib', 'HASH(0x233d6d0)') called at /var/lib/foswiki/lib/Foswiki/UI/ line 259 Foswiki::UI::Manage::__ANON__() called at /var/lib/foswiki/lib/CPAN/lib/ line 379 eval {...} called at /var/lib/foswiki/lib/CPAN/lib/ line 371 Error::subs::try('CODE(0x2492e10)', 'HASH(0x321c460)') called at /var/lib/foswiki/lib/Foswiki/UI/ line 267 Foswiki::UI::Manage::_action_createweb('Foswiki=HASH(0x2527810)') called at /var/lib/foswiki/lib/Foswiki/UI/ line 45 Foswiki::UI::Manage::manage('Foswiki=HASH(0x2527810)') called at /var/lib/foswiki/lib/Foswiki/ line 316 Foswiki::UI::__ANON__() called at /var/lib/foswiki/lib/CPAN/lib/ line 379 eval {...} called at /var/lib/foswiki/lib/CPAN/lib/ line 371 Error::subs::try('CODE(0x1b12f28)', 'HASH(0x25273d8)') called at /var/lib/foswiki/lib/Foswiki/ line 435 Foswiki::UI::_execute('Foswiki::Request=HASH(0x1bfb900)', 'CODE(0x248a468)', 'manage', 1) called at /var/lib/foswiki/lib/Foswiki/ line 274 Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1bfb900)') called at /var/lib/foswiki/lib/Foswiki/Engine/ 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 16 Jan 2020 - 15:21.

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