View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17347 | Bug reports | Data Entry (non public) | public | 2021-06-01 18:20 | 2021-07-12 11:53 |
Reporter | FoxyHutch | Assigned To | gabrieljenik | ||
Priority | none | Severity | crash | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.25.20 | ||||
Summary | 17347: 3.27.1: "Class 'Twig_Environment' not found" when uploading an image | ||||
Description | When uploading an Image in the texelements section (attachment 1 & 2) inside any of the textboxes (for example welcome message) it throws a "Class 'Twig_Environment' not found" error message. | ||||
Steps To Reproduce |
| ||||
Additional Information | After that we tested it with version 3.25.20-210330, which suprisingly works fine. The same error exists in version 5.0.1 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 3.27.1+210531 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox | ||||
Database type & version | MariaDB 10.05.10 | ||||
Server OS (if known) | Windows Server 2019 Version 1809 | ||||
Webserver software & version (if known) | IIS 10 | ||||
PHP Version | 7.4.13 | ||||
This works locally for me, PHP 7.4, LS 5.0.1. How did you install LimeSurvey? |
|
First I unpacked LS under wwwroot. PHP was already installed with iis web platform installer. |
|
OK, but you got the zip file from our web page? And it was a new install, not an upgrade? |
|
Seems like this error only happens on Windows for some reason. |
|
Can you enable debug => 2 in application/config/config.php and show us the new error, please? |
|
Master: https://github.com/LimeSurvey/LimeSurvey/pull/1911 Using autloader from composer. |
|
But only on Windows Server for some reason? o0 |
|
Updated after @ollehar comments. LTS: https://github.com/LimeSurvey/LimeSurvey/pull/1912 This happened only on windows, as: Fixed by adding the composer autoloader before the twig autoloader. |
|
Fix committed to 3.x-LTS branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=31995 |
|
Release done. |
|
LimeSurvey: master 4246f446 2021-06-08 14:41 Committer: GitHub Details Diff |
Fixed issue 17347: 'Class Twig_Environment not found' when uploading an image (#1911) Co-authored-by: encuestabizdevgit <devgit@encuesta.biz> |
Affected Issues 17347 |
|
mod - third_party/kcfinder/core/bootstrap.php | Diff File | ||
mod - third_party/yiiext/twig-renderer/ETwigViewRenderer.php | Diff File | ||
LimeSurvey: master 5aff35f2 2021-06-08 14:42 Details Diff |
Revert "Fixed issue 17347: 'Class Twig_Environment not found' when uploading an image (#1911)" This reverts commit 4246f446c3ef8dffec74418cd6f7a2bdd54ea558. |
Affected Issues 17347 |
|
mod - third_party/kcfinder/core/bootstrap.php | Diff File | ||
mod - third_party/yiiext/twig-renderer/ETwigViewRenderer.php | Diff File | ||
LimeSurvey: 3.x-LTS 02bf28d3 2021-06-09 13:30 Committer: GitHub Details Diff |
Fixed issue 17347: 'Class Twig_Environment not found' when uploading an image (#1912) Co-authored-by: encuestabizdevgit <devgit@encuesta.biz> |
Affected Issues 17347 |
|
mod - third_party/kcfinder/core/bootstrap.php | Diff File | ||
LimeSurvey: master b463c91e 2021-06-09 13:30 Committer: GitHub Details Diff |
Fixed issue 17347: 'Class Twig_Environment not found' when uploading an image (#1913) Co-authored-by: encuestabizdevgit <devgit@encuesta.biz> |
Affected Issues 17347 |
|
mod - third_party/kcfinder/core/bootstrap.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-06-01 18:20 | FoxyHutch | New Issue | |
2021-06-01 18:20 | FoxyHutch | File Added: 1.png | |
2021-06-01 18:20 | FoxyHutch | File Added: 2.png | |
2021-06-01 18:20 | FoxyHutch | File Added: 3.png | |
2021-06-01 19:33 | ollehar | Product Version | => 3.25.20 |
2021-06-01 19:37 | ollehar | Note Added: 64693 | |
2021-06-01 19:37 | ollehar | Assigned To | => ollehar |
2021-06-01 19:37 | ollehar | Status | new => feedback |
2021-06-01 22:17 | FoxyHutch | Note Added: 64700 | |
2021-06-01 22:17 | FoxyHutch | Status | feedback => assigned |
2021-06-01 22:18 | ollehar | Note Added: 64701 | |
2021-06-02 14:14 | ollehar | Note Added: 64712 | |
2021-06-02 18:41 | ollehar | Note Added: 64722 | |
2021-06-02 18:41 | ollehar | Status | assigned => feedback |
2021-06-07 21:06 | gabrieljenik | Note Added: 64775 | |
2021-06-07 21:06 | gabrieljenik | Status | feedback => ready for testing |
2021-06-07 21:07 | gabrieljenik | Sync to Zoho Project | => |Yes| |
2021-06-08 12:46 | ollehar | Note Added: 64781 | |
2021-06-08 20:55 | gabrieljenik | Note Added: 64789 | |
2021-06-09 13:31 | ollehar | Status | ready for testing => resolved |
2021-06-09 13:31 | ollehar | Resolution | open => fixed |
2021-06-09 17:28 | gabrieljenik | Changeset attached | => LimeSurvey master b463c91e |
2021-06-09 17:28 | ollehar | Changeset attached | => LimeSurvey master 5aff35f2 |
2021-06-09 17:28 | gabrieljenik | Changeset attached | => LimeSurvey master 4246f446 |
2021-06-09 17:28 | gabrieljenik | Changeset attached | => LimeSurvey 3.x-LTS 02bf28d3 |
2021-06-09 17:28 | gabrieljenik | Note Added: 64818 | |
2021-06-09 17:28 | gabrieljenik | Assigned To | ollehar => gabrieljenik |
2021-07-12 11:53 | c_schmitz | Note Added: 65311 | |
2021-07-12 11:53 | c_schmitz | Status | resolved => closed |