- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
KCFinder Image Browse Server not working
- pdaubresse
- Offline
- New Member
Less
More
6 years 9 months ago #155866
by pdaubresse
Replied by pdaubresse on topic KCFinder Image Browse Server not working
Thanks a lot for sharing your solution. I spent much time on this problem.
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 964
- Thank you received: 217
6 years 7 months ago #157953
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic KCFinder Image Browse Server not working
I wrote a bug report, because in the current 2.06LTS the error still seems to exist.
bugs.limesurvey.org/view.php?id=12629
How did you solve it?
@DenisChenu: browse resources/reload did not work here.
Tammo
bugs.limesurvey.org/view.php?id=12629
How did you solve it?
@DenisChenu: browse resources/reload did not work here.
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
6 years 7 months ago #157954
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 KCFinder Image Browse Server not working
1st : activate debug mode
2nd : look at your session cookies if the domain name are OK (this can happen with specific version, but think it was fixed in last 2.6lts)
3rd : it work good since a lot of time on all my instance
2nd : look at your session cookies if the domain name are OK (this can happen with specific version, but think it was fixed in last 2.6lts)
3rd : it work good since a lot of time on all my instance
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.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 964
- Thank you received: 217
6 years 7 months ago #157957
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic KCFinder Image Browse Server not working
Debug=1 now, cannot login anymore:
PHP warning
array_merge(): Argument #2 is not an array
/home/admin/domains/vragenlijst.toolsforresearch.com/public_html/application/helpers/common_helper.php(203)
191 $timeadjust = getGlobalSetting('timeadjust');
192 App()->setLanguage((isset(Yii::app()->session) ? Yii::app()->session : 'en'));
193
194 if(is_null($cached)) {
195 $surveyidresult = Survey::model()
196 ->permission(Yii::app()->user->getId())
197 ->with('defaultlanguage')
198 ->findAll(array('order'=>'surveyls_title'));
199
200 $surveynames = array();
201 foreach ($surveyidresult as $result)
202 {
203 $surveynames[] = array_merge($result->attributes, $result->defaultlanguage->attributes);
204 }
205
206 $cached = $surveynames;
207 } else {
208 $surveynames = $cached;
209 }
210 $surveyselecter = "";
211 if ($returnarray===true) return $surveynames;
212 $activesurveys='';
213 $inactivesurveys='';
214 $expiredsurveys='';
215 if ($surveynames)
>>> Perhaps stupid question: where do I find session cookies? What should I look for?
PHP warning
array_merge(): Argument #2 is not an array
/home/admin/domains/vragenlijst.toolsforresearch.com/public_html/application/helpers/common_helper.php(203)
191 $timeadjust = getGlobalSetting('timeadjust');
192 App()->setLanguage((isset(Yii::app()->session) ? Yii::app()->session : 'en'));
193
194 if(is_null($cached)) {
195 $surveyidresult = Survey::model()
196 ->permission(Yii::app()->user->getId())
197 ->with('defaultlanguage')
198 ->findAll(array('order'=>'surveyls_title'));
199
200 $surveynames = array();
201 foreach ($surveyidresult as $result)
202 {
203 $surveynames[] = array_merge($result->attributes, $result->defaultlanguage->attributes);
204 }
205
206 $cached = $surveynames;
207 } else {
208 $surveynames = $cached;
209 }
210 $surveyselecter = "";
211 if ($returnarray===true) return $surveynames;
212 $activesurveys='';
213 $inactivesurveys='';
214 $expiredsurveys='';
215 if ($surveynames)
>>> Perhaps stupid question: where do I find session cookies? What should I look for?
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 964
- Thank you received: 217
6 years 7 months ago #157958
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic KCFinder Image Browse Server not working
And the error message disappears when I put debug = 0 again.
Tammo
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 964
- Thank you received: 217
6 years 7 months ago #157959
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic KCFinder Image Browse Server not working
So with debug = 0, I can login again, but still the KCFinder does not work...
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
6 years 7 months ago #157966
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 KCFinder Image Browse Server not working
You have a survey without survey_language.
I think we already fix it ???? But seems not in 2.6lts : github.com/SondagesPro/LimeSurvey-Sondag...mmon_helper.php#L203
You can fix it finding the broken survey in DB … (or adding something like if(empty($result->attributes) || empty($result->defaultlanguage->attributes){ tracevar($result) } else {//current code (line broken) } )
About session cookies information : Firefox F12
I think we already fix it ???? But seems not in 2.6lts : github.com/SondagesPro/LimeSurvey-Sondag...mmon_helper.php#L203
You can fix it finding the broken survey in DB … (or adding something like if(empty($result->attributes) || empty($result->defaultlanguage->attributes){ tracevar($result) } else {//current code (line broken) } )
About session cookies information : Firefox F12
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.
Attachments:
The topic has been locked.