Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Internal error: Could not save load error for plugin Authdb

  • safin85
  • safin85's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #200429 by safin85
Hello everybody,

I have problems with LimeSurvey. It starts with the fact that when I have activated the AuthDB for a user, a success message came up, but when I checked the rights settings, the check was out again. I searched for a long time and suspected the MySQL server. I made a backup of the complete web folder & DB and installed the machine again, restored the database and web folder. If I now go to the page, the following error message is displayed in the browser: Internal error: Could not save load error for plugin Authdb

But I do not see where the application try to save the error and I dont see the error, too. but the page is not load.

Can You please help me to make LimeSurvey run again.


Thank You
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #200446 by DenisChenu
Can you activate debug mode ?
And show the HTML produced ?
What limesurvey version and build number ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • safin85
  • safin85's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago - 3 years 10 months ago #200486 by safin85
Changed the Debug mode and see this:
Code:
Exception
Internal error: Could not save load error for plugin Authdb
 
/var/www/html/limesurvey/application/libraries/PluginManager/PluginManager.php(453)
 
441             }
442         } catch (\Throwable $ex) {
443             // Load error.
444             $error = [
445                 'message' => $ex->getMessage(),
446                 'file'  => $ex->getFile()
447             ];
448             $plugin = Plugin::model()->find('name = :name', [':name' => $pluginName]);
449             $saveResult = Plugin::setPluginLoadError($plugin, $pluginName, $error);
450             if (!$saveResult) {
451                 // This only happens if database save fails.
452                 $this->shutdownObject->disable();
453                 throw new \Exception(
454                     'Internal error: Could not save load error for plugin ' . $pluginName
455                 );
456             }
457         }
458         $this->shutdownObject->disable();
459         return $return;
460     }
461 
462     /**
463      * Handles loading all active plugins
464      *
465      * Possible improvement would be to load them for a specific context.

Looks like my database is brocken. I hope You know a way to fix that.

I had the 4.2.1 version and it trows this error. I thought in this way I try the latest stable (4.2.6). The bouth throw the same error.
Last edit: 3 years 10 months ago by safin85.
The topic has been locked.
  • safin85
  • safin85's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago - 3 years 10 months ago #200489 by safin85
ok, I can load the page. Php was new installed and the xml extansion was missed.

BUT now I got the same trouble, like bevor new installation and backup. I give a user the right to logging on locally. LimeSurvey confirms this with
Code:
auth_db: OK
. But if I call up the rights overview again immediately, the ceckbox at auth_db is empty.

EDIT: I am now a few steps further.
Under plugin manager, auth_db was disabled. I clicked the refresh icon next to. It has been activated with a black dot in Front. Dont know what that mean. If I want to disable it, he says that standard plugins cannot be disabled.:blink:
Click on the plugin to get this error message: Missing configuration file for plugin Authdb.
The file in application/core/plugins/Authdb/config.xml is there.

EDIT: checked the plugin_type in the database, auth_db had as type 'user'. Changed it to 'core' like here and now I can click on it and the config is showed. But the black dote is still here at "status" Dont know, what taht mean.

I figured out, that I cant change the auth-db only to last few users. At other older user it works fine. But that least users have no checks at an permission and I cant change them.
Looks like a problem with database.
Last edit: 3 years 10 months ago by safin85.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #200512 by DenisChenu
I don't really understand what happen here, but yes : auth_db must have type core.

Did you setup a RC 4 versin before ? What is the instance history ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose