-
Posts
1647 -
Joined
-
Last visited
-
Days Won
71
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by ProAvia
-
-
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?
-
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.
-
You may want to send @Nabeel a PM thru the forums amd also PM him on Discord. It being the weekend, he may mot be able to address the issue until the first part of the week.
If you are having issues loading the main website page, the results page after simBrief processes the data will also see an issue.
-
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.
-
You are trying to edit an existing pilot?
Is this the error?
QuoteWarning: count(): Parameter must be an array or an object that implements Countable
EDIT - I think I see the issue. I will address it tomorrow when I am back at the computer.
Go to my github and open a new issue - https://github.com/ProAviaAZ/phpvms_5.5.2.72/issues
-
Rick - @Captthud
You can get rid of those 3 'Deprecated...' errors on the selected aircraft page by editing /core/common/FleetData.class.php lines 76, 117and 129. Change 'public' to 'public static' and saving the file.
-
Make sure you are logged out of the site. They aren't there is logged in. I just checked your site and they are visible when logged out.
-
What is your site URL?
-
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.
-
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??
-
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
-
Using the same IP shouldn't matter. ReCaptcha is working fine.
I registered and submitted a contact under Joe Blow. Did you get an email for either of them?
Is error logging turned on? Is there anything in the error logs?
-
- What version of PHP, Apache and MySQL are you using?
- Are you using MySQL or MariaDB? If MariaDB, what version?
- Site URL?
- Did you use a valid email for the admin email address?
- Have you tried using the Contact form to see if an email is sent? SITE_URL/index.php/contact
- Do you have ReCaptcha set up correctly?
-
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.
-
After a few PM's with the OP, the issue is most likely do to the fact that he is using MariaDB 10.2. That version of MariaDB is not compatible with phpVMS 5.5.2.
We have been discussing alternate options and will update here if a solution is found.
-
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?
-
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.
-
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?
-
Version of phpVMS?
Version of PHP?
Is this a csv you did yourself or did you get it elsewhere? Have you opened the csv with any other programs?
-
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.
-
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.
-
What version of phpVMS?
What version of PHP?
Post contents of line 165 of Dashboard.php
-
I would guess you have compatibility mode on in IE. Turn compatibility mode off or remove google.com from the list of sites that use compatibility mode.
-
What browser are you using?
Maybe try with a different browser.
Web site update issue
in Support Forum
Posted · Edited by ProAvia
Are you using phpVMS version 2.1.x or 5.5.2 (Simpilot version)?
There are several files to compare....
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.