Jump to content

Flyer

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Flyer's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Further to my reply above, I communicated with my ISP to obtain more detailed info to share with you. Here is what I got: They have provided me a php example of the code that would fill out the header according to SOAP standards. Curl libraries are used. This is to illustrate what needs to be done: $tuCurl = curl_init(); curl_setopt($tuCurl, CURLOPT_URL, "http://example.com/path/for/soap/url/"); curl_setopt($tuCurl, CURLOPT_VERBOSE, 0); curl_setopt($tuCurl, CURLOPT_HEADER, 0); curl_setopt($tuCurl, CURLOPT_POST, 1); curl_setopt($tuCurl, CURLOPT_SSL_VERIFYPEER, 1); curl_setopt($tuCurl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($tuCurl, CURLOPT_POSTFIELDS, $data); curl_setopt($tuCurl, CURLOPT_HTTPHEADER, array("Content-Type: text/xml","SOAPAction: \"/soap/action/query\"", "Content-length: ".strlen($data))); You may also do a search for SOAP BY EXAMPLE to find examples using other languages. I know you need .NET example. Going through some of the exmaples on the web, I found out that, to do a search request to Google using a client software, it is also necessary to use a similar SOAP standard which is described in Google API documentation. I hope this helps. Kind Regards, Ali
  2. Hi, I spoke to my ISP and they told me that the http/xml request HEADER is empty ! This means that the kACARS_Free application is not inserting any data like application name so forth to the header before sending the http/xml request to the website. Our ISP is setup such that if they receive a request with empty header they RESET THE TRANSMISSION. As a solution, they have an exclusion list of websites that may receive requests with empty header on their newtork. They have added my website name to this exclusion list, and this resolved the problem. The kACARS_Free client is now able to login to the website. Having resolved or rather bypassed this problem, I would like to ask Jeffrey, if he could take a look at the code to see if he can easily modify it to insert perhaps an application name into the header before doing the POST request. I am sure if he does this, it may resolve similar issues for many other users. I am waiting for Jeffrey's response before marking this entry as RESOLVED. Kind Regards, Ali
  3. Hi, I am trying to set up a new VA using phpVMS and kACARS_Free v1.0.1.1 and Module v1.0.1.1. When I try to Log In from the kACARS_Free I get the typical "Notify System Administrator of the Switch error. Data not recieved. Switch = Verify" I have researched the forum for similar problems and I have tried all the suggestions. Unfortunately I have not been able to resolve this issue so far. I will appreciate your help. I will try to describe my environment and what I have done from simple to more complex: 1- I have entered the URL as http://dev.flypgsva.org without the ending slash. 2- The client and the module are the latest available from the download site. 3- The ISP is a professional one and they claim to support HTTP/XML. In fact I can see XML Support Active through phpinfo.php. 4- Server is running Linux. 5- I have tired to analyse the traffic using Wireshark and I have seen the login request with the attached XML going to the server. The screenshot of the login http/xml The response from the server is strange; it first acknowledges the receipt of the http xml traffic, but it then resets the connection ! I could not figure out what is making the server reset the connection. I have looked at mb_detect_encoding and allow_url_fopen parameters, but still no success. I will appreciate if you could let me know which php settings and what other server side settings are required. Thank you and Kind Regards, Ali
  4. Hi, Is anyone running phpVMS with php 5.3 at their ISP ? If you are not sure or you do not know how to find out the php version, create a page at your website named phpinfo.php and include only the following line <?php phpinfo(); ?> When you call this page www.yoursite.com/phpinfo.php it will tell you right on top your php version. I will appreciate your replies. Thanks.
  5. Hi, I have been experimenting installing phpVMS at an ISP. The installation was successfull and the main page did display correctly. However when I tried to selecet any of the other pages like registration or login, I got 404 page not found. After spending a full day researching, mode_rewrite, .htaccess rules, the forum, the code, etc... in vain, the ISP suggested me to install the software on a different server where they run php 5.2. On this new (actually old) platform everything seems to be working. ISP claimed that php 5.3 does not handle the index.php/link type url's ! I have asked them to provide me some doc proving their claim so that I could share with you. I am still waiting for their reply. In the mean time I would like to ask if phpVMS does support php v5.3 ? If not, any plans to do so in the near future ? If so, could you please point me in right direction to make some suggestions to the ISP to correct their settings so that I can run under php 5.3. Some detailed instructions would be appreciated. The environment I am having trouble with is as follows: php 5.3.3.7+squeeze3 Linux cloudlnx18 2.6.32-5-amd64 #1 SMP Mon Jan 9 20:49:59 UTC 2012 x86_64 Server API:CGI/FastCGI Server: Apache The environment where the software does work correctly is as follows: php 5.2.6.1+lenny13 Linux cloudlnx13 2.6.32-5-amd64 #1 SMP Mon Oct 3 03:59:20 UTC 2011 x86_64 Server API:CGI/FastCGI Server: Apache I can provide any other needed details. In one of the posts I did find the following comment "Sounds like you might be running PHP with FastCGI and it's a mis-configured web root" If you think that is the problem, could you please give further details as to how it should be configured, so that I can direct the ISP accordingly. I will appreciate your help. Thank you and Kind Regards
×
×
  • Create New...