- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
500 error
- jackyhoo
- Topic Author
- Offline
- New Member
Less
More
1 year 3 weeks ago #242081
by jackyhoo
500 error was created by jackyhoo
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.3.5
Own server or LimeSurvey hosting:http://129.226.209.22/
Survey theme/template:fruity
==================
Database backup, 500 errors occurred after re import.
You can log in to the backend and view the survey list, but when you click on the specific survey project name, a 500 error will appear.
Please tell me how to fix it,thank you very much.
Debug info:Maximum function nesting level of '256' reached, aborting!\phpstudy_pro\WWW\cp\framework\db\schema\CDbSchema.php(207)
205 public function quoteTableName($name)
206 {
207 if(strpos($name,'.')===false)
208 return $this->quoteSimpleTableName($name);
209 $parts=explode('.',$name);
210 foreach($parts as $i=>$part)
211 $parts[$i]=$this->quoteSimpleTableName($part);
212 return implode('.',$parts);Stack Trace#0+
\phpstudy_pro\WWW\cp\framework\db\schema\CDbSchema.php(207): strpos("t", ".")#1+
\phpstudy_pro\WWW\cp\framework\db\schema\CDbSchema.php(243): CDbSchema->quoteTableName("t")#2+
\phpstudy_pro\WWW\cp\framework\db\CDbConnection.php(636): CDbSchema->quoteColumnName("t.template_name")#3–
\phpstudy_pro\WWW\cp\application\models\TemplateConfiguration.php(147): CDbConnection->quoteColumnName("t.template_name")142 }
143
144 /** @inheritdoc */
145 public function defaultScope()
146 {
147 return array('order' => App()->db->quoteColumnName($this->getTableAlias(false, false) . '.template_name'));
148 }
149
150 /**
151 * @todo document me
152 *
#4+
\phpstudy_pro\WWW\cp\framework\db\ar\CActiveRecord.php(329): TemplateConfiguration->defaultScope()#5+
\phpstudy_pro\WWW\cp\framework\db\ar\CActiveRecord.php(1410): CActiveRecord->getDbCriteria(false)#6+
\phpstudy_pro\WWW\cp\framework\db\ar\CActiveRecord.php(1352): CActiveRecord->applyScopes(CDbCriteria)#7+
\phpstudy_pro\WWW\cp\framework\db\ar\CActiveRecord.php(1464): CActiveRecord->query("CDbCriteria")#8–
\phpstudy_pro\WWW\cp\application\models\TemplateConfiguration.php(188): CActiveRecord->find("template_name=:template_name AND sid IS NULL AND gsid IS NULL", array(":template_name" => "fruity"))183 return self::$aInstancesFromTemplateName[$sTemplateName];
184 }
185
186 $oInstance = self::model()->find(
187 'template_name=:template_name AND sid IS NULL AND gsid IS NULL',
188 array(':template_name' => $sTemplateName)
189 );
190
191 // If the survey configuration table of the wanted template doesn't exist (eg: manually deleted),
192 // then we provide the default one.
193 if (!is_a($oInstance, 'TemplateConfiguration')) {
Your LimeSurvey version: 5.3.5
Own server or LimeSurvey hosting:http://129.226.209.22/
Survey theme/template:fruity
==================
Database backup, 500 errors occurred after re import.
You can log in to the backend and view the survey list, but when you click on the specific survey project name, a 500 error will appear.
Please tell me how to fix it,thank you very much.
Debug info:Maximum function nesting level of '256' reached, aborting!\phpstudy_pro\WWW\cp\framework\db\schema\CDbSchema.php(207)
205 public function quoteTableName($name)
206 {
207 if(strpos($name,'.')===false)
208 return $this->quoteSimpleTableName($name);
209 $parts=explode('.',$name);
210 foreach($parts as $i=>$part)
211 $parts[$i]=$this->quoteSimpleTableName($part);
212 return implode('.',$parts);Stack Trace#0+
\phpstudy_pro\WWW\cp\framework\db\schema\CDbSchema.php(207): strpos("t", ".")#1+
\phpstudy_pro\WWW\cp\framework\db\schema\CDbSchema.php(243): CDbSchema->quoteTableName("t")#2+
\phpstudy_pro\WWW\cp\framework\db\CDbConnection.php(636): CDbSchema->quoteColumnName("t.template_name")#3–
\phpstudy_pro\WWW\cp\application\models\TemplateConfiguration.php(147): CDbConnection->quoteColumnName("t.template_name")142 }
143
144 /** @inheritdoc */
145 public function defaultScope()
146 {
147 return array('order' => App()->db->quoteColumnName($this->getTableAlias(false, false) . '.template_name'));
148 }
149
150 /**
151 * @todo document me
152 *
#4+
\phpstudy_pro\WWW\cp\framework\db\ar\CActiveRecord.php(329): TemplateConfiguration->defaultScope()#5+
\phpstudy_pro\WWW\cp\framework\db\ar\CActiveRecord.php(1410): CActiveRecord->getDbCriteria(false)#6+
\phpstudy_pro\WWW\cp\framework\db\ar\CActiveRecord.php(1352): CActiveRecord->applyScopes(CDbCriteria)#7+
\phpstudy_pro\WWW\cp\framework\db\ar\CActiveRecord.php(1464): CActiveRecord->query("CDbCriteria")#8–
\phpstudy_pro\WWW\cp\application\models\TemplateConfiguration.php(188): CActiveRecord->find("template_name=:template_name AND sid IS NULL AND gsid IS NULL", array(":template_name" => "fruity"))183 return self::$aInstancesFromTemplateName[$sTemplateName];
184 }
185
186 $oInstance = self::model()->find(
187 'template_name=:template_name AND sid IS NULL AND gsid IS NULL',
188 array(':template_name' => $sTemplateName)
189 );
190
191 // If the survey configuration table of the wanted template doesn't exist (eg: manually deleted),
192 // then we provide the default one.
193 if (!is_a($oInstance, 'TemplateConfiguration')) {
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 year 3 weeks ago - 1 year 3 weeks ago #242083
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 500 error
can you report the issue to our bugtracker ?
And if you can : save the 500 error file report as HTML before uploading it.
community.limesurvey.org/bug-tracker/
After : **maybe** try in the database to remove all related to this survey templateconfiguration ?
No real idea …
github.com/LimeSurvey/LimeSurvey/blob/ma...onfiguration.php#L23
And if you can : save the 500 error file report as HTML before uploading it.
community.limesurvey.org/bug-tracker/
After : **maybe** try in the database to remove all related to this survey templateconfiguration ?
No real idea …
github.com/LimeSurvey/LimeSurvey/blob/ma...onfiguration.php#L23
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: 1 year 3 weeks ago by DenisChenu.
Please Log in to join the conversation.
- jackyhoo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 year 3 weeks ago #242173
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 500 error
Please report at community.limesurvey.org/bug-tracker/
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.