Issue Details (XML | Word | Printable)

Key: MDL-17014
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Dongsheng Cai
Reporter: Petr Skoda
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-13766

alfresco plugin requires PHP soap extension which is not required

Created: 26/Oct/08 01:41 AM   Updated: 11/Dec/08 12:20 PM
Return to search
Component/s: Repository API
Affects Version/s: 2.0
Fix Version/s: 2.0

Issue Links:
Duplicate
 

Participants: Dongsheng Cai, Eloy Lafuente (stronk7) and Petr Skoda
Security Level: None
Resolved date: 11/Dec/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) added a comment - 27/Oct/08 03:37 AM
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


Dongsheng Cai added a comment - 27/Oct/08 12:04 PM
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.


Eloy Lafuente (stronk7) added a comment - 27/Oct/08 05:23 PM
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


Eloy Lafuente (stronk7) added a comment - 27/Oct/08 07:31 PM
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


Dongsheng Cai added a comment - 28/Oct/08 12:16 PM
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.


Dongsheng Cai added a comment - 11/Dec/08 12:20 PM
Please review, feel free to reopen it.
Thanks