View Issue Details

IDProjectCategoryView StatusLast Update
17284Bug reportsPluginspublic2021-05-09 10:58
ReporterChristianJeske Assigned Toollehar  
PrioritynoneSeveritycrash 
Status feedbackResolutionopen 
Product Version4.5.x 
Summary17284: Can't open plugin manager
DescriptionIf I try to open the plugin manager I get this screen:

500: Interner Serverfehler
Missing configuration file for plugin AuditLog

Ein interner Fehler ist aufgetreten, während der Webserver Ihre Anfrage bearbeitet hat.

Bitte kontaktieren Sie Administrator, um dieses Problem zu melden.

I have: LimeSurvey
Version 4.6.0+210504

I use a Maria-DB Version 10.4.

On the server if I look into the lime survey folder I find under application/core/plugins/AuditLog
AuditLog.php
config.xml
mdlAuditLog.php

So to me it looks like the files are there. But for whatever reason it does not find them.
Steps To Reproduceclick on configuration -> plugin manager
TagsNo tags attached.
Complete LimeSurvey version number (& build)LimeSurvey Version 4.6.0+210504
I will donate to the project if issue is resolvedNo
BrowserFirefox current version
Database & DB-VersionMaria DB 10.4
Server OS (if known)No clue
Webserver software & version (if known)No clue
PHP Version7.3.6 (I guess I could upgrade to 7.4.0 if that helps)

Activities

ollehar

ollehar

2021-05-04 17:17

administrator   ~64225

Can you enable debug = 2 in application/config/config.php and try again, please? Paste the complete error message here.
ChristianJeske

ChristianJeske

2021-05-05 09:19

reporter   ~64245

38 // 'connectionID' => 'db',
39 // 'sessionTableName' => '{{sessions}}',
40 // ),
41
42 'urlManager' => array(
43 'urlFormat' => 'path',
44 'rules' => require('routes.php'),
45 'showScriptName' => true,
46 ),
47
48 ),
49 // Use the following config variable to set modified optional settings copied from config-defaults.php
50 config=>array(
51 // debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this
52 // then please check your error-logs - either in your hosting provider admin panel or in some /logs directory
53 // on your webspace.
54 // LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates
55 debug=>2,
56 'debugsql'=>0 // Set this to 1 to enanble sql logging, only active when debug = 2
57 )
58 );
59 /* End of file config.php */
60 /* Location: ./application/config/config.php */

Well, it does not look like it work?



There is more below about a stack trace:

             if (is_array($securityConfig)) {
151 $this->config = array_merge($this->config, $securityConfig);
152 }
153 }
154 if (file_exists($configdir . '/config.php')) {
155 $userConfigs = require($configdir . '/config.php');
156 if (is_array($userConfigs['config'])) {
157 $this->config = array_merge($this->config, $userConfigs['config']);
158 }
159 }

89
90 /* Construct CWebApplication */
91 parent::__construct($aApplicationConfig);
92
93 /* Because we have app now : we have to call again the config (usage of Yii::app() for publicurl) */
94 $this->setConfigs();
95
96
97 /* Update asset manager path and url only if not directly set in aApplicationConfig (from config.php),
98 * must do after reloading to have valid publicurl (the tempurl) */
99 if (!isset($aApplicationConfig['components']['assetManager']['baseUrl'])) {

127 * to the constructor of the application class.
128 * @return mixed the application instance
129 */
130 public static function createApplication($class,$config=null)
131 {
132 return new $class($config);
133 }
134
135 /**
136 * Returns the application singleton or null if the singleton has not been created yet.
137 * @return CApplication the application singleton, null if the singleton has not been created yet.

7 require_once APPPATH . 'core/LSYii_Application' . EXT;
178
179 $config = require_once(APPPATH . 'config/internal' . EXT);
180
181 Yii::$enableIncludePath = false;
182 Yii::createApplication('LSYii_Application', $config)->run();
183
184 /* End of file index.php */
185 /* Location: ./index.php */
ChristianJeske

ChristianJeske

2021-05-05 09:31

reporter   ~64246

ah and I tried with 50 config=>array( enabled and with the ' in front of it (like it was before)
ollehar

ollehar

2021-05-05 12:12

administrator   ~64250

Sorry, the pasted error message is not very clear to me. Can you do a screenshot instead?
ChristianJeske

ChristianJeske

2021-05-06 09:38

reporter   ~64254

Here is the images
long error.png (50,676 bytes)   
long error.png (50,676 bytes)   
error.png (27,925 bytes)   
error.png (27,925 bytes)   
ollehar

ollehar

2021-05-06 10:26

administrator   ~64257

Thank you. Did you update from a previous version of LS, or is this a fresh install?
ChristianJeske

ChristianJeske

2021-05-07 10:48

reporter   ~64281

It is an old install (2.x) with about 60 or so questionaires.

When I updated it to version 4.x I followed this:

Delete all the old files/folders except for:

    /application/config/security.php -Important!! This is the key to all encrypted data in LimeSurvey (version 4 and later)
    /application/config/config.php;
    /upload directory

I did afterwards the one month of comfort update, followed by manual updates, always following that guideline, backup DB, delete whole folder except for those files/folders, copy the new version in with ftp software
ollehar

ollehar

2021-05-07 18:25

administrator   ~64292

Your best bet is probably to add the file manually from Github: https://github.com/LimeSurvey/LimeSurvey/blob/master/application/core/plugins/AuditLog/config.xml

Issue History

Date Modified Username Field Change
2021-05-04 16:32 ChristianJeske New Issue
2021-05-04 17:17 ollehar Assigned To => ollehar
2021-05-04 17:17 ollehar Status new => feedback
2021-05-04 17:17 ollehar Note Added: 64225
2021-05-04 17:18 ollehar Severity partial_block => crash
2021-05-05 09:19 ChristianJeske Note Added: 64245
2021-05-05 09:19 ChristianJeske Status feedback => assigned
2021-05-05 09:31 ChristianJeske Note Added: 64246
2021-05-05 12:12 ollehar Note Added: 64250
2021-05-05 12:12 ollehar Status assigned => feedback
2021-05-06 09:38 ChristianJeske Note Added: 64254
2021-05-06 09:38 ChristianJeske File Added: long error.png
2021-05-06 09:38 ChristianJeske File Added: error.png
2021-05-06 09:38 ChristianJeske File Added: Screenshot of Settings.png
2021-05-06 09:38 ChristianJeske Status feedback => assigned
2021-05-06 10:26 ollehar Note Added: 64257
2021-05-07 10:48 ChristianJeske Note Added: 64281
2021-05-07 18:25 ollehar Note Added: 64292
2021-05-09 10:58 ollehar Status assigned => feedback