Toyuko Posted May 25, 2010 Report Share Posted May 25, 2010 Toyuko, Please send me the following information. Open the receive.xml file that is inside of the folder which the application was installed into and first see if there is anything in there. If there is please copy the code and send it to me. Make sure you do this after you have gotten the error. This will be the starting point on how I can help you. Also please let me know what version of phpVMS you are running. One last thing. What is your site address? Thanks, Jeff Alright, when i open the receive.xml not shows up in it. I am running the latest phpvms 934 stable release. and I got the Kacars 1.0.05 beta. My URL is http://jlvirtual.x10hosting.com/ Quote Link to comment Share on other sites More sharing options...
Toyuko Posted May 25, 2010 Report Share Posted May 25, 2010 Well heres the log i got from the error message anyway: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Xml.XmlException: There are multiple root elements. Line 2, position 2. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(String filename) at kACARS_Free.MainForm.btn_GetInfo_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- kACARS - Free Assembly Version: 1.0.0.5 Win32 Version: 1.0.0.5 CodeBase: file:///C:/Program%20Files/FS-Products/kACARS%20-%20ver%201.0.0.5/kACARS%20-%20Free.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- FSUIPCClient Assembly Version: 1.3.2758.28 Win32 Version: 1.3.2758.28 CodeBase: file:///C:/Program%20Files/FS-Products/kACARS%20-%20ver%201.0.0.5/FSUIPCClient.DLL ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted May 25, 2010 Report Share Posted May 25, 2010 Can you PM me the contents of the kACARS_Free.php file? I want to take a look at it. Thanks, Jeff Quote Link to comment Share on other sites More sharing options...
Toyuko Posted May 25, 2010 Report Share Posted May 25, 2010 Can you PM me the contents of the kACARS_Free.php file? I want to take a look at it. Thanks, Jeff Yeah sure. Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted May 26, 2010 Report Share Posted May 26, 2010 how does the charter flight option work? need help figure out! BR Thomas Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted May 26, 2010 Report Share Posted May 26, 2010 Tximmy83. This is the way is should work. 1. Log in using your pilot ID and password. 2. Check the box marked "Charter Flight". (Certain text boxes will become editable) 3. Click the "Get Aircraft" button (This will pull all of the aircraft from your site and put them into the aircraft drop down box) 4. Choose the aircraft you wish to fly using the drop down box. 5. Click the "Load" button. This will load the aircraft data into the respective boxes. 6. You can then fill in the Departure ICAO / Arrival ICAO / Flight Number / Flight Level / Load 7. After that it should work just like any other flight. To be honest I do not know if it is working correctly or not. No one has reported back any issues. If you use it and run into any issues please let me know right away. I am planning on releasing the next version on Friday. Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted May 26, 2010 Report Share Posted May 26, 2010 Jeffrey, I get no error message but it do not pull aircrafts into dropdown BR Thomas Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted May 26, 2010 Report Share Posted May 26, 2010 What is your website address? What version of phpVMS? Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted May 26, 2010 Report Share Posted May 26, 2010 What is your website address? What version of phpVMS? http://forum.simaerobatic.com/ phpVMS Version 2.1.934 BR Thomas Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted May 26, 2010 Report Share Posted May 26, 2010 PM Sent Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted May 26, 2010 Report Share Posted May 26, 2010 PM Sent downloaded I am trying soon tomorrow morning and post the result Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted May 26, 2010 Report Share Posted May 26, 2010 downloaded I am trying soon tomorrow morning and post the result did not work get such nice error and jit debug messages is that now a Problem between client and PHP file I guess? BR Thomas Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted May 26, 2010 Report Share Posted May 26, 2010 and one thing it looks like I was running on the on the old stable PHP not 1.005 BETA kACARS.php Update 5 (BETA) is giving me an error like the file youve send me (FIXED) but it still doesnt pull aircraft information BR Thomas Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted May 26, 2010 Report Share Posted May 26, 2010 Whats the error? Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted May 26, 2010 Report Share Posted May 26, 2010 Whats the error? kACARS.php Update 5 (BETA)is running fine now! with exception of the aircraft pull with charter flights which is not a big Issue since we do not really need but it would be a nice feature is there something that I am doing wrong? do I have to define something in phpVMS control Backend? thanks for your help BR Thomas Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted May 26, 2010 Report Share Posted May 26, 2010 This the error that is being sent when trying to load the aircraft. <b>Fatal error</b>: Using $this when not in object context in <b>/home/simaerobatic/domains/forum.simaerobatic.com/htdocs/core/modules/kACARS_Free/kACARS_Free.php</b> on line <b>366</b><br /> Do you happen to have Debug set in your site? Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted May 26, 2010 Report Share Posted May 26, 2010 This the error that is being sent when trying to load the aircraft. <b>Fatal error</b>: Using $this when not in object context in <b>/home/simaerobatic/domains/forum.simaerobatic.com/htdocs/core/modules/kACARS_Free/kACARS_Free.php</b> on line <b>366</b><br /> Do you happen to have Debug set in your site? dont think that I have debug mode or such thing set where can I find out if debug is active or where can I set? BR Thomas Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted May 27, 2010 Report Share Posted May 27, 2010 It would be set in the local.config.php. I am not sure if this is the problem I just want to rule it out before proceeding. The lines that are showing as an error have to do with debug logging. So just want to make sure of this. Quote Link to comment Share on other sites More sharing options...
Txmmy83 Posted May 27, 2010 Report Share Posted May 27, 2010 just looked into local.config.php debug mode is set to false BR Thomas 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.