- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Limesurvey does not continue after Creat survey
- Lemmy
- Topic Author
- Offline
- New Member
Less
More
3 months 2 weeks ago #254989
by Lemmy
Limesurvey does not continue after Creat survey was created by Lemmy
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition Version 6.4.3+240122
Own server or LimeSurvey hosting: Own Server (localhost)
Survey theme/template:
==================Ubuntu 22.04.3 LTSMysql Ver 8.0.36 for Linux on x86_64 (MySQL Community Server - GPL)Server version: Apache/2.4.52 (Ubuntu)
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)Firefox web browser 122.0 (64-bit)When creating a new survey I enter the Title, Language, Survey group(Default) and Administrator(Default) and click the Create Survey button, The Button greys out, but nothing seems to happen ... no further steps.
If I click the surveys link in the top of the screen I get an empty screen. But when I Click Configuration It states Users 1 / Surveys 5 active surveys 0.
I know it is a short description but does anybody have an idea what could be wrong or what I'm probably doing wrong
thx
Your LimeSurvey version: LimeSurvey Community Edition Version 6.4.3+240122
Own server or LimeSurvey hosting: Own Server (localhost)
Survey theme/template:
==================Ubuntu 22.04.3 LTSMysql Ver 8.0.36 for Linux on x86_64 (MySQL Community Server - GPL)Server version: Apache/2.4.52 (Ubuntu)
PHP 8.1.2-1ubuntu2.14 (cli) (built: Aug 18 2023 11:41:11) (NTS)Firefox web browser 122.0 (64-bit)When creating a new survey I enter the Title, Language, Survey group(Default) and Administrator(Default) and click the Create Survey button, The Button greys out, but nothing seems to happen ... no further steps.
If I click the surveys link in the top of the screen I get an empty screen. But when I Click Configuration It states Users 1 / Surveys 5 active surveys 0.
I know it is a short description but does anybody have an idea what could be wrong or what I'm probably doing wrong
thx
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13693
- Thank you received: 2501
3 months 2 weeks ago #254994
by DenisChenu
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.
Replied by DenisChenu on topic Limesurvey does not continue after Creat survey
Can you activate debug mode ?
manual.limesurvey.org/Debug_mode
And check the console if you have some 500 error line ?
And check the console if you have some 500 error line ?
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.
Please Log in to join the conversation.
- Lemmy
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 months 2 weeks ago - 3 months 2 weeks ago #255004
by Lemmy
Replied by Lemmy on topic Limesurvey does not continue after Creat survey
Hi Denis,
Sorry for questions that might seem basic, I have used limesurvey in the past but never had to configure it. I have enabled the debug mode, how do I get into the console?
When I go to list survey I now get an error screen with error : Call to undefined function mb_ereg_replace()
/var/www/html/limesurvey/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145) */
134 public function __get($name)
135 {
136 if(isset($this->_attributes[$name]))
137 return $this->_attributes[$name];
138 elseif(isset($this->getMetaData()->columns[$name]))
139 return null;
140 elseif(isset($this->_related[$name]))
141 return $this->_related[$name];
142 elseif(isset($this->getMetaData()->relations[$name]))
143 return $this->getRelated($name);
144 else
145 return parent::__get($name);
146 }
147
148 /**
149 * PHP setter magic method.
150 * This method is overridden so that AR attributes can be accessed like properties.
151 * @param string $name property name
152 * @param mixed $value property value
153 * @throws CException
154 */
155 public function __set($name,$value)
156 {
157 if($this->setAttribute($name,$value)===false)
Sorry for questions that might seem basic, I have used limesurvey in the past but never had to configure it. I have enabled the debug mode, how do I get into the console?
When I go to list survey I now get an error screen with error : Call to undefined function mb_ereg_replace()
/var/www/html/limesurvey/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145) */
134 public function __get($name)
135 {
136 if(isset($this->_attributes[$name]))
137 return $this->_attributes[$name];
138 elseif(isset($this->getMetaData()->columns[$name]))
139 return null;
140 elseif(isset($this->_related[$name]))
141 return $this->_related[$name];
142 elseif(isset($this->getMetaData()->relations[$name]))
143 return $this->getRelated($name);
144 else
145 return parent::__get($name);
146 }
147
148 /**
149 * PHP setter magic method.
150 * This method is overridden so that AR attributes can be accessed like properties.
151 * @param string $name property name
152 * @param mixed $value property value
153 * @throws CException
154 */
155 public function __set($name,$value)
156 {
157 if($this->setAttribute($name,$value)===false)
Last edit: 3 months 2 weeks ago by Lemmy.
Please Log in to join the conversation.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13028
- Thank you received: 4007
3 months 2 weeks ago #255005
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Limesurvey does not continue after Creat survey
In "application/config/config.php"
Code:
// Use the following config variable to set modified optional settings copied from config-defaults.php 'config'=>array( // debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this // then please check your error-logs - either in your hosting provider admin panel or in some /logs directory // on your webspace. // LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates 'debug'=>0, 'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- Lemmy
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 months 2 weeks ago #255006
by Lemmy
Replied by Lemmy on topic Limesurvey does not continue after Creat survey
did that:
// For security issue : it's better to set runtimePath out of web access
// Directory must be readable and writable by the webuser
// 'runtimePath'=>'/var/limesurvey/runtime/'
// Use the following config variable to set modified optional settings copied from config-defaults.php
'config'=>array(
// debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this
// then please check your error-logs - either in your hosting provider admin panel or in some /logs directory
// on your webspace.
// LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates
'debug'=>2,
'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2
// Mysql database engine (INNODB|MYISAM):
'mysqlEngine' => 'MYISAM'
, // Update default LimeSurvey config here
)
);
/* End of file config.php */
/* Location: ./application/config/config.php */
// For security issue : it's better to set runtimePath out of web access
// Directory must be readable and writable by the webuser
// 'runtimePath'=>'/var/limesurvey/runtime/'
// Use the following config variable to set modified optional settings copied from config-defaults.php
'config'=>array(
// debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this
// then please check your error-logs - either in your hosting provider admin panel or in some /logs directory
// on your webspace.
// LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates
'debug'=>2,
'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2
// Mysql database engine (INNODB|MYISAM):
'mysqlEngine' => 'MYISAM'
, // Update default LimeSurvey config here
)
);
/* End of file config.php */
/* Location: ./application/config/config.php */
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13693
- Thank you received: 2501
3 months 2 weeks ago #255019
by DenisChenu
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.
Replied by DenisChenu on topic Limesurvey does not continue after Creat survey
Aftre : to see the console : you actyivate it in browser with F12.
Check the console if you have some red line with 500 error.
Check the console if you have some red line with 500 error.
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.
Please Log in to join the conversation.
- Lemmy
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 months 1 week ago #255059
by Lemmy
Replied by Lemmy on topic Limesurvey does not continue after Creat survey
OK, I switched to console and I have one error:
Unknown property ‘-moz-border-radius’. Declaration dropped. admin:72:21
Elements matching selector: .message
NodeList [ p.message
]
0: <p class="message">
length: 1
<prototype>: NodeListPrototype { item: item(), keys: keys(), values: values(), … }
constructor: function ()
entries: function entries()
forEach: function forEach()
item: function item()
keys: function keys()
length:
values: function values()
Symbol(Symbol.iterator): function values()
length: 0
name: "values"
<prototype>: function ()
Symbol(Symbol.toStringTag): "NodeList"
<get length()>: function length()
<prototype>: Object { … }
and 1 warning:
This page is in Almost Standards Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
But as soon As I log in I get :
Call to undefined function mb_ereg_replace() as described in my previous post
Unknown property ‘-moz-border-radius’. Declaration dropped. admin:72:21
Elements matching selector: .message
NodeList [ p.message
]
0: <p class="message">
length: 1
<prototype>: NodeListPrototype { item: item(), keys: keys(), values: values(), … }
constructor: function ()
entries: function entries()
forEach: function forEach()
item: function item()
keys: function keys()
length:
values: function values()
Symbol(Symbol.iterator): function values()
length: 0
name: "values"
<prototype>: function ()
Symbol(Symbol.toStringTag): "NodeList"
<get length()>: function length()
<prototype>: Object { … }
and 1 warning:
This page is in Almost Standards Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
But as soon As I log in I get :
Call to undefined function mb_ereg_replace() as described in my previous post
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13693
- Thank you received: 2501
3 months 1 week ago #255063
by DenisChenu
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.
Replied by DenisChenu on topic Limesurvey does not continue after Creat survey
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.
Please Log in to join the conversation.
- Lemmy
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 months 1 week ago #255065
by Lemmy
Replied by Lemmy on topic Limesurvey does not continue after Creat survey
OK, situation at login screen (before pressing login button) :
Uncaught TypeError: c is null
setLang http://localhost/assets/packages/ckeditor/ckeditor.js:268
<anonymous> http://localhost/assets/packages/ckeditor/ckeditor.js:1802
<anonymous> http://localhost/assets/packages/ckeditor/ckeditor.js:1802
<anonymous> http://localhost/assets/packages/ckeditor/ckeditor.js:1913
after pressing login:
error: GET[url]http://localhost/index.php/admin[/url] [HTTP/1.1 500 Internal Server Error 79ms] GET schemehttphostlocalhostfilename/index.php/admin Address127.0.0.1:80Status500Internal Server ErrorVersionHTTP/1.1Transferred47.64 kB (47.18 kB size)Referrer Policystrict-origin-when-cross-originRequest PriorityHighestDNS ResolutionSystem
Error 2 : GET http://localhost/favicon.ico [HTTP/1.1 404 Not Found 0ms]GEThttp://localhost/favicon.icoStatus404Not FoundVersionHTTP/1.1Transferred271 B (271 B size)Referrer Policystrict-origin-when-cross-originDNS ResolutionSystem
Uncaught TypeError: c is null
setLang http://localhost/assets/packages/ckeditor/ckeditor.js:268
<anonymous> http://localhost/assets/packages/ckeditor/ckeditor.js:1802
<anonymous> http://localhost/assets/packages/ckeditor/ckeditor.js:1802
<anonymous> http://localhost/assets/packages/ckeditor/ckeditor.js:1913
after pressing login:
error: GET[url]http://localhost/index.php/admin[/url] [HTTP/1.1 500 Internal Server Error 79ms] GET schemehttphostlocalhostfilename/index.php/admin Address127.0.0.1:80Status500Internal Server ErrorVersionHTTP/1.1Transferred47.64 kB (47.18 kB size)Referrer Policystrict-origin-when-cross-originRequest PriorityHighestDNS ResolutionSystem
Error 2 : GET http://localhost/favicon.ico [HTTP/1.1 404 Not Found 0ms]GEThttp://localhost/favicon.icoStatus404Not FoundVersionHTTP/1.1Transferred271 B (271 B size)Referrer Policystrict-origin-when-cross-originDNS ResolutionSystem
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13693
- Thank you received: 2501
3 months 1 week ago #255066
by DenisChenu
And please : use Code
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.
Replied by DenisChenu on topic Limesurvey does not continue after Creat survey
Thsi one is the issue, can you check the response part ? maybe copy/paste the message here.error: GET[url]http://localhost/index.php/admin[/url] [HTTP/1.1 500 Internal Server Error 79ms] GET schemehttphostlocalhostfilename/index.php/admin Address127.0.0.1:80Status500Internal Server ErrorVersionHTTP/1.1Transferred47.64 kB (47.18 kB size)Referrer Policystrict-origin-when-cross-originRequest PriorityHighestDNS ResolutionSystem
And please : use Code
Code:
Put the code here
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.
Please Log in to join the conversation.
- Lemmy
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
3 months 1 week ago #255068
by Lemmy
Replied by Lemmy on topic Limesurvey does not continue after Creat survey
there is a whole bunch of responses:
Call to undefined function mb_ereg_replace()
/var/www/html/limesurvey/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145)
Stack Trace
#0
–
/var/www/html/limesurvey/application/models/Template.php(168): sanitize_filename()
and the rest :
I hope the format is ok now
Call to undefined function mb_ereg_replace()
/var/www/html/limesurvey/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145)
Code:
133 */ 134 public function __get($name) 135 { 136 if(isset($this->_attributes[$name])) 137 return $this->_attributes[$name]; 138 elseif(isset($this->getMetaData()->columns[$name])) 139 return null; 140 elseif(isset($this->_related[$name])) 141 return $this->_related[$name]; 142 elseif(isset($this->getMetaData()->relations[$name])) 143 return $this->getRelated($name); 144 else 145 return parent::__get($name); 146 } 147 148 /** 149 * PHP setter magic method. 150 * This method is overridden so that AR attributes can be accessed like properties. 151 * @param string $name property name 152 * @param mixed $value property value 153 * @throws CException 154 */ 155 public function __set($name,$value) 156 { 157 if($this->setAttribute($name,$value)===false)
Stack Trace
#0
–
/var/www/html/limesurvey/application/models/Template.php(168): sanitize_filename()
Code:
163 * @return string existing $sTemplateName 164 * @throws Exception 165 */ 166 public static function templateNameFilter($sTemplateName) 167 { 168 $sTemplateName = sanitize_filename($sTemplateName, false, false, false, true); 169 170 // If the names has already been filtered, we skip the process 171 if (!empty(self::$aNamesFiltered[$sTemplateName])) { 172 return self::$aNamesFiltered[$sTemplateName]; 173 }
and the rest :
Code:
#3 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/base/CComponent.php(111): TemplateConfiguration->getPreview() #4 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145): CComponent->__get() #5 + /var/www/html/limesurvey/application/models/TemplateConfiguration.php(1477): CActiveRecord->__get() #6 + /var/www/html/limesurvey/application/models/Template.php(507): TemplateConfiguration->__get() #7 + /var/www/html/limesurvey/application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_select_survey_theme.php(13): Template::getTemplateListWithPreviews() #8 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CBaseController.php(126): require("/var/www/html/limesurvey/application/extensions/admin/survey/Lis...") #9 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal() #10 + /var/www/html/limesurvey/application/extensions/admin/survey/ListSurveysWidget/views/massive_actions/_selector.php(61): CBaseController->renderFile() #11 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CBaseController.php(126): require("/var/www/html/limesurvey/application/extensions/admin/survey/Lis...") #12 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal() #13 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/widgets/CWidget.php(244): CBaseController->renderFile() #14 + /var/www/html/limesurvey/application/extensions/admin/survey/ListSurveysWidget/ListSurveysWidget.php(60): CWidget->render() #15 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CBaseController.php(182): ListSurveysWidget->run() #16 + /var/www/html/limesurvey/application/views/admin/super/welcome.php(198): CBaseController->widget() #17 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CBaseController.php(126): require("/var/www/html/limesurvey/application/views/admin/super/welcome.p...") #18 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CBaseController.php(95): CBaseController->renderInternal() #19 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(872): CBaseController->renderFile() #20 + /var/www/html/limesurvey/application/controllers/AdminController.php(261): CController->renderPartial() #21 + /var/www/html/limesurvey/application/core/SurveyCommonAction.php(273): AdminController->renderPartial() #22 + /var/www/html/limesurvey/application/core/SurveyCommonAction.php(395): SurveyCommonAction->renderCentralContents() #23 + /var/www/html/limesurvey/application/controllers/admin/index.php(94): SurveyCommonAction->renderWrappedTemplate() #24 unknown(0): Index->run() #25 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs() #26 + /var/www/html/limesurvey/application/core/SurveyCommonAction.php(83): CAction->runWithParamsInternal() #27 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(308): SurveyCommonAction->runWithParams() #28 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction() #29 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters() #30 + /var/www/html/limesurvey/application/controllers/AdminController.php(202): CController->run() #31 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): AdminController->run() #32 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController() #33 + /var/www/html/limesurvey/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest() #34 + /var/www/html/limesurvey/index.php(161): CApplication->run()
I hope the format is ok now
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13693
- Thank you received: 2501
3 months 1 week ago - 3 months 1 week ago #255071
by DenisChenu
www.php.net/manual/en/function.mb-ereg-replace.php
With deb based :
How do you install limesurvey ? We check if mbstring is present when installing !
PS : to check if you have all needed php option installed : mive you config.php to config-back.php, go to home page until checking if all is here.
After : rename again your config.php
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.
Replied by DenisChenu on topic Limesurvey does not continue after Creat survey
This is the broken partthere is a whole bunch of responses:
Call to undefined function mb_ereg_replace()
/var/www/html/limesurvey/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145)
www.php.net/manual/en/function.mb-ereg-replace.php
With deb based :
Code:
apt install php-mbstring
PS : to check if you have all needed php option installed : mive you config.php to config-back.php, go to home page until checking if all is here.
After : rename again your config.php
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.
Last edit: 3 months 1 week ago by DenisChenu.
Please Log in to join the conversation.