Welcome to the LimeSurvey Community Forum

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

Fatal error: Uncaught Error: Class "CList" not found

  • smartynetwork
  • smartynetwork's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago - 2 years 10 months ago #227353 by smartynetwork
My LimeSurvey version: LimeSurvey Community Edition Version 5.3.9+220411
Own server or LimeSurvey hosting: My server (currently localhost)
Survey theme/template: Custom theme.
==================
Hi there,
I have installed the most recent version of the Community Edition, 5.3.9 (fresh-install) and it seems I can't upload any images from the question editor. Whenever I open the image upload window and click "Browse Server" I get that error (see attached image as well).

Apparently it can't find the "CList" class of the framework. 
-Do I need to install the Yii framework separately?
-Which version of Yii does it use? Yii1 or Yii2?
-Or do you see any problem with the Kcfinder?

I have ran composer install.
All folders are chmod 755
All files are chmod 644
I'm on MAC, running Valet.
PHP version: 7.4.28 (I have tested with PHP 8.1 also, same problem, so it's not an issue with PHP version)

Any suggestion to point me in the right direction is highly appreciated. 
It's my first time using LimeSurvey and my first time developing a custom theme for it.

Thanks,
Alt

Last edit: 2 years 10 months ago by smartynetwork. Reason: added details

Please Log in to join the conversation.

  • smartynetwork
  • smartynetwork's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago - 2 years 10 months ago #227381 by smartynetwork
Replied by smartynetwork on topic Fatal error: Uncaught Error: Class "CList" not found
Anybody home here? 
Last edit: 2 years 10 months ago by smartynetwork.

Please Log in to join the conversation.

  • smartynetwork
  • smartynetwork's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #227384 by smartynetwork
Replied by smartynetwork on topic Fatal error: Uncaught Error: Class "CList" not found
Problem fixed after running the project in Docker, using the following image  hub.docker.com/r/martialblog/limesurvey/

So that makes me think the problem might have been related to Valet. 
Valet uses Nginx server and doesn't support htaccess, plus some other settings that might have contributed to the problem.

So using docker image fixed the problem.
​​​​​​

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose