Fatal Error with nusoap.php
cardell - October 11, 2007 - 15:05
| Project: | Newsletter Checkbox |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Apparently this is an error that could come up if you are using this with PHP5, because PHP5 has a SoapClient class included in it.
The quick fix is to replace all the occurrences of soapclient with soapclient2 in nusoap.php (Found this quick fix here:
http://forums.vtiger.com/viewtopic.php?t=2335&start=0). In addition, you have to change the call to nusoap.php in newsletter_checkbox.module. At the bottom, change "new soapclient" to "new soapclient2".
Another alternative is probably to just comment out all the code for the connection to Campaign Monitor...assuming you're not using Campaign Monitor of course.
I've attached the nusoap.php file that I changed.
| Attachment | Size |
|---|---|
| nusoap.php_.txt | 248.29 KB |
