Elxis CMS Forum

Extensions => Components => Topic started by: aiden11 on September 01, 2010, 20:57:15

Title: interfax error
Post by: aiden11 on September 01, 2010, 20:57:15
I am trying to setup Interfax on IOSR
Did open an account with Interfax and on the hotel notification page did add the username and password and the hotel fax number:

When i did a test reservation i get the following error:

Fatal error: Uncaught SoapFault exception: [Client] SoapClient::SoapClient() [<a href='soapclient.soapclient'>soapclient.soapclient</a>]: Invalid parameters in /home/***/public_html/administrator/components/com_reservations/includes/resfax.class.php:310 Stack trace: #0 /home/***/public_html/administrator/components/com_reservations/includes/resfax.class.php(310): SoapClient->SoapClient('http://ws.inter...', true) #1 /home/***/public_html/administrator/components/com_reservations/includes/resfax.class.php(69): reservFAX->sendnusoap('<html><head><ti...', 'HTML') #2 /home/***/public_html/administrator/components/com_reservations/includes/resfax.class.php(185): reservFAX->sendFAX('<html><head><ti...', 'HTML') #3 /home/***/public_html/components/com_reservations/reservations.php(2151): reservFAX->sendReserveFAX(Array) #4 /home/***/public_html/components/com_reservations/reservations.php(99): reservFront->reserve() #5 /home/***/public_html/components/com_reservations/reservations.php(4106): reservFront->run() #6 / in /home/***/public_html/administrator/components/com_reservations/includes/resfax.class.php on line 310

Not sure what i am doing wrong here

Thanks
Title: Re: interfax error
Post by: datahell on September 01, 2010, 22:01:50
The error seems that is being generated by the parameters that are passed in the NUSOAP's call function.
These parameters are: Username, password, fax number, message to send, fax format (text/html).
Are you sure the first 3 parameters are correct and well formatted?
Do you use any strange symbols (like #~%^  etc...) in the username/password/fax number?
If the problem persists I need to debug it on your site to tell you why this happens.
Title: Re: interfax error
Post by: aiden11 on September 01, 2010, 23:04:24
Hi datahell,

I am not using any strange symbols
usrname: letters numbers
password: letters numbers
phone number : +39999200002 or 00399993333333

Thanks
Title: Re: interfax error
Post by: datahell on September 01, 2010, 23:08:37
OK. If you wish send me a personal message with access information to your site's FTP in order to trace what generates this error and fix it.
Title: Re: interfax error
Post by: aiden11 on September 01, 2010, 23:17:57
OK. If you wish send me a personal message with access information to your site's FTP in order to trace what generates this error and fix it.

PM send,

Thank you
Title: Re: interfax error
Post by: aiden11 on September 02, 2010, 16:14:13
any updates ?

Thanks
Title: Re: interfax error
Post by: datahell on September 02, 2010, 18:04:15
I while check it in a while. Please wait.
Title: Interfax fixed
Post by: datahell on September 02, 2010, 18:56:03
Fixed.
I believe it now works fine. I can not see your FAX so just tell me if you received a fax by me.

The problem was not IOS Reservations fault. Your server has a, required by NUSOAP, function disabled.
I by-passed this and made it work. Confirm that IOSR sends FAXes now.
Title: Re: interfax error
Post by: aiden11 on September 02, 2010, 20:40:58
It works fine now, faxes have been received. Thanks for your help
Title: Re: interfax error
Post by: aiden11 on December 26, 2010, 18:24:56
After updated the new version i get again the same error with NUSOAP

Is any way we can bypass that withough getting you in truble ?

Thanks
Title: Re: interfax error
Post by: datahell on December 26, 2010, 21:43:45
ggkrrr....
Because of the update the code was updated and you lost the changes I had done to your site. Do you have a back up of the changes I have made to your site? I need only the nusoap file. Or can you show me the error.log in order to remember which was the function required?
Title: Re: interfax error
Post by: aiden11 on December 27, 2010, 11:34:48
Hello,

I have looked through files on my comp and server but unforunatly cant find anything.

Title: Re: interfax error
Post by: aiden11 on December 27, 2010, 16:52:17
is any chance you can have a look if i pm the ftp details ?

Thanks
Title: Re: interfax error
Post by: datahell on December 27, 2010, 18:53:29
Yes, we must do the same again...
Send me a PM with your ftp details to debug and fix it.