-
Posts
1701 -
Joined
-
Last visited
-
Days Won
75
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by ProAvia
-
REQUEST - Random Itineray Builder (by Jeff)
ProAvia replied to CarlosEduardo2409's topic in General & Support
If you were to alter this code and make it available to others, you will need to get WRITTEN permission from the original author - and include that written permission with the altered module. The other option is to come up with a totally new module - without using any of the original code. -
-
Logistical issues? What might that be? If that logistical issue is smartCARS, I understand the money investment. But at some point, it's time to cut your losses (and frustration) and move forward. I don't foresee them releasing (at a cost to all again) smartCARS 3 anytime soon. What MySQL or MariaDB version are you using? You will find issues using phpVMS 5.x with any MySQL above 5.7.4 and MariaDB 10.2 and above. With shared hosts updating to newer PHP and MySQL/MariaDB versions, more issues will continue to crop up. phpVMS v7 and vmsACARS are the best options.
-
If your only options are PHP 5.6 and PHP 7.3 - set PHP 5.6 and install phpVMS 5.5.2 (not 5.5.2.72). As stated in the readme for phpVMS 5.5.2.72, it works on PHP 7.2 and possibly 7.0 and 7.1 - As you have found, it will NOT install/work correctly on PHP 7.3 or higher. Does your host offer PHP 8.0 or 8.1 by chance? If so, use phpVMS v7. phpVMS 2.x and 5.x are legacy and are not receiving any further updates to work with newer PHP or MySQL/MariaDB versions. Is GoDaddy your hosting company? If so, maybe they can help you with a newer version of PHP or move you to a different server that will support phpVMS v7 and PHP 8.1
-
See post #2 - nothing has changed with that answer.
-
What PHP version? MySQL above 5.7.4 will cause issues. Ask TFDI if Strict Mode is on or off.
-
@UZVA - We are going to need more info to help you..... phpVMS v7 dev build number? PHP version? MySQL/MariaDB version? Free, shared or VPS hosting? What install method did you use? Laravel logs? Did you read through the docs? I see that Infinity Free appears to be free web hosting. The docs and forums are quite clear that free hosting won't support phpVMS.
- 1 reply
-
- 1
-
There is no phpVMS 5 - only 5.5.2 and 5.5.2.72 You can check the exact version in the lower left corner of the phpCMS admin panel. Ask TFDI exactly what PHP and MySQL/MariaDB is being used. You have full access to all phpVMS files - including this module - thru you hosting panel. You are going to continue to have issues with that skin. Is that the Stisla skin? If so, the skin doesn't show the proper attribution required by the phpVMS license when not signed into the site. This puts you in violation of the phpVMS licensing terms.
-
If an addon module doesn't work with the default Crystal skin, it won't work with other skins either. Is this module payware or freeware? Post a link to the module. phpVMS version? PHP version? MySQL/MariaDB version? Be aware, the skin shown in your post is old and unsupported. The developer hasn't been around in several years.
-
I have edited your post. No posting of payware code on the forums. We can discuss a possible fix via PM.
-
Yeah, whatever he did, he didn't do it correctly - and therein lies the problem. If you don't know how to do it correctly, don't do it. Or at least be smart enough to back up the DB first.
-
UPDATE - I married an older DB backup from May 2022 to his site files. kACARS works as it should. This means the site owner compromised the DB while adding schedules, aircraft, airports, etc. thru the admin panel - most probably the schedules table has numerous errors in it. I am hoping he kept good logs of exactly what he did. Just another reason to ALWAYS do a backup of your DB and site files anytime you change anything........ Thanks to all who offered help/advice - both here and on Discord - with this issue!
-
Thanks, I will try resetting the acars table. I noticed his acars table is quite long, so may be some bad data there. PHP version is 7.2 - I also tried 7.0 and 7.1 without success. On my site, it works just fine with 7.2 Also uploaded his site files and DB to my hosting. kACARS_Free still doesn't work with his files and DB on my host. So it's not his host, it's something in his files or database.
-
Do you have a no-attribution license for phpVMS? If not, the license requires "powered by phpVMS" in the footer of every website page that is related to phpVMS. Be sure you are fully in compliance with the licensing terms of phpVMS, all addon modules, etc. Ask you host the exact version of MariaDB. Report back once they provide that info. phpVMS 5.5.2 or 5.5.2.72 will NOT work correctly when using MariaDB 10.5 The Stisla skin is no longer supported and the developer hasn't been around for a long time. Non-static method is covered in post #4 above. Count parameter needs a small coding tweak - something similar to this as I recall: if(is_array ($foo) || $foo instanceof Countable) { if count ($foo) { do something } } This works with PHP 7.0, 7.1 and 7.2 Google... Warning: count(): Parameter must be an array or an object that implements Countable for further info.
-
You can ask your host if they offer MariaDB 10.2 or lower on a different server. That server will also need to support the other requirements as well. Or change to a host that supports the requirements of phpVMS 5.5.2.72 fully. smartCARS 2 won't work in phpVMS v7 - and no updated on smartCARS 3 in a long time. The only present ACARS that works in phpVMS v7 is vmsACARS. It is being actively developed, as is phpVMS v7.
-
phpVMS version? PHP version? MySQL/MariaDB version? What skin are you using? Provide a link to the skin.
-
A little "progress" In comparing the send.xml files when connected to his site and then connected to my site, his doesn't fully populate the send.xml with all the data for the selected flight. Now to find out why...... Oddly, this shows below the ACARS Map on his site. It's the correct data for the flight I put in kACARS. Notice the pilot number is incorrect (happens with any pilot).
-
Tried my kACARS module and schedulesData.class files on his site - no change. I guess next it to download his DB and file and upload to my hosting to see if it works.
-
I can bid on a flight, but it won't load in kACARS. The bid shows in the bid table. Hoping to have time tomorrow to swap the files out and see if that fixes it. Barring that working, I can download his site and upload to my host to check if it works there. As far as I know, no one else at vmshost has reported an issue with 5.5.2 or 5.5.2.72 and kACARS_Free.
-
Thanks! Yeah, Ithought it was weird being able to log in but not retrieve flights. Already tried php 7.0 and 7.1 without success. Also tried multiple flight numbers - no spaces or odd characters - double and triple checked. No errors show in the error_log file. Error logging is on, but not sure how vmshost is set up for logging of errors. Something more to look at there. Every flight number entered, when requesting the flight info, the receive.xml show flightStatus2. Same if I bid a flight and change kACARS to not use Search by Flight #. Great idea about trying my working kACARS module file and data class file - something to try over the weekend. One other thing is I can set up a charter flight and start it.
-
kACARS_Free: 1.0.1.5 phpVMS: 5.5.2.72 PHP: 7.2 MariaDB: 10.2.44 Hosted at: vmshost "No Flight Found!" when attempting to retrieve a schedule. Can log in fine and connect to FS. This is at a friends site that I have full access to. I can log into kACARS_Free but not retrieve the flight data. receive.xml shows flightStatus 2 - which triggers the "No Flight Found!" in kACARS. The schedule is in the DB and enabled. The aircraft is in the DB and it's ID shown in the schedule. Aircraft is enabled. The airline is in the DB and enabled. The airports are in the DB. This same version of kACARS_Free works fine on my own site. The only difference is that I have MySQL 5.7.41 instead of MariaDB 10.2.44 My site is hosted elsewhere. I compared his kACARS_Free site module to mine and they are exactly the same. Anyone have a clue where to look or how to fix this issue? Thanks
-
kACARS doesn't work in phpVMS v7. If you are having issues with kACARS, post in the appropriate v2, v5 forum.
-
phpVMS version? PHP version? MySQL or MariaDB version? Where did you download the FlightBook module from? Did it ever work correctly?
-
Have a look at this thread - not sure if it will work or not. Also look at Crazy Creatives (payware) - be aware, others have reported that support from CC is lacking. https://www.crazycreatives.com/downloads/tag/flightboard/ NOTE: I don't have or use any of these - they were found via a quick site and Google search.