-
Posts
1761 -
Joined
-
Last visited
-
Days Won
79
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by ProAvia
-
To start, let's clear up some terminology.... PHP - PHP is a popular general-purpose scripting language that is especially suited to web development. It is NOT the program you show in your screenshot. phpVMS - phpVMS is a free and open source virtual airline administration CMS. You will use this program to set up your VA. Now, on to your issue. We need a bit more info in order to assist you. What version of phpVMS are you using? There is no version 5. There is 2.1.x, 5.5.2, 5.5.2.72 and 7. What versions of PHP are available on your hosting? What version do you intend to use? What version of MySQL or MariaDB are you using?
-
Deprecated: The each() function is deprecated.
ProAvia replied to djtiger76's topic in Support Forum
I highly doubt a module changed it. What you showed in your post is the default for phpVMS 5.5.2 and prior. What I suggested is from phpVMS 5.5.2.72. My change makes it compatible with PHP 7.2 - and should not affect usability. I usually look for a way to fix the issue rather than turn off error reporting - unless you need to get the site functional again quickly. And I suggest you run a developmemt site using an exact copy of your site so you can test out possible fixes or test new modules while your main site stays available for your pilots. -
Presently there are no add on skins or modules for v7. And the ACARS solution by the developer of v7 is probably going to be payware. It is anticipated that v7 will be out of beta testing and released in the next month or so. I would expect a limited number of skins and modules to follow. I would suggest reading the documentation to get a better understanding of version 7.
-
That's not how you install v7. I suggest you read the documents on the requirements, installation and use of v7 - available in the menu at the top of the forums page.
-
Version 7 is WAY different than previous versions. The way it installs is one of those differences. Post the download link you used to download the v7 file from. What PHP version are you using for your phpVMS v7?
-
Deprecated: The each() function is deprecated.
ProAvia replied to djtiger76's topic in Support Forum
Its weird you saw the deprecated warning as 'each' wasn't deprecated until php 7.2 Have you checked you host to see if they changed the base php version to 7.2 The line in question is: while (list($key, $value) = each(self::$values)) { What happens if you change it to: foreach(self::$values as $key=>$value) { Make sure to back up that file first in case it doesn't work or breaks your site. The above change was made to phpVMS 5.5.2.72 to make it compatible with php 7.2 . And you should be able to set debug mode to off again in local.config -
What is 'just blank'? You say you are using phpVMS v7 - but.... What PHP version are you using? Did it ever install correctly? Tell us what you have done so far?
-
Deprecated: The each() function is deprecated.
ProAvia replied to djtiger76's topic in Support Forum
What version of phpVMS? What version of PHP? What version of MySQL/MariaDB? -
In /core/local.config.php - change the fuel price. Config::Set('FUEL_GET_LIVE_PRICE', false); // live fuel pricing does not presently work Config::Set('FUEL_DEFAULT_PRICE', '.83'); // this is price per pound in USD - change accordingly if you use a different unit or monetary measurement Config::Set('FUEL_SURCHARGE', '5'); // this is the price surcharge in percent for non-hub airports - 5% more than a hub airport
- 1 reply
-
- 1
-
-
No worries. Hopefully someone will be able to assist you with your issue.
-
What version of phpVMS are you using? Upload your screenshot to an image hosting site and link it back to this post so we can see the pic here.
-
It might help you get an answer quicker if you post in English instead of Portuguese.
-
I was unable to get your screenshot to display. Can you upload it to an image hosting site and link it back to here?
-
And what is that issue?
-
Glad it's working now. Yes, always a good idea to check if updates have been made and install the latest dev branch. Also if you have an error, post to his github as he will see it faster there too.
-
There is no pilotid=0 in mine either. But I never use the cron job anyway. Never had an issue with the expired bids remaining after the set time frame. I go to the admin evey so often and run the last 4 maintenance tasks manually. Never an issue since I've been using phpVMS... over 6 years.
-
Yes, that is how my code is also. Chances are that there is no pilotid that equals 100. What happens if you put your pilotid there?
-
What are the contents of line 26 in maintenance.php?
-
There have been several updates to the dev branch recently. I would suggest you get the latest one and install it.
-
Are you using the latest dev build? If not, use the lastest build. If so, it may be better to post your issue to github at: https://github.com/nabeelio/phpvms
-
SmartCARS 2 - Warning: Invalid argument supplied for foreach()
ProAvia replied to garcez's topic in Support Forum
Post your issue at the TFDI website. They are the developers of SmartCARS. Or ask the developer of your icrew skin for help with this issue. -
Looking at your first and last images, it appears that the wording has move a bit to the right. Maybe add a few more spaces ( ). Just to be certain we are all looking at the same thing - the words "You must fill out all of the required fields!" are slightly further to the right in the last image compared to the first image. Another 5-10 spaces will line the "Y" in "You..." up with the icon directly below it. Thanks for the link to the base skin template!
-
I moved your post to a new topic as it isn't directly related to phpVMS 5.5.2.72 Can you provide a link to the skin? To move the "Fill out all of the required fields:" you can add spaces before it using for each space. You may need to add 5 or more spaces to get it to move to the right so all the wording is fully visible. There are probably other ways to do this also.
-
Hopefully Servetas can easily fix it for you. Let us know what the issue was - it may help someone in the future.
-
What version of phpVMS are you using? What version of PHP? What version of MySQL or MariaDB? About 2 weeks ago, did you happen to change the skin or anything else on the site?