Jump to content

Azaruth

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Azaruth's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. http://azaruth.com/f...kACARS_Free.php That page displays the original error. If you are familiar with programming at all the following snippet returns 403. final static String SITE_ROOT = "azaruth.com" String strURL = SITE_ROOT + "/flight/phpvms/core/modules/kACARS_Free/kACARS_Free.php"; String strXMLFilename = "Data/send.xml"; File input = new File(strXMLFilename); PostMethod post = new PostMethod(strURL); try { post.setRequestEntity(new InputStreamRequestEntity( new FileInputStream(input), input.length())); post.setRequestHeader("Content-type", "text/xml; charset=ISO-8859-1"); HttpClient httpclient = new HttpClient(); int result = httpclient.executeMethod(post); System.out.println("Response status code: " + result); // 403 // System.out.println("Response body: "); // System.out.println(post.getResponseBodyAsString()); } catch (IOException e) { e.printStackTrace(); }
  2. Thank you for the replies although I forgot to mention a key piece of information. kACARS_Free.exe v1.0.1.1 will connect to my website and it will also file PIREP's properly. Navigating to the PHP page results in the fatal error. When attempting the same thing with a program it returns a 403 error.
  3. Fatal error: Class 'CodonModule' not found in home2/ /public_html/flight/phpvms/core/modules/kACARS_Free/kACARS_Free.php on line 22 There has to be a fix for this but I simply cannot find it. I've mastered Java but that doesn't help me here despite the fact that PHP looks like a child of Java and C++.. Anyway, all help would be appreciated.
×
×
  • Create New...