-
Posts
1824 -
Joined
-
Last visited
-
Days Won
53
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Strider
-
-
Are you uploading the right file? As I think you may be uploading the old file instead of the new one.
-
Make sure the JS is being called in the head of the page, above the </head>
-
Have a look at how the current modules are made.
-
What error do you get when you click on bid flight?
-
1
-
-
Don't touch the app.config. Put the keys in the local.config file. I say you need to replace the files, as you may have taken more then the code for the recaptcha and it is causing problems. So replace the files with fresh ones from a clean download, and try it then
-
I haven't finished it yet.
-
1
-
-
I got code working, but not correctly. It is just showing 5 in sequence by flight number. And I think I know why, when you add a schedule there is no date associated with the entry in the db But there is in the PIREPS table. I will work on it and try to get it to work. When I do I will upload the code to my github account.
-
1
-
-
Do you have an API for it? You have to have a valid API key for recaptcha to work. You can get them for free here
-
4 hours ago, ProAvia said:
The issue might be specific to your website host.....
First - back up the StatsData.class file
Change
$key_month = date('MY', $start);
To
$key_month = date('i', $start);
Save the newly edited file, try it again and let us know of the outcome...... If it doesn't work, revert to the backup file.
You could also just comment out the line and add the new one, if the new bit of code fails, you just have to delete the new code and uncomment the old
-
Are they disappearing from the db? Or just not showing on the site? If so then I think what might be happening is when you put the code back, you add or take away code or an ; or something like that that is causing those to disappear. PHP can be very finaky when it comes to code. Miss a ; or a comma and all hell breaks loose. Also what file are you editing? If you have not done anything other then remove some code, try uploading the original file from a fresh download.
-
1
-
-
Because the username has to be the one associated with the DB you are connecting to.
-
1
-
-
I dont understand, you want the live map to show in a 3rd place? You have it on the frontend and in the crew center. You could try using an iframe or will need to code a link to the acars and put the code for your maps there.
-
14 minutes ago, edakridge said:
PHP version=7.0
MySQL version=10.2
ALL permissions enabled
I'm not really clear by what you mean by "Does the db user (ERA001) have access to use the database assigned for phpvms use?". If you are asking whether I am the site owner/admin, the answer is yes.
Feel free to contact me through PM as well. I will be checking a couple of times a day.
When you created the DB did you add ERA001 to the DB as the user or is it another user. Usually the user is the user of the cpanel account underscore and the name you chose, so it could be something like edakridge_era001, if you d ont add the first bit it can have trouble with it, as it won't recognise it as a user on the db. Which is basically what the error you got is telling you.
-
Chief Pilots
HR Director
Events Director
Fleet ManagerIf you would like to help out at MVA please send an email to admin@malaysiava.org with subject line as *position name* application. Include in the body:
Full name
Email
Pilot ID
Position applied for
For chief pilots only:
Aircraft
Info about yourself
Previous Staff positions at other VA's -
That is not the callsign, you are refering to the ICAO code. I have never heard of an ICAO code being more then 3 letters.
-
It is telling you the function is not there, So either you have to add the function or find the code that is supposed to be there.
-
Are you sure all the files are uploaded?
-
Can you provide a link so we can see what happens?
-
I have updated this to 1.5 you can now select the schedid instead of having to go find it in the DB. You will just need to know the flightnumber used and select it from the dropdown in the add codeshare page
-
I have updated this to V1.4. It now uses leaflet maps instead of googlemaps.
-
I don't quite understand what you mean? phpvms by default puts the roster into hubs and shows them. This module lets you click on a hub and get more detail about the hub. Especially if you have set the roster to not show by hub.
-
Regardless of phpvms version in the local.config file you need to change the lines that have been mentioned above. The module you are using should use that. But if I understand what you mean, you want to bid on more then 1 flight. Check the settings of the module in the admin side for that module. The code mentioned above just changes the ability for pilots to bid on the same flight.
-
By the sounds it, the code is getting the information sent to it wrong, and instead of showing the flights, it is showing the no routes found. Sometimes it is just a simple change of code in the if/else statement. I have had that happen loads of times. Change where the "no routes found" to either the first part of the if/else and the other code to the other. so if it is:
if($schedule = "true") { *code for schedules } else { echo = "No routes Found"; }
Change that to:
if($schedule = "true") { echo = "No Routes Found"; } else { *schedule code }
I know the code i used most likely doesn't match the code in the module, but it is just to illustrate my point.
-
During the reinstall, did you delete the tables created the first time? If not did you change the prefix when installing? If you use the same prefix it can cause errors. Either use a different prefix or remove the tables created. As above don't remove recaptcha, make sure you have correct keys, and have put the right key in the right place. Also have you changed the php version?
Navdata Update
in Releases
Posted
Thanks