Jump to content

ProAvia

Administrators
  • Posts

    1647
  • Joined

  • Last visited

  • Days Won

    71

Everything posted by ProAvia

  1. I'm getting an "Access Denied" message and a pop up to download some Turbo Booster to my Android tablet. This is after converting Russian to English. Of course, I'm not goijg to download any of that stuff. If you are wishing to share your code with the community, please upload to one of the well know sites such as Github. This will also allow you to easily update your code and share with the community. Thanks!
  2. As a single, log in on one and automatically be able to fully access the other - sadly, no. I do have mine set up using the same username and password (I can't control if they use the same password, but do strongly suggest it), on both phpBB and phpVMS. It's kind of a pain to set up their access initially as we don't allow auto-registrations. But if they stay signed in to both, they can transition seamlessly from one to the other via on-site links on both entities. Using TAV1702's options are certainly worth a look see.
  3. ProAvia

    Errors

    Post what line 2031 says. What format is the avatar you are uploading (file extension)?
  4. I think the time used in phpVMS has something to do with where your hosting company is located. I'm not sure if it can be changed. But - you can display a clock with whatever time zone you choose. One place to get a free one is http://www.clocklink.com/
  5. In .../core/common/ PilotData.class.php - look for public static function generate Signature around line 895. A few lines below that you will see the 3 entries you wish to change Total Flights, Total Hours Total Earnings. Back up your original file first, then change only those 3 items. You can then re-generate signatures in the admin panel.
  6. Thanks for the reply On the first error, I think it's showing when a guest attempts to access something in Profile. The times shown in the error log are times members don't appear to be on the site. Since I recently updated to 5.5.2, it may take a bit to single out the issue as a bunch of modules were updated at one time. For the second, the profile_stats.php file is called when you go to access 'My Stats' from the 'My Career' page. http://www.freedomair.us/phpvms
  7. I don't believe this 2 issues are related....... I show this error in the 'error_log' file PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Profile' does not have a method 'phpvms' in /home/rocke2/public_html/freedomair/phpvms/core/classes/MainController.class.php on line 218 I can't figure out how or why this is being called. What is this error actually telling me? I can't get any charts to display in the defaulit phpVMS 5.5.2 file '....\templates\profile_stats.php' - even if I put the file in my skins folder. Any help is much appreciated. Thanks! Contents of profile_stats.php
  8. To set up an event you do not NEED to have anything set up yet. But eventually you will need a departure airport, an arrival airport and at least one active schedule (with a flight number) so your pilots can fly the event on your scheduled date and time.
  9. Maybe this will help.... https://www.ablebits.com/office-addins-blog/2014/04/24/convert-excel-csv/ Look in the section titled: Export Excel to CSV with UTF-8 or UTF-16 encoding Definitely don't open and re-save the file in Excel after you do this - or you'll need to do the above procedure again.
  10. So Notepad++ showed the question marks? Then I'd guess it's most probably something to due with your version of Excel. Please keep us updated on your migration and schedule import.
  11. That's exactly the same as my import.php. I'm still using Excel 2003 for my CSV. I know there are some differences in mine and newer versions. Open the CSV file you used for import in Notepad++ (instead of Excel) and see what's in the route column. Maybe that will give us an idea. Another option may be to open the CSV in Open Office (freeware) and see what the route column looks like.
  12. What version of Excel are you using? When you saved the CSV, did you save as CSV (Comma delimited), CSV (MS-DOS) or another format? Also, when saving the CSV, be sure to select Yes if asked if you want to keep the workbook in this format (To keep this format, which leaves out any incompatible features, click Yes.). I seem to remember saving as one of those and had an issue with the import (not the ??? in the route field though). If you saved in one, try another to see if that solves the issue. Are you using the stock Import.php file in admin/modules/Import or an edited one? Maybe post the entire public function processimport () section for review here. I believe in version 5.5.2 it starts on line 314.
  13. Can't say as I've ever seen that before. In the database, is the 'route' field 'Type' set to 'text'? And you imported it as a CSV file - without any changes to the CSV formatting during editing?
  14. Doesn't the present system already send an email to the pilot when a comment is add to a PIREP - that contains a link to the exact PIREP that was commented on? I'm pretty sure mine does that now by default. Hopefully that gets carried over to version 3 - or can easily be added by the VA admin staff.
  15. I don't have this module, so I don't know the exact names of any added database tables. In your database (in "schedules" or another table added by this module), are there any "cruisespeed" entries that equal zero? If so, you probably need to enter a cruise speed > 0. Also not exactly sure, but shouldn't phpVMS be installed in .../public_html/{VA_name_here}/phpvms instead of /home/flymyva/public_html ??
  16. ProAvia

    admin error

    No problem, glad to help!
  17. ProAvia

    admin error

    Ok, good, you're using 5.5.2 Do the PirepAutoAccept files in the template folder end in tpl or php? I'm betting tpl. In any case, change the file extension for all files in the template folder to php. Then, in the PirepAutoAccept.php file in the modules folder, find and replace any file reference of tpl to php and save the file. Let us know if that fixes the issue for you.
  18. ProAvia

    admin error

    Which version of phpVMS are you using - 2.1.x or 5.5.2? Listed the version number is much more helpful than saying it's the latest version. From the image it looks like you are using the PIREP Auto Accept module. If so, are you using version 1 or version 2 of this module? In admin/templates/PirepAutoAccept do the file names end in tpl or php? You may want to have a look through this post:
  19. If you scroll to the bottom of the page, after the error boxes, you should see: ({"totalResultsCount":1,"airports":[{"icao":"OERK","name":"King Khaled International Airport","countryName":"Saudi Arabia","lat":"24.9576","lng":"46.6988","lowlead":"0","jeta":"0"}]})
  20. Are you willing to share the module with the community? Thanks!
  21. This forum isn't the VA community at large - which is what I believe you are meaning. This forum is for those developing/tweaking their phpVMS setups. While divulging your site's URL isn't a requirement - it may help others to assist you in your goals. In any case, you will need to add airports and aircraft to your database, along with schedules/routes. After that, you can use the payware modules you mentioned. As a heads up... Please do not post code from payware modules or ask here for specific help with them - mostly better to ask at the payware developers site. I think you may be able to get general questions answered about them here - or via PM from someone who owns the same module. Hopefully, others will be along to give you additional suggestions.
  22. Hey Ray In looking briefly at his site, it seems that the large black 'Staff Application' is his page title and the smaller blue 'Staff Application.' is a link. Note the period after the blue one - not that I know why the period is there. Could what he's seeing be due to the skin used??? I noticed the title and link after viewing a few of the pages on his site that can be accessed without logging in.
  23. What exactly are you hoping it can do? What version of phpVMS is installed? Do you have a site link?
  24. Thanks for the reply! 'Stuff' usually comes before phpVMS - well, that's what my wife tells me... Yeah, the ledger values seem to be good from the default file (calculatePIREPPayment). RE: v3 - we can always hope!
×
×
  • Create New...