Jump to content

[kACARS_Free] Fatal Error


Azaruth

Recommended Posts

Fatal error: Class 'CodonModule' not found in home2/ :ph34r:/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. :)

Link to comment
Share on other sites

Re dowload the module, it looks like codon hasnt been found

also check the module version matches the version of kacars you have

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.

76i18wt.png

Navigating to the PHP page results in the fatal error. When attempting the same thing with a program it returns a 403 error.

Link to comment
Share on other sites

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();
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...