-
Posts
1661 -
Joined
-
Last visited
-
Days Won
73
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by ProAvia
-
-
If you are using https on your domain, you will need to change phpVMS to use https also. The default phpVMS (prior to v7) uses http.
-
You have several threads going in the Classic and V7 forums.
Which version of phpVMS are you talking about here?
-
Maybe something wrong with your installation or download. Mine has an htaccess file included in the default download.
Here is the download I used: http://downloads.phpvms.net/phpvms-7.0.0-dev.tar.gz
I believe this link includes all the dependencies too - no need to run Composer to get them.
-
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?
-
On 3/9/2020 at 6:29 AM, djtiger76 said:
Hey ProAvia,
I saw another website that mentioned the while vs. foreach functions as a culprit, but was not sure how to rewrite that line. I changed that line and changed debug back to false and no errors. I promise I didn't change that before today. Is it possible a mod i installed could have changed that and created the errors?
Thanks much!
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.
- 1
-
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?
-
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?
-
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
-
No worries. Hopefully someone will be able to assist you with your issue.
- 1
-
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.
- 1
-
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.
-
4 minutes ago, gio1961 said:
I don't know if I understand correctly, however my code is:
Auth::$userinfo->pilotid = 0;
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
-
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.
Deprecated: The each() function is deprecated.
in Support Forum
Posted
I always keep a backup of the site and the db running to play around with. Much easier to test on. And my site stays up if/when I break the dev site.