Moodle

alfresco plugin requires PHP soap extension which is not required

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Repositories
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Issue Links

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Confirmed. I'm getting:

Fatal error: Class 'SoapClient' not found in /Users/stronk7/cvs_moodle/moodle_head/lib/alfresco/Service/WebService/AlfrescoWebService.php on line 28

And upgrade stops. Assigning to Dongheng as he is the alfresco committer. Ciao

Show
Eloy Lafuente (stronk7) added a comment - Confirmed. I'm getting: Fatal error: Class 'SoapClient' not found in /Users/stronk7/cvs_moodle/moodle_head/lib/alfresco/Service/WebService/AlfrescoWebService.php on line 28 And upgrade stops. Assigning to Dongheng as he is the alfresco committer. Ciao
Hide
Dongsheng Cai added a comment -

I added code to check soap extension when initializing alfresco instances, and plugin_init function to check soap when creating new plugin.

However, we still require soap extension when using alfresco plugin, to solve this, we need to replace soap extension with nusoap in alfresco lib, or create a pure php soap lib which has same api with SoapClient, both solutions need a lot of work on it.

Show
Dongsheng Cai added a comment - I added code to check soap extension when initializing alfresco instances, and plugin_init function to check soap when creating new plugin. However, we still require soap extension when using alfresco plugin, to solve this, we need to replace soap extension with nusoap in alfresco lib, or create a pure php soap lib which has same api with SoapClient, both solutions need a lot of work on it.
Hide
Eloy Lafuente (stronk7) added a comment -

Haven't we that stuff already in /lib ? It used to be some wrapper library, automatically switching between nusoap / hphsoap and so.

No 100% sure but I remember that vaguely. Ciao

Show
Eloy Lafuente (stronk7) added a comment - Haven't we that stuff already in /lib ? It used to be some wrapper library, automatically switching between nusoap / hphsoap and so. No 100% sure but I remember that vaguely. Ciao
Hide
Eloy Lafuente (stronk7) added a comment -

Note: I've updated from CVS and... if I go to the "notifications" page... I continue getting:

Fatal error: Class 'SoapClient' not found in /Users/stronk7/cvs_moodle/moodle_head/lib/alfresco/Service/WebService/AlfrescoWebService.php on line 28

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Note: I've updated from CVS and... if I go to the "notifications" page... I continue getting: Fatal error: Class 'SoapClient' not found in /Users/stronk7/cvs_moodle/moodle_head/lib/alfresco/Service/WebService/AlfrescoWebService.php on line 28 Ciao
Hide
Dongsheng Cai added a comment -

Hi, Eloy, seems that's no way for me to disable soap extension unless I recompile PHP , so can you help testing again, thanks

I already included nusoap library in alfresco plugin, but the APIs of nuSOAP are different from SoapClient, so it doesn't work.

Show
Dongsheng Cai added a comment - Hi, Eloy, seems that's no way for me to disable soap extension unless I recompile PHP , so can you help testing again, thanks I already included nusoap library in alfresco plugin, but the APIs of nuSOAP are different from SoapClient, so it doesn't work.
Hide
Dongsheng Cai added a comment -

Please review, feel free to reopen it.
Thanks

Show
Dongsheng Cai added a comment - Please review, feel free to reopen it. Thanks

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: