This question about Configuration: Marked for deletion

Question2133

When I open the bin/configure in URL, the following message appears:

Warning Foswiki is running in 'bootstrap' mode, which means that there is no existing configuration (LocalSite.cfg is missing or is unreadable). Before you save, you must make sure you have configured some way to log in as an admin (see 'Security and Authentication'), or you might lock yourself out from this interface.

LocalSite.cfg is NOT missing, and is with right permissions 644 for user apache. Also, I discover that I am not able to edit any topic, its like the editor plugin is not there. I then check in error_log of httpd, there are a bunch of lines that all seem to point to issue with ImagePlugin , which is what I installed most recently. Site was normal till then.

Use of uninitialized value in concatenation (.) or string at /var/www/html/InoFoswiki/lib/Foswiki/Plugins/UpdatesPlugin/Core.pm line 357.
| 2022-11-18T12:04:02+05:30 error | Foswiki::Plugins::ImagePlugin could not be loaded. Errors were:
Attempt to reload Foswiki/Plugins/ImagePlugin.pm aborted.
Compilation failed in require at (eval 375) line 2.
at (eval 375) line 2.
Foswiki::Plugin::BEGIN() called at (eval 375) line 2
eval {...} called at (eval 375) line 2
eval 'use Foswiki::Plugins::ImagePlugin
;' called at /var/www/html/InoFoswiki/lib/Foswiki/Plugin.pm line 106
Foswiki::Plugin::new('Foswiki::Plugin', 'Foswiki=HASH(0x55badf73c3b0)', 'ImagePlugin') called at /var/www/html/InoFoswiki/lib/Foswiki/Plugins.pm line 195
Foswiki::Plugins::preload('Foswiki::Plugins=HASH(0x55badf69a950)') called at /var/www/html/InoFoswiki/lib/Foswiki/Plugins.pm line 81
Foswiki::Plugins::new('Foswiki::Plugins', 'Foswiki=HASH(0x55badf73c3b0)') called at /var/www/html/InoFoswiki/lib/Foswiki.pm line 2105
Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0x55badf30ba58)', 'HASH(0x55bade994c48)') called at /var/www/html/InoFoswiki/lib/Foswiki/UI.pm line 363
Foswiki::UI::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419
eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411
Error::subs::try('CODE(0x55badd9bca30)', 'HASH(0x55baded8cef0)') called at /var/www/html/InoFoswiki/lib/Foswiki/UI.pm line 500
Foswiki::UI::_execute('Foswiki::Request=HASH(0x55badf30ba58)', 'CODE(0x55badf2380d8)') called at /var/www/html/InoFoswiki/lib/Foswiki/UI.pm line 326
Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x55badf30ba58)') called at /var/www/html/InoFoswiki/lib/Foswiki/Engine/Apache.pm line 91
Foswiki::Engine::Apache::run('Apache2::RequestRec=SCALAR(0x55badd97a5e0)') called at (eval 375) line 2
eval {...} called at (eval 375) line 2
BEGIN failed--compilation aborted at (eval 375) line 2.
at (eval 375) line 2.
eval 'use Foswiki::Plugins::ImagePlugin
;' called at /var/www/html/InoFoswiki/lib/Foswiki/Plugin.pm line 106
Foswiki::Plugin::new('Foswiki::Plugin', 'Foswiki=HASH(0x55badf73c3b0)', 'ImagePlugin') called at /var/www/html/InoFoswiki/lib/Foswiki/Plugins.pm line 195
Foswiki::Plugins::preload('Foswiki::Plugins=HASH(0x55badf69a950)') called at /var/www/html/InoFoswiki/lib/Foswiki/Plugins.pm line 81
Foswiki::Plugins::new('Foswiki::Plugins', 'Foswiki=HASH(0x55badf73c3b0)') called at /var/www/html/InoFoswiki/lib/Foswiki.pm line 2105
Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0x55badf30ba58)', 'HASH(0x55bade994c48)') called at /var/www/html/InoFoswiki/lib/Foswiki/UI.pm line 363
Foswiki::UI::__ANON__() called at /usr/share/perl5/vendor_perl/Error.pm line 419
eval {...} called at /usr/share/perl5/vendor_perl/Error.pm line 411
Error::subs::try('CODE(0x55badd9bca30)', 'HASH(0x55baded8cef0)') called at /var/www/html/InoFoswiki/lib/Foswiki/UI.pm line 500
Foswiki::UI::_execute('Foswiki::Request=HASH(0x55badf30ba58)', 'CODE(0x55badf2380d8)') called at /var/www/html/InoFoswiki/lib/Foswiki/UI.pm line 326
Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x55badf30ba58)') called at /var/www/html/InoFoswiki/lib/Foswiki/Engine/Apache.pm line 91
Foswiki::Engine::Apache::run('Apache2::RequestRec=SCALAR(0x55badd97a5e0)') called at (eval 375) line 2
eval {...} called at (eval 375) line 2

---- |
ERROR: can't load plugin for observer
ERROR: can't load plugin for browser

I disable ImagePlugin by making the following line to 0 in LocalSite.cfg $Foswiki::cfg{Plugins}{ImagePlugin}{Enabled} = 0;
After the above step, the problem of missing LocalSite.cfg persists, and editor does not work, and these lines keep repeating in httpd error_log:

Argument "" isn't numeric in numeric ne (=) at /var/www/html/InoFoswiki/lib/Foswiki/Macros/QUERY.pm line 36.
ERROR: can't load plugin for observer
ERROR: can't load plugin for browser

Please help get our site going!

-- NagarajP - 18 Nov 2022

Duplicate of Question2134.

-- MichaelDaum - 18 Nov 2022
 

QuestionForm edit

Subject Configuration
Extension ImagePlugin
Version Foswiki 2.0.2
Status Marked for deletion
Related Topics
Topic revision: r2 - 18 Nov 2022, MichaelDaum
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