View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05404Bug reportsImport/Exportpublic2011-08-23 18:36
Reportermvekony Assigned Toc_schmitz  
PrioritylowSeverityminor 
Status closedResolutionwon't fix 
Product Version1.91+ 
Summary05404: SOAP Error: SOAP-ENV:Server : Call to a member function SetLanguage() on a non-object when calling sSendEmail()
Description

SOAP Error: SOAP-ENV:Server : Call to a member function SetLanguage() on a non-object

Steps To Reproduce

After calling
soapClient.sInsertParticipants(UserName, Password, SurveyID, "Markus;Vekony;m.vekony@digital-dialog.com;de")

and

soapClient.sSendEmail(UserName, Password, SurveyID, "invite", 1, "", "")

the error

SOAP Error: SOAP-ENV:Server : Call to a member function SetLanguage() on a non-object

appears.

Additional Information

I changed in limesurvey/admin/remotecontrol/lsrc.helper.php

the line

if (SendEmailMessage($modmessage, $modsubject, $to , $from, $sitename, $ishtml, getBounceEmail($surveyid)))

to

if (SendEmailMessage(null, $modmessage, $modsubject, $to , $from, $sitename, $ishtml, getBounceEmail($surveyid)))

and I think a solved the problem.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)9656
I will donate to the project if issue is resolvedNo
BrowserFirefox 6.0
Database type & versionmysql 5.0.51a
Server OS (if known)Ubuntu 8.04.4 LTS
Webserver software & version (if known)Apache/2.2.8 (Ubuntu) mod_ssl/2.2.8 OpenSSL/0.9.8g
PHP Version5.2.4-2ubuntu5.17
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2011-08-18 16:10

updater   ~16097

Carsten, since the Remote Control feature is currently marked as not stable and there are many other issues to be fixed, do you want:
a) to ask the user to provide a patch?
b) fix this yourself
c) skip this for the moment until someone starts to seriously work on the remote control feature?

c_schmitz

c_schmitz

2011-08-23 18:36

administrator   ~16123

The SOAP API is currently not supported anymore and most probably will be replaced with a RESTful API in one of the next version.

Issue History

Date Modified Username Field Change
2011-08-17 20:02 mvekony New Issue
2011-08-18 16:10 Mazi Note Added: 16097
2011-08-18 16:10 Mazi Assigned To => c_schmitz
2011-08-18 16:10 Mazi Status new => feedback
2011-08-23 18:36 c_schmitz Note Added: 16123
2011-08-23 18:36 c_schmitz Status feedback => closed
2011-08-23 18:36 c_schmitz Resolution open => won't fix