Jump to content

ProAvia

Administrators
  • Posts

    1652
  • Joined

  • Last visited

  • Days Won

    73

Everything posted by ProAvia

  1. Yes, read about the new version. Looking forward to it. As long as my present modules work correctly, I'm happy. I'll leave that setting alone for now.
  2. It's not that I necessarily want it changed - but on my 5.5.2 test site, I processed a test Pirep and noticed the flight time addition was odd. The pilot had 3348.38 total hours - 3348 hours 38 minutes. His Pirep added 2.22 - 2 hours 22 minutes. The result should have been 3351.00 - 3351 hours 00 minutes. Instead the result was 3350.6 - 3350 hours 60 minutes. While I know that 3350 hours 60 minutes is actually 3351 hours 00 minutes, it might be confusing to my pilots. I'll do some more testing to see if the times add up correctly. Maybe there's an issue with 60 minutes not converting over to 1 hour - possibly it happens at 61 minutes? I thought there was a reference - maybe during install - to choose between a period or colon for the separator.
  3. Yes, it's coming up just fine. phpVMS 5.5.2 with a bunch of mods and older skin. Most 'errors' corrected - a few left to fix. I was thinking it may need changed in the future though - but I've been wrong before (just ask my wife ). Thanks!
  4. I could swear I've seen this somewhere, but can't find it now. And was unable to find ANY reference using Search. Can the flight time separator be changed from ' . ' to ' : '? And where is this setting? My present 2.x site uses the period ( . ) and I'd like to change to the colon ( : ) on my 5.5.2 site. With a 5.5.2 site, does it matter which separator is used? Is there an advantage to using one over the other? TIA!
  5. Using phpVMS 5.5.2 In 'app.config.php' (file date 10/25/2016) on or near line 321 is the entry: Config::Set('TPL_EXTENSION', '.tpl'); Should the '.tpl' be changed to '.php'? If so, should the line Config::Set('TPL_EXTENSION', '.php'); be added to the 'local.config.php' or just edited in the 'app.config.php'?
  6. I don't have an answer to your issue, but....... What version of phpVMS are you using? You may wish to edit your post above to remove the email address and password (unless those are only examples).
  7. I really can't tell you which version of PHP you should run. But I can say that I'm running phpVMS 5.5.2 on PHP version 5.6.18. phpVMS 5.5.2 runs fine on PHP 5.6.18 - with a few fixable errors. I'm still in the process of going through everything and attempting to fix any errors with some older modules. I believe it's been mentioned that phpVMS 5.5.2 will NOT run on PHP version 7.x. But, I personally haven't tried it.
  8. phpVMS 5.5.2 When attempting to access the Admin Activity Logs via Admin, Site & Settings, I receive the following: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3 bytes) in /home/xxxxxx/public_html/xxxxxxxxxx/phpvmsTEST/core/classes/ezdb/ezdb_mysqli.class.php on line 287 I'm using the original file provided with version 5.5.2. Is this something I need to worry about and is there a fix? Thanks for any insight! EDIT: Disregard - I think I found my issue. Search is my friend! ----- walking away, shaking my head ------- Search is my.......
  9. Thanks! Looks like there is BBcode in here - at least some basic ones. I think some of the icons in the editor are BBcode based. Spoiler
  10. Finally had time to test this again - too many "honey-do's" this week in preparation for the holidays. I tried your original files again and it worked this time. No other changes were made. Then tried with your updated FrontSchedulesData.class.php and that also works. Is there an easy way to add pagination to this? Say, after every 12 schedules listed. Thanks!!
  11. Thanks web541 - that was fast! You rock! All search combinations work except when trying to search by aircraft type. Either only by aircraft type or adding the aircraft type to any other search. Searching by aircraft type in /schedules works but not in /FrontSchedules. No entries in error_log. You mention better solutions. Please list - payware and freeware if available.
  12. I guess I'm late to the game.... Had this working perfectly on version 2.x. Install on version 5.5 and got "No routes found." - along with a few errors. Fixed the errors, but still getting "No routes found.". Hoping David (simpilot) or someone else has time to look at it and hopefully provide a fix. TIA!
  13. I may have a slightly newer version than you Ray. At the end of that line, mine states: // Edit this value to set the max LOA Duration I think (as in I'm not positive) you would set it to the number of days - plus 1 day. So if you limit an LOA to 90 days, it will expire on day 91. This provides the pilot a full 90 days of LOA.
  14. I think we'll find out in the next few days! Now that these 2 are fixed, I can test out the other modules I have. Let us know if you fix any also.
  15. phpVMS 5.5.2 - Latest version of ScreenShotCenter (see post one up from this for link) Just in case anyone is getting this error: Deprecated: Non-static method Screenshots::show_random_screenshot() should not be called statically, assuming $this from incompatible context in ... layout.php Here's a possible fix - try calling it like this $allpics = new Screenshots (); $allpics->show_random_screenshot(); Instead of Screenshots::show_random_screenshot(); Thanks to web541 for pointing me in the correct direction. See this post:
  16. Thanks web541 - that works great! First I used your revised call - and that worked to get rid of the error. Then I added your modified '... core/modules/PopUpNews/PopUpNews.php' file - and the error is still gone. The only reason I added your modded php file was to preclude other issues in the future. Now to figure out exactly what your did and why. Then off to see if I can fix basically the same issue in the Screenshots module. Thanks again!! EDIT: Screenshots module fix same way Called as $allpics = new Screenshots (); $allpics->show_random_screenshot(); Instead of Screenshots::show_random_screenshot(); Will post that in the Screenshots thread also in case it helps someone else out.
  17. Thanks for looking Ray! I'm just now getting around to upgrading from version 2.x to 5.5.2 . Quite the challenge - and maybe I'll even learn something... LOL I do know on my live version 2.x phpVMS, that when our host upgraded to php 5.6, we had a ton of errors. Many were fixed (not by me though) by suppressing the error.
  18. Yeah - i could suppress the error, but would rather have a way to fix it. Wanted to fix this one first and possibly use the same fix on other modules as well. I guess worst case would be to fix all the strict standards errors with older - not updated - modules and then suppress all of this type. If there were an easy fix out there, we'd probably know of it by now.
  19. As I'm not familiar with the inner workings of Invision Power Board, I have a few questions.... Is BBcode available here? If not, can the HTML equivalents be used? I do see the icons for Link, Quote and Code. What I'm wondering about is the use of 'spoiler' and a few other ones I use elsewhere from time to time. The 'spoiler' might make it easier to read some posts as anything behind 'spoiler' would be condensed until a user click the 'spoiler' wording. Or is there a way to easily add more formatting options via a WYSIWYG editor? Thanks for any insight!
  20. Thanks for the reply Sava I'll stick just to the PopUpNews module here..... The 'PopUpNewsData.class.php' in core/common already has the 'static' wording - but there is no 'PopUpNewsList ()...' in that file. <?php //simpilotgroup addon module for phpVMS virtual airline system // //simpilotgroup addon modules are licenced under the following license: //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) //To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/ // //@author David Clark (simpilot) //@copyright Copyright (c) 2009-2012, David Clark //@license http://creativecommons.org/licenses/by-nc-sa/3.0/ class PopUpNewsData extends CodonData { public static function popupnewsitem($id) { $query = 'SELECT * FROM ' . TABLE_PREFIX .'news WHERE id=' . DB::escape($id) . ' '; return DB::get_row($query); } public static function get_news_list($howmany) { $sql = 'SELECT id, subject, body, postedby, UNIX_TIMESTAMP(postdate) AS postdate FROM ' . TABLE_PREFIX .'news ORDER BY postdate DESC LIMIT '.DB::escape($howmany); return DB::get_results($sql); } } However, the 'PopUpNews.php' in core/modules has the 'PopUpNewsList ()...' item. But when I add 'static' to that line, only my background image and header show - with an error of Fatal error: Using $this when not in object context in /home/xxxxxx/public_html/xxxxxxxxxx/phpvmsTEST2/core/modules/PopUpNews/PopUpNews.php on line 33. Here is the content of that file - without the 'static'. <?php //simpilotgroup addon module for phpVMS virtual airline system // //simpilotgroup addon modules are licenced under the following license: //Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) //To view full icense text visit http://creativecommons.org/licenses/by-nc-sa/3.0/ // //@author David Clark (simpilot) //@copyright Copyright (c) 2009-2012, David Clark //@license http://creativecommons.org/licenses/by-nc-sa/3.0/ class PopUpNews extends CodonModule { public function popupnewsitem($id) { $id = intval($id); if(!is_numeric($id)){header('Location: '.url('/'));} $result = PopUpNewsData::popupnewsitem($id); $this->title = $result->subject; Template::Set('item', $result); Template::Show('popupnews/popupnews_item'); } public function PopUpNewsList($howmany = 5) { $howmany = intval($howmany); if(!is_numeric($howmany)){exit;} $res = PopUpNewsData::get_news_list($howmany); $this->set('news', $res); $this->show('popupnews/popupnews_list'); echo '<div style="text-align: center; font-size: 10px;"><a href="http://www.simpilotgroup.com">PopUpNews &copy simpilotgroup.com</a></div>'; } } I am using phpVMS 5.5.2, skin is 'vairline' and PopUpNews is called in the layout.php as <div id="box"> <h3><font color="#0066FF">FreedomAir NOTFAP's</font></h3> <?php PopUpNews::PopUpNewsList(5); ?> </div> Does all this look correct? Could the issue be related to the skin itself?
  21. Hi Ray Any luck on solving the "this" error? I'm getting it with the PopUpNews module and the Screenshots module. I get the news and random screenshot to show, but the error displays just above each item. Deprecated: Non-static method PopUpNews::PopUpNewsList() should not be called statically, assuming $this from incompatible context in ..... layout.php Deprecated: Non-static method Screenshots::show_random_screenshot() should not be called statically, assuming $this from incompatible context in ... layout.php phpVMS 5.5.2 - latest PopUpNews and Screenshots modules - PHP 5.6.18 Thanks for any insight! Gene
  22. Thanks David! That resolved the issue for me. It WAS occurring by clicking the link from the main site and from using a direct forum link. Both now go directly to the forum.
  23. Like the updated look! I'd guess it includes an update of the forum software too - and better security. Thanks to David and the rest of the team for all you do! I about had a heart attack the other day when the forums were down. I'm in the middle of an upgrade to 5.5.2 from 2.x and will probably be in need of assistance shortly. One issue I had with the old forum which continues into this one - on my Android tablet the forum redirects to: br-update.com/u/4182 . IIRC, someone else has reported this issue also. All works fine in Win7 with IE11 and Chrome. Also no issues with iPhone access. The issue seems related only to Android. Are others on Android experiencing this issue also? Anyone able to rectify it?
  24. I really think it may be better to install the newest version in parallel with the old version. This will give you time to tweak and correct any issues you may (will) experience with the new version - while having a working version (the old version) for your members to use. You hosting company may decide to upgrade and will probably only provide you will a couple weeks notice at best. Do you want to risk having a non-functioning site until you have the necessary time to complete the change over to the new version? How many members might you lose if your site goes down for several weeks while you are scrambling to update and make the site functional again? An additional plus is you will probably be able to get support here easier if you're on the newer version. Just my opinion - now back to my own update/conversion........
  25. It works with P3D, X-Plane and FSX-SE - in addition to FSX and FS9. The user (pilot) has to install a current version of FSUIPC (FS/P3 only) or XPUIPC (XP only) to make it work on their systems. FSUIPC/XPUIPC will interface on the users computer with the sim and kACARS. Your site and your pilots must use the same version of kACARS. And your pilots must set up and run their kACARS to connect correctly with your site.
×
×
  • Create New...