Welcome to the LimeSurvey Community Forum

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

Internal Server Error: Property "SurveyLanguageSetting.Array" is not defined.

  • Jusowetris_49597
  • Jusowetris_49597's Avatar Topic Author
  • Visitor
  • Visitor
3 years 5 months ago #207684 by Jusowetris_49597
I'm getting this error:

Internal Server Error

Property "SurveyLanguageSetting.Array" is not defined.

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Can anyone point me in the right direction as to where I can begin to diagnose this?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago - 3 years 5 months ago #207688 by DenisChenu
Start by

1. LimeSurvey version and build number
2. Hosting information
3. Debug mode manual.limesurvey.org/Debug_mode (maybe need to disable)

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 years 5 months ago by DenisChenu.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207716 by tpartner
...and maybe some indication of what you were trying to do when the error occurred would be helpful.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Jusowetris_49597
  • Jusowetris_49597's Avatar Topic Author
  • Visitor
  • Visitor
3 years 5 months ago #207762 by Jusowetris_49597
Hi Denis,

Thanks for your response.

1) Version 2.05+ Build 150520, it's been running since 2013 with no issues however we just moved the server to a new host. Everything is working except the ability to update email templates.
2) InMotion Hosting. It's worked fine for us since 2013. We simply moved it from one account in InMotion to another just recently.
3) Ok, thanks.

Hi Tony,

So the issue happens when we are in the Admin panel. It happens with all the surveys so it isn't survey specific. When you go into "any" survey and then select the pencil icon and then "Email Templates" this is when the error occurs every time. It doesn't happen anywhere else. Please advise.

Thanks,
Rick
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207763 by DenisChenu
Really, really old version …

Maybe you have a broken survey : a surey without language settings.

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.
The topic has been locked.
  • Jusowetris_49597
  • Jusowetris_49597's Avatar Topic Author
  • Visitor
  • Visitor
3 years 5 months ago #207799 by Jusowetris_49597
We have 17 surveys. All the same error. It has to be a global setting or something else I am missing.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207800 by DenisChenu
No , because in 2.05 : the top dropdown call all surveys.

Im sure you have debug mode activated …

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.
The topic has been locked.
  • Jusowetris_49597
  • Jusowetris_49597's Avatar Topic Author
  • Visitor
  • Visitor
3 years 5 months ago #207802 by Jusowetris_49597
Oh ok, I didn't check that. So is this what I should be checking:

Development and debugging
debug: With this setting, you set the PHP error reporting to E_ALL. This means that every little notice, warning or error related to the script is shown. This setting should be only switched to '1' if you are trying to debug the application for any reason. If you are a developer, switch it to '2'. Don't switch it to '1' or '2' in production since it might cause path disclosure. The default value is '0' and it can be edited in config.php.
debugsql: Activate this setting if you want to display all SQL queries executed for the script on the bottom of each page. Very useful for the optimization of the the number of queries. In order to activate it, change the default value to '1' from the config.php file.
In the case in which you experience an error in the application, we strongly recommend to activate the debug setting in order to get a more detailed error that you can submit with the bug report:

'config'=>array(
'debug'=>2,
'debugsql'=>0,
)
If you work on plugin and need a quick way to dump variables on screen : you can use traceVar function. If debug is set : this function use CWebLogRoute to be shown on HTML page. Usage traceVar($MyVariable)
The topic has been locked.
  • Jusowetris_49597
  • Jusowetris_49597's Avatar Topic Author
  • Visitor
  • Visitor
3 years 5 months ago - 3 years 5 months ago #207804 by Jusowetris_49597
This is the config file in application/config/config.php. It does not look like it is in debug mode.

<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/*
|
| DATABASE CONNECTIVITY SETTINGS
|
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the 'Database Connection'
| page of the User Guide.
|
|
| EXPLANATION OF VARIABLES
|
|
| 'connectionString' Hostname, database, port and database type for
| the connection. Driver example: mysql. Currently supported:
| mysql, pgsql, mssql, sqlite, oci
| 'username' The username used to connect to the database
| 'password' The password used to connect to the database
| 'tablePrefix' You can add an optional prefix, which will be added
| to the table name when using the Active Record class
|
*/
return array(
'components' => array(
'db' => array(
'connectionString' => 'mysql:host=localhost;port=3306;dbname=xx;',
'emulatePrepare' => true,
'username' => 'xx',
'password' => 'xx',
'charset' => 'utf8',
'tablePrefix' => 'adr_',
),

// Uncomment the following line if you need table-based sessions
// 'session' => array (
// 'class' => 'system.web.CDbHttpSession',
// 'connectionID' => 'db',
// 'sessionTableName' => '{{sessions}}',
// ),

'urlManager' => array(
'urlFormat' => 'path',
'rules' => require('routes.php'),
'showScriptName' => true,
),

),
// 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
)
);
/* End of file config.php */
/* Location: ./application/config/config.php */
Last edit: 3 years 5 months ago by Jusowetris_49597.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207807 by DenisChenu
Right,

And whan you activate : do you have more detail ?
Maybe the broken Survey id ?

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.
The topic has been locked.
  • Jusowetris_49597
  • Jusowetris_49597's Avatar Topic Author
  • Visitor
  • Visitor
3 years 5 months ago #207808 by Jusowetris_49597
Will the *.lss help provide this info?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #207841 by DenisChenu
No,

It's something in your database.

I think you have a survey without related language settings part.

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.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose