Jump to content

ProAvia

Administrators
  • Posts

    1647
  • Joined

  • Last visited

  • Days Won

    71

Posts posted by ProAvia

  1. Are you using phpVMS version 2.1.x or 5.5.2 (Simpilot version)?

    There are several files to compare.... 

    • /core/modules/news/news.php
    • /core/templates/news_newsitem.tpl - may end in .php instead of .tpl - this one may be in your active skin folder, which will take precedence over the one in /core/templates/
    • /admin/modules/SiteCMS/SiteCMS.php
    • /admin/templates/news_additem.php - may end in .tpl instead of .php
    • /admin/templates/news_list.php - may end in .tpl instead of .php
    • /core/common/SiteData.class.php
    • /core/common/LogData.class.php

    Compare the above files on your site to the ones in a default install (or non-edited files from a download of your version of phpVMS).

    Don't change the file names or extensions - just compare to default. Let us know what you find out.

     

  2. Does the error_log show any errors? I think you should have an error_log in the root of phpVMS and in the admin directory.

    Are you still getting the Internal Server Error? And if so, only with the news module?

    What version of phpVMS? Have you compared your installed news module with the news module of a default phpVMS download?

     

  3. Are you updating the module or just adding new news?

    If updating the module, compare the old and new files to see what changed and if you really do need to update.

    Did your host just upgrade your Apache, PHP or MySQL? I had my host upgrade PHP from 7.2.18 to a newer version and got the same error in phpVMS 7. They said it was the program and not them. Turns out the issue was a misconfigured PHP install - once they updated it again the issue was resolved. Folks using the same PHP version on a different host/server did not have the issue using the same program as me.

  4. 19 hours ago, Captthud said:

    this is from the all pilots page after clicking on save changes   Warning: count(): Parameter must be an array or an object that implements Countable in /hermes/bosnaweb15a/b82/ipg.rtpianogcom1/ich/admin/modules/PilotAdmin/PilotAdmin.php on line 135

    and this is from user groups when I click on edit https://www.dropbox.com/s/lj4mliz277p9x3z/error1 pic.jpg?dl=0                      

    I already had this one going will go over to github next

    Should be fixed now. Update or download the /admin/modules/PilotAdmin/pilotAdmin.php file from the github repository.

    https://github.com/ProAviaAZ/phpvms_5.5.2.72/issues/48

  5. You can display the ACARS map on the front page. This will display a map and table with currenntly active flights.

    <YOUR_SITE_URL>/acars

    Just embed it in whatever page you want - or display as a stand-alone page.

  6. No worries..... done that myself more than once. LOL

    And if you want pilots to use a specific client version, in /core/modules/kACARS_Free/kACARS_Free.php line 33 - set that to the version you are using and line 34 to yes.

    You can host the kACARS_Free file on your site also if you wish - just show a link back to FS_Products. That will avoid confusing your pilots with multiple versions.

    So, the registration email issue is solved??

     

  7. Well - I used a bogus email address, so I won't be getting an email. 😉

    Certainly won't hurt to clear your browser cache - or try with a different browser.

    On my host, I needed to create a '.user.ini' file to turn error logging on in php7.2 - contents below

    ; see https://maximivanov.github.io/php-error-reporting-calculator/ for error reporting level calculator
    ; E_ALL & ~E_NOTICE = 32759 - all errors except notices
    ; E_ERROR | E_WARNING | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_RECOVERABLE_ERROR = 4339
    ; log_errors_max_len - 1024 is default, 0 is unlimited
    error_reporting = 32759
    display_errors = On
    display_startup_errors = Off
    log_errors = On
    log_errors_max_len = 0
    error_log = <FULL_PATH_TO_phpVMS_DIRECTORY>/error_log
    ; FULL_PATH... may start with /home/<NAME>/public_html/<phpVMS_location>/errorlog

    Notice that I wanted to see all errors except Notices and that I want an unlimited error_log file length/size.

    You can make this file in notepad or another plain text editor. Name it '.user.ini' and upload to the php VMS directory. Also make an empty file named 'error_log' and upload to same location.

    Some hosts may not require you to do this, but may need to have error logging turned on. Having the error logging on will also help you find other errors in modules, etc.

    EDIT: May I ask why you aren't using the most current version of kACARS_Free? Versions 1.0.1.4 and 1.0.1.5 are very stable - http://www.fs-products.net/index.php/kacars-free/downloads-2

  8. If you want to just upgrade your php version, you can use this 

    After you tweak your present skin and modules to work with php 7.2 (7.0 and 7.1 should also work) you can then tie it to your present live database.

    I think even after phpVMS v7 is released that it may take some time for compatible skins and modules to be available.

  9. Be sure to enable error logging. At this stage it needs to be turned on to help identify any issues. After the site is running well, you can disable it again.

    I agree - if both manually adding one schedule and importing via CSV isn't working - it probably isn't the CSV formatting.

    When you tried manually adding a schedule, were the two airports and the aircraft assigned to that schedule already in the DB?

  10. Ok, sounds like the schedules.csv file should be fine. I recall having an issue importing schedules, but can't remember what solved the issue. I will look thru my import files tomorrow to see if I documented the fix.

    In your php configuration, be sure 'allow_url_fopen' is set to ON. This may be something your host needs to set for you or you may be able to set it in the php.ini file. I believe this is needed to allow remote access of files via ftp.

     

  11. Is it phpVMS 5.5.2 (simpilot version)? https://github.com/DavidJClark/phpvms_5.5.x - this version will work with php 5.6 . On the admin page, look in the lower right corner for the full version number.

    Are you saying you got the schedules csv file elsewhere? Where? Are you sure the format is correct? What other programs did you open it with?

    In your first post you were talking about import issues with the schedules/routes. In your reply you are talking about aircraft import issues. Let's work on one issue at a time... schedules first. For the schedules, did you check the database directly using phpMyAdmin to see if the data is there? Just because phpVMS says it imports successfully does not mean the data is in the datababse. What is the exact message from phpVMS after importing the schedules csv?

    In BOTH cases, we need to know what program you are using to open, create, edit and/or save the csv files. I personally have had issues using MS Excel in MS Office 2003 ... it messes up the csv formatting for some reason.

    Are all airports listed in the schedules already in the database?

     

  12. That really doesn't help either. Provide a link to where you downloaded the file.

    Also, in the "master file" look in the /core directory. There should be a file named "version". Open it and post the contents here.

  13. In build 715 - Scoring - the delay column may need to be widened a bit. The right side of the number is cut off...  number 0 appears as the letter C for instance. This also shows up in the points column with numbers larger than 9. Maybe make all boxes the same width - Threshold, Points, Delay and Cooldown - to accommodate 5 visible digits.

×
×
  • Create New...