Azaruth Posted September 6, 2014 Report Share Posted September 6, 2014 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. Quote Link to comment Share on other sites More sharing options...
ChrisTaylor Posted September 6, 2014 Report Share Posted September 6, 2014 Re dowload the module, it looks like codon hasnt been found Quote Link to comment Share on other sites More sharing options...
BaRBeR Posted September 6, 2014 Report Share Posted September 6, 2014 also check the module version matches the version of kacars you have Quote Link to comment Share on other sites More sharing options...
Azaruth Posted September 6, 2014 Author Report Share Posted September 6, 2014 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. Navigating to the PHP page results in the fatal error. When attempting the same thing with a program it returns a 403 error. Quote Link to comment Share on other sites More sharing options...
BaRBeR Posted September 7, 2014 Report Share Posted September 7, 2014 what page give you an error? Quote Link to comment Share on other sites More sharing options...
Azaruth Posted September 8, 2014 Author Report Share Posted September 8, 2014 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(); } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.