Welcome to the LimeSurvey Community Forum

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

Can't add/edit/delete questions.

  • wojtech
  • wojtech's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago - 8 years 5 months ago #128201 by wojtech
Can't add/edit/delete questions. was created by wojtech
I have got a problem while trying to add or edit questions. I log into a different accounts including super admins with all possible rights but when I try to edit some questions, buttons "Save", "Save and close" and "Add question" seems to be inactive. There is also no action while clicking on "Show advanced settings" link. I've tried to use different browsers and computers even with fresh windows/browser installation, but it doesn't work, although on my friends computers which have been using this LimeSurvey server longer than me there is no such problem even logging on my account. I discovered in inspect element console something like:

GET my.lime.site.address/tmp/assets/b7cce8b9/css/bootstrap-yii.css [HTTP/1.1 403 Forbidden 17ms]

errors, but i've checked the files and all have CHMOD 7777
I can't also delete questions, but I can add them using "import question".
LimeSurvey
Version 2.05+ Build 140520
Any ideas?
Last edit: 8 years 5 months ago by wojtech.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
8 years 5 months ago #128286 by LouisGac
Replied by LouisGac on topic Can't add/edit/delete questions.
This problem happen when using aliases. Try this for now :
bugs.limesurvey.org/view.php?id=9984#c33530

in config.php : deactivate js/css compression :

Code:
    'clientScript'=>array(
      'combineJs'=>false,
      'compressJs'=>false,
    ),

The topic has been locked.
More
8 years 5 months ago - 8 years 5 months ago #128292 by icehead
Replied by icehead on topic Can't add/edit/delete questions.
Same problem with LimeSurvey application on Synology NAS DS414j, v2.05+
While selecting type of a question even a little screenshot with preview disappeared, option "show extended properties" shows nothing.
Added your code into config.php (it was not there), "Property "LSYii_Application.clientScript" is read only" error returned.
Tried on win/linux, different browsers, restored an application from a backup (unfortunately, only yesterday's backup was available).

What else can be done?
Last edit: 8 years 5 months ago by icehead.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #128307 by DenisChenu
Replied by DenisChenu on topic Can't add/edit/delete questions.

icehead wrote: ...
Added your code into config.php (it was not there), "Property "LSYii_Application.clientScript" is read only" error returned.
...

Udated the bug report : bugs.limesurvey.org/view.php?id=9984#c33552

You surely make an error when adding this 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.
  • wojtech
  • wojtech's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #128314 by wojtech
Replied by wojtech on topic Can't add/edit/delete questions.
CException
Property "CClientScript.combineJs" is not defined.

is what I get after I get now :(
The topic has been locked.
More
8 years 5 months ago #128327 by icehead
Replied by icehead on topic Can't add/edit/delete questions.
same with me
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #128333 by DenisChenu
Replied by DenisChenu on topic Can't add/edit/delete questions.

Version 2.05+ Build 140520

Oups : config.php posted only for 2.06.

Denis

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.
  • wojtech
  • wojtech's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #128360 by wojtech
Replied by wojtech on topic Can't add/edit/delete questions.
Another installation of LS (2.0.6+ this time) and even with your code in config still can't add questions :(
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 5 months ago #128368 by DenisChenu
Replied by DenisChenu on topic Can't add/edit/delete questions.
Console log ? Mode debug ?

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.
More
8 years 5 months ago #128384 by icehead
Replied by icehead on topic Can't add/edit/delete questions.
updated to 2.06+ via integrated update center, the bug still was present
had to reinstall, only then it started to work
was glad to see no problems with connecting to existing DB after procedures
The topic has been locked.
  • wojtech
  • wojtech's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 5 months ago #128423 by wojtech
Replied by wojtech on topic Can't add/edit/delete questions.
Console log is same as it was at the beginning:
Code:
GET 
http://my.lime.site.address/tmp/assets/ee733f0a/css/bootstrap.min.css [HTTP/1.1 403 Forbidden 15ms]
GET 
http://my.lime.site.address/tmp/assets/ee733f0a/css/bootstrap-yii.css [HTTP/1.1 403 Forbidden 15ms]
GET 
http://my.lime.site.address/tmp/assets/efbf1d33/adminstyle.css [HTTP/1.1 403 Forbidden 15ms]
GET 
http://my.lime.site.address/tmp/assets/a38a28c/css/notify.css [HTTP/1.1 403 Forbidden 15ms]
GET 
http://my.lime.site.address/tmp/assets/c8f84a6c/c_a0731ef701231fecdadf5b8bf611bdef.js [HTTP/1.1 403 Forbidden 15ms]
GET 
http://my.lime.site.address/tmp/assets/c8f84a6c/c_cbe0fc63fc6ca145454a4d8ed55273a0.js [HTTP/1.1 403 Forbidden 15ms]
when i switch debug mode on site doesn't work at all there is an error:

Notice: Trying to get property of non-object in /../application/helpers/common_helper.php on line 203
PHP warning
array_merge(): Argument #2 is not an array
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose