Jump to content

TAV1702

Members
  • Posts

    1954
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by TAV1702

  1. TAV1702

    blueIce

    I bumped in to an issue and I thought it was my PC/browser. When trying to download something via the menu bar the page will act like it is getting ready to download the file then it starts blinking and basically gets stuck in a loop of some sorts. I uninstalled my Ad blockers, shut off all popup blockers and all and yet I still had the same issue over and over no matter the browser. I had a buddy in Canada log on to my site and give it a try and low and behold, the same issue. No errors to report, just a download stuck in what appears to be a loop of some sorts. The page just refreshes and refreshes. Download links were checked and double checked and all was well. Java error/issue?
  2. Glad you have it sorted out. I got a install done and installed Ocean Blue v2 and I have the same issue in mobile browser with 2 slide images.
  3. Ok the verdict is in, it is because we have no airport expenses setup in the admin panel of phpVMS. Once you add a expense, that error will go away. It needs a if statement or something added like if no expense then echo message. that would fix it right up. Nice little module. I like it.
  4. That's pretty nice man. Good job! Is that actually pulling up ACARs flights or database schedules? Sorry, I was actually a bit lazy to look at the supplied code.
  5. Hey just out of curiosity, what is the online staff page for and how do we see it? I should be blushing I am sure. More than likely I am just overlooking something here.
  6. I actually just went to Github last night and grabbed version 3.0 from Davids Github. https://github.com/DavidJClark/phpVMS-ScreenShotCenter/archive/master.zip
  7. The pilot pay updates accordingly everywhere on site except exam module. I ran the site through the tests today after I received your email. This was a known issue for a while with exam module (pilots getting their money back and saying they dont have enough to cover the cost of a test). I was mainly just mesing about with it and trying to figure it out or see if anyone ever came up with a fix for it all these years later. I really do appreciate you looking in to it for me Parkho. Cheers buddy! Really, if they get the money back, it is no biggie to me. That part don't matter. It is the not enough money to take a test part that hurts.
  8. I think you might need a new host with older php. if you want to give it a quick try, install wamp server on your pc and give phpvms a go on it. it comes with php5.6.35 or something like that and php7
  9. Hmm It should just add new lines per event. Ill have to try it out on mine again and see happens. I'm not sure about the image yet as I have had no chance to work with it. I been busy the last couple days.
  10. I have no idea man. I was lucky to get this working when I did. lol I just messed with it for a few minutes after looking at the code in the forum tour calendar which is actually an events calendar. **EDIT** Actually, are you referring to the image that you add to the event in the admin panel? You want the image to show up in this code too?
  11. Actually Pro that is a decent advice to give. It never hurts and could only benefit as you say. I do agree with you and parkho both, an update is at this point in time necessary. Maybe just not to the live site but beside it as you have suggested. That is why I love having a server stack on my local machine.. I have no less than 30 projects on it lol
  12. None of the core files are edited at all except for styling. All functions are as is as of when I bought the module from Dave. When I chance the functions to static, I get the one error I posted for certain and then on the rebuild pilots function, it throws a BUNCH ... literally a bunch of errors. I can just suppress the errors and use it until it can't be used anymore. It's no biggie.
  13. I was unable to get a install of phpVMS done last night on my server. Any chance I can get you to link me to yours and I can view it in my mobile devices?
  14. I am looking here for cake controller methods and it is pretty much babble to me. http://book.cakephp.org/2.0/en/controllers.html
  15. For the record, I know I said I was not going to suppress errors. On a just because, I attempted to add this to the top of the touradmin.php in the modules folder: error_reporting(error_reporting() & ~E_STRICT & ~E_DEPRECATED); I had all kinds of issues. I then deleted it and added it to the very bottom of the file after the closing }} and it worked. Now my admin can continue to work on the site and do their thing while I worry about this. I appreciate any and all help I can get Parkho. I would definitely owe you a coffee.
  16. Ok here goes. Server php version 5.4.45 Here is the exact order of events that leads to errors. Pilot A) flys a route that is a tour leg and files a PIREP. Me as an admin goes and once I approve the pirep I am immidiately met with this. Strict Standards: Non-static method TourData::get_pilot_tours() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxxxx/admin/modules/TourAdmin/TourAdmin.php on line 21 Strict Standards: Non-static method TourData::get_tour() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxxxx/admin/modules/TourAdmin/TourAdmin.php on line 29 Strict Standards: Non-static method TourData::get_tour() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxxxx/admin/modules/TourAdmin/TourAdmin.php on line 33 Strict Standards: Non-static method TourData::update_pilot_tourdata() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxxxx/admin/modules/TourAdmin/TourAdmin.php on line 54 Here is the source of the issue: Ahhh scratch that. It is a payware, I can't post code. I won't do Dave like that. Do you own this module Parkho? When I go to the Tour Admin home page to attempt my admin duties, the home page has this at the top: Strict Standards: Non-static method TourData::get_tours() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxxxx/admin/modules/TourAdmin/TourAdmin.php on line 74 When I change that public function to public static function, the page goes blank white and give s me this: Fatal error: Using $this when not in object context in /home/xxxxx/public_html/xxxxx/admin/modules/TourAdmin/TourAdmin.php on line 74 If I click any of the options for a active tour in the admin such as edit, tour, details, or anything else, it has : Strict Standards: Non-static method TourData::get_tour() should not be called statically, assuming $this from incompatible context in /home/xxxxx/public_html/xxxxx/admin/modules/TourAdmin/TourAdmin.php on line 81 Strict Standards: Non-static method TourData::get_pilot_data() should not be called statically, assuming $this from incompatible context in /home/xxxxx/public_html/xxxxx/admin/modules/TourAdmin/TourAdmin.php on line 82 And this: Strict Standards: Non-static method TourData::get_tour() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxxx/admin/modules/TourAdmin/TourAdmin.php on line 105 I have not attempted the delete link yet for a tour for testing reasons. that will be my last test to delete an active tour. Now Rebuilding a pilots tour gets me this at the top of the rebuild page which I believe might just be the header throiwing an error. I could be wrong.: Strict Standards: Non-static method TourData::get_pilots_participated() should not be called statically, assuming $this from incompatible context in /home/xxxxx/public_html/xxxxx/admin/modules/TourAdmin/TourAdmin.php on line 113 Here is one error from a rebuild. I will try to replicate all the others in one minute for you. Strict Standards: Non-static method TourData::update_pilot_tourdata() should not be called statically, assuming $this from incompatible context in /home/xxxx/public_html/xxxx/admin/modules/TourAdmin/TourAdmin.php on line 131 Ok so essentially, I last night had several other errors to that today I can not replicate. I think I might know what the issue is and am going to attempt to replicate again here as soon as I have a nice hot cup of coffee. On a side note, most of those errors, if I change any of the public funtions like I did previously in this post, I end up with the same thing, white screen with the given error. I can get screenies to if needs be. If you don't own this module, I am trying to figure out what to do as I can't legally share the files or code. Since I can't share the code, can I just share each individual line that is erroring without showing any other lines?
  17. Oh that was just a few errors to get started with. Trying to rebuild a pilots tour throws of no less than probably 10 errors. What I will do since it is a non production website is go in and do what I attempted to do and document it all. that way we are on the same page. I will copy each error to the T and come back and post. On a side note, server was running php 5.6.25 I believe it was. In an attempt to debug and try new things, I downgraded the php version to 5.4 and still the module disagreed with me.
  18. I tried the same fix that we all used several years ago and it was not an option as the code Dave uses in vms 5.5 is much different than it used to be. @parkho, I can paste the code but it is in several files really. Do we burn that much forum space up or just have you grab the files? lol I'm game either way man. Let me know and I will get on it asap. Thanks for the offer of looking.
  19. Now before it comes up, because I know it is going to and I appreciate it, Yeah, I will not suppress any errors. I would rather fix the code than hide a problem. Now that being said, it is Daves Tour Module. I know, I know. It is a paid module. No support given here Ray so go to Dave's website and submit a ticket. No point in submitting a ticket. Dave is on hiatus right now and MIA. No support is being offered for paid modules. So no harm in asking here I guess as I know certainly I am not the only one using it and have this issue that we can not get support for. No, I will not send it to anyone to "Test". lol n ice try though. It is payware after all. I have to honor the license. I got the old strict errors when accepting a pirep when it is a tour leg. Strict Standards: Non-static method TourData::get_pilot_tours() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxxxx/admin/modules/TourAdmin/TourAdmin.php on line 21 Strict Standards: Non-static method TourData::get_tour() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxxxx/admin/modules/TourAdmin/TourAdmin.php on line 29 Strict Standards: Non-static method TourData::get_tour() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxxxx/admin/modules/TourAdmin/TourAdmin.php on line 33 Strict Standards: Non-static method TourData::update_pilot_tourdata() should not be called statically, assuming $this from incompatible context in /home/xxxxxx/public_html/xxxxxx/admin/modules/TourAdmin/TourAdmin.php on line 54 I have tried the public static function trick and all and when I do that, the errors come at me from all directions and my site crashes completely. Anyone fix this yet? P.S. And this is just to get started. I got major errors going on other places with this module as well. I hate to scrap it. That's $50
  20. So, the old pilot pay bug has resurfaced. If I adjust pilots pay (say they have 1000 and I give them 5000, their profile reads it as they have 6000$. Nice. However, Exam Center gives the money back on recalculate of finance in admin panel. Has anyone ever found a fix for that yet? And another one, If I have adjusted said pilots pay to the said 6000$ and they take a $5000 exam, that should leave them $1000 right? Wrong. It says they don't have enough money for the exam. Meaning in reality, the exam center is reading their pilot pay as $1000, not $6000. I adjust some code from total pay to $userinfo->totalpay + $userinfo->payadjust; to total out the money they have in the exam center code and it is still a no go. It will not recognize the total pilot pay. I apologize for posting this here. Reason I did is Dave is MIA for now. He will not be replying to posts in his threads I am more than sure. Maybe some of you all have found a way to fix this issue?
  21. I have to agree with you Parkho, but realistically, what is he going to gain right now besides php 5.6 headaches he might not be prepared for. I been at it for 13 days and still fixing errors that keep popping up on me (can't manage to fix tour module ). Minus Twitter and recent activities, Im not sure 5.5 is worth going to at his point in time. Now that being said, If he catches wind his host is upgrading php then by all means make a mad dash for an upgrade.
×
×
  • Create New...