View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14704 | Bug reports | Plugins | public | 2019-03-29 11:49 | 2022-09-29 16:40 |
Reporter | bismark | Assigned To | DenisChenu | ||
Priority | normal | Severity | partial_block | ||
Status | assigned | Resolution | reopened | ||
Product Version | 4.2.4 | ||||
Summary | 14704: DbStorage not found | ||||
Description | $ php application/commands/console.php plugin --target=Processor
| ||||
Tags | No tags attached. | ||||
Bug heat | 24 | ||||
Complete LimeSurvey version number (& build) | master | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | 10.1.26-MariaDB | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.1.8 | ||||
has duplicate | 14931 | closed | DenisChenu | command : include(DbStorage.php): failed to open stream: No such file or directory |
related to | 12378 | closed | cdorin | AuditLog plugin break console usage for other plugin |
I use this workaround : https://gitlab.com/SondagesPro/mailing/sendMailCron/blob/master/DbStorage.php But still a workaround |
|
namespace of DbStorage, DummyStorage must be LimeSurvey\PluginManager\Storage in PluginManager it should be:
DummyStorage does not implement iPluginStorage correctly Storages must use LimeSurvey\PluginManager\iPlugin; rename iPluginStorage to PluginStorageInterface rename iPlugin to PluginInterface |
|
Great if you can provide a pull request :) |
|
OK, but move it : need API update right ?
Still valid |
|
@bismark : please a pull request :) Try to be API compatible ;) |
|
We will try to provide a pull request the next days since we are more often facing this when other coders are creating plugins and are not aware of this issue. |
|
I always add the workaround … and think i add it for a lot of time … |
|
Same here, but now we have suffered too much and decided to fix it :-) |
|
|
|
if this is a solution, we dont need a pull request here |
|
I have another issue … In config.php : web is OK, console broke with
With include path leave as default |
|
what about ? |
|
Even with Just put a set_include_path : broke … |
|
Please check if this bug still exists in the latest patch release. Thank you. |
|
Hello bismark, we have asked for feedback on this issue. Because we did not get an answer we assume that the issue is resolved. Thank you and best regards, c_schmitz |
|
https://gitlab.com/SondagesPro/coreAndTools/backupSurveyLocally still have the issue,
LimeSurvvey 3.25.17 |
|
Didn't fix the issue Even adding include DbStorage in plugin broke before here ? |
|
Silly boy : issue in you LimeSAML plugin |
|
|
|
@DenisCenu: I am not sure what you are saying. Can we close this one? |
|
The issue still persist. Else : your LimeSAML plugin broke ALL console plugin, but it's another issue. |
|
@bismark, did you find a solution? |
|
@c_schmitz, unfortunately, @bismark is currently sick. But as outlined by @DenisChenu, the problem is still there. He may be able to provide further details. |
|
@c_schmitz : if you still have LimeSAML and it's not updated/fixed : you see the issue without any plugins. Currently all console system have a lot of issue and need workaround. https://gitlab.com/SondagesPro/mailing/sendMailCron/-/blob/master/sendMailCron.php#L1593 |
|
I tested updatedb via CLI today on Windows Server, version Limesurvey 3.25.19, and got this message: "include (DBStorage.php): failed to open stream: No such file or directory". |
|
Activated plugins ? |
|
OK : related pull request : https://github.com/LimeSurvey/LimeSurvey/pull/1426 |
|
Should I deactivate all plugins? |
|
@2BITS_PL can you just before try to update application/config/config.php like that : https://github.com/LimeSurvey/LimeSurvey/pull/2274/files $config['rootdir'] = realpath(dirname(dirname(dirname(FILE)))); |
|
In the client's environment, we had an absolute path from the beginning, so switching to the above-mentioned method did not change anything. I performed a lot of tests locally and in the client's environment, it turns out that one of our dedicated plugins causes the above-mentioned error. Though I don't know why yet as our other plugins which also use DBStorage don't generate this error. |
|
@2BITS_PL, which plugin was causing the problem? |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-03-29 11:49 | bismark | New Issue | |
2019-03-29 12:38 | Mazi | Issue Monitored: Mazi | |
2019-03-29 16:47 | DenisChenu | Note Added: 51203 | |
2019-03-29 17:40 | bismark | Note Added: 51207 | |
2019-06-20 07:20 | DenisChenu | Note Added: 52480 | |
2019-07-03 17:50 | DenisChenu | Relationship added | related to 12378 |
2020-05-22 18:06 | DenisChenu | Assigned To | => DenisChenu |
2020-05-22 18:06 | DenisChenu | Status | new => assigned |
2020-05-22 18:06 | DenisChenu | Relationship added | has duplicate 14931 |
2020-05-22 18:17 | ollehar | Priority | none => normal |
2020-05-22 18:17 | ollehar | Severity | block => crash |
2020-05-22 18:17 | ollehar | Product Version | => 4.2.4 |
2020-05-22 18:33 | DenisChenu | Note Added: 57990 | |
2020-05-22 19:03 | DenisChenu | Status | assigned => feedback |
2020-05-22 19:03 | DenisChenu | Note Added: 57991 | |
2020-06-23 16:03 | Mazi | Note Added: 58410 | |
2020-06-23 16:38 | DenisChenu | Note Added: 58412 | |
2020-06-23 16:43 | Mazi | Note Added: 58413 | |
2020-07-23 17:05 | bismark | Note Added: 59060 | |
2020-07-23 17:05 | bismark | Status | feedback => assigned |
2020-09-08 12:57 | bismark | Note Added: 59742 | |
2020-11-04 16:00 | DenisChenu | Note Added: 60538 | |
2020-11-04 16:05 | DenisChenu | Note Edited: 60538 | |
2020-11-04 16:44 | bismark | Note Added: 60541 | |
2020-11-04 16:49 | DenisChenu | Note Added: 60542 | |
2021-02-08 17:15 | ollehar | Status | assigned => feedback |
2021-02-08 17:15 | ollehar | Note Added: 62028 | |
2021-03-01 17:11 | c_schmitz | Note Added: 62587 | |
2021-03-01 17:12 | c_schmitz | Status | feedback => closed |
2021-03-01 17:12 | c_schmitz | Resolution | open => unable to reproduce |
2021-03-15 07:23 | DenisChenu | Assigned To | DenisChenu => |
2021-03-15 07:23 | DenisChenu | Status | closed => feedback |
2021-03-15 07:23 | DenisChenu | Resolution | unable to reproduce => reopened |
2021-03-15 07:23 | DenisChenu | Note Added: 63350 | |
2021-03-15 07:24 | DenisChenu | Note Edited: 63350 | |
2021-03-15 07:26 | DenisChenu | Note Added: 63351 | |
2021-03-15 07:28 | DenisChenu | Note Edited: 63351 | |
2021-03-15 07:42 | DenisChenu | Note Added: 63352 | |
2021-03-15 07:48 | DenisChenu | Note Added: 63353 | |
2021-03-15 07:48 | DenisChenu | File Added: Capture d’écran du 2021-03-15 07-48-41.png | |
2021-03-22 12:27 | c_schmitz | Note Added: 63523 | |
2021-03-22 12:32 | DenisChenu | Note Added: 63524 | |
2021-03-22 13:00 | c_schmitz | Note Added: 63527 | |
2021-03-22 17:29 | Mazi | Note Added: 63554 | |
2021-03-22 18:21 | DenisChenu | Note Added: 63558 | |
2022-02-28 16:21 | 2BITS_PL | Issue Monitored: 2BITS_PL | |
2022-02-28 16:21 | 2BITS_PL | Bug heat | 20 => 22 |
2022-02-28 16:24 | 2BITS_PL | Note Added: 68453 | |
2022-02-28 16:24 | 2BITS_PL | Bug heat | 22 => 24 |
2022-02-28 16:33 | DenisChenu | Note Added: 68455 | |
2022-02-28 16:37 | DenisChenu | Note Added: 68456 | |
2022-02-28 16:37 | 2BITS_PL | Note Added: 68457 | |
2022-02-28 18:40 | DenisChenu | Note Added: 68461 | |
2022-03-01 11:48 | 2BITS_PL | Note Added: 68468 | |
2022-03-01 12:01 | Mazi | Note Added: 68469 | |
2022-04-11 14:06 | galads | Assigned To | => DenisChenu |
2022-04-11 14:06 | galads | Status | feedback => assigned |
2022-09-29 16:40 | DenisChenu | Severity | crash => partial_block |