Steve Bartlett Posted April 22, 2013 Report Posted April 22, 2013 I am getting this Error when Pireps are approved : Fatal error: Class 'LogData' not found in /home/vforg/public_html/admin/modules/PIREPAdmin/PIREPAdmin.php on line 319 Here is line 319: LogData::addLog(Auth::$userinfo->pilotid, 'Approved PIREP #'.$pirepid); This just started the other day, all data seems to saved okay, we are not missing flights or hours in our "logbooks". Can anybody tell me what is wrong and how to fix it? Yes I am a newb when it comes to this stuff. Quote
Strider Posted April 22, 2013 Report Posted April 22, 2013 Sounds like a corrupted file, run a checkinstall and see if it comes up with any problems. Quote
Steve Bartlett Posted April 22, 2013 Author Report Posted April 22, 2013 I have never done that before, how do I do it? Quote
Strider Posted April 23, 2013 Report Posted April 23, 2013 upload the install folder, and put in the address bar: http://myva.com/install/checkinstall.php change the domain to what ever it is for you. Quote
Steve Bartlett Posted April 23, 2013 Author Report Posted April 23, 2013 Okay, this is what I am getting: [Error] ../core/common/LogData.class.php doesn't exist I searched for it and it is not there. Now, can I simply add it, or will it mess up what has already been done as far as flights or anything else? Quote
Strider Posted April 23, 2013 Report Posted April 23, 2013 Upload that file to the location it should be, and everything should be fine. It wont cause any problems with your site putting that back where it should be Quote
Steve Bartlett Posted April 23, 2013 Author Report Posted April 23, 2013 Okay great, thank you. One more, LOL Been getting these from day one. 1035 and 1036 have to do with font height and width, 1054 has do with images. That should be the last of the help I need for now. Thank you Warning: imagefontheight() expects parameter 1 to be long, string given in /home/vforg/public_html/core/common/PilotData.class.php on line 1035 Warning: imagefontwidth() expects parameter 1 to be long, string given in /home/vforg/public_html/core/common/PilotData.class.php on line 1036 Warning: imagestring() expects parameter 2 to be long, string given in /home/vforg/public_html/core/common/PilotData.class.php on line 1054 Warning: imagestring() expects parameter 2 to be long, string given in /home/vforg/public_html/core/common/PilotData.class.php on line 1054 Warning: imagestring() expects parameter 2 to be long, string given in /home/vforg/public_html/core/common/PilotData.class.php on line 1054 Warning: imagestring() expects parameter 2 to be long, string given in /home/vforg/public_html/core/common/PilotData.class.php on line 1054 Warning: imagestring() expects parameter 2 to be long, string given in /home/vforg/public_html/core/common/PilotData.class.php on line 1054 Quote
TAV1702 Posted April 23, 2013 Report Posted April 23, 2013 I might be barking up the wrong tree here, but that is a php 5.3 compatability issue that is floating all over the net these days. if you have something like ImageFontHeight($which_font) try using ImageFontHeight( (int)$which_font ); Now I could be totally out of line on that one. If I am please disregard. Quote
Steve Bartlett Posted April 23, 2013 Author Report Posted April 23, 2013 Okay, that fixed lines 1035 and 1036. What about line 1054? Quote
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.