-
Posts
1726 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by servetas
-
Regarding the captcha check this out: http://forum.phpvms.net/topic/23412-website-recapcha/
-
Have you updated the php version too? The latest version of phpVMS works with php 5.5.
-
I do not think so. What is the installed php version on your server?
-
If you are starting now, I would suggest directly installing the latest phpVMS version which is compatible with the latest php versions. You can find it here: https://github.com/D...rk/phpvms_5.5.x I do not know if the errors are due to the old version but I suggest using the latest version. Give it a try and let us know if the error persist.
-
Which phpVMS version are you using? Where did you download it from?
-
Replace this: public static function get_settings() { $query = "SELECT * FROM ".TABLE_PREFIX."autopirep_settings"; return DB::get_row($query); } with this one: static function get_settings() { $query = "SELECT * FROM ".TABLE_PREFIX."autopirep_settings"; return DB::get_row($query); }
-
Can you give it a try? static function get_settings() { $query = "SELECT * FROM ".TABLE_PREFIX."autopirep_settings"; return DB::get_row($query); }
-
Or a more direct snippet. +1 for your code <?php $url = "http://www.websiteurl.net/index.php/charter"; $site_title = "Charter Flights"; if((Auth::$userinfo->totalhours + Auth::$userinfo->transferhours)>=10) { Echo "<a href=$url>$site_title</a>" ; } ?>
-
Unzip the airports.zip file, inside it there is an airports.sql file. Open the file and go to lines 29, 30, 48 and 696 and replace `airports` with your `phpvms_tableprefix_airports`. After that, open your phpmyadmin, locate your phpVMS database and import this file.
-
Hello Omer, 1. Open your core folder. Inside it, you will find the local.config.php file. Copy and paste the following: Config::Set('ACARS_LIVE_TIME', 15); Config::Set('ACARS_DEBUG', false); Check the file if the above two lines are already included. The default value is 720 which means that the flights will remain line for 720 minutes = 12 hours. Update 720 to anything you want. 2. All these settings can be updated from local.config.php file. If you do not find some settings, open app.config.php file. This file includes all the available phpVMS settings. Copy the setting you want to update from the app.config.php file (if it is not already included in the local.config.php file) and paste it into the local.config.php file. Do make any changes into your app.config.php file as this will file is updated whenever you update your phpVMS while the settings set on local.config.php file are not replaced. George
-
The last screenshot you posted is the frontpage you would like to have? In that case, where should the official video be placed?
-
Template file and TPL sidebar in admin panel
servetas replied to CapitalConnectVirtualGroup's topic in Support Forum
Yes. -
No, I would need the code for the current flights in orderto check the variable you are using inorder toparse the data for the current flights section.
-
Can you post the part of code for the current flights section?
-
Fatal error: Class 'DB' not found in Auth.class.php
servetas replied to elekaj34's topic in Support Forum
Have you tried downloading the latest phpVMS version from github? https://github.com/DavidJClark/phpVMS-Credits -
Fatal error: Class 'DB' not found in Auth.class.php
servetas replied to elekaj34's topic in Support Forum
Hello. http://forum.phpvms.net/index.php?app=core&module=search&do=search&fromMainBar=1 -
Template file and TPL sidebar in admin panel
servetas replied to CapitalConnectVirtualGroup's topic in Support Forum
Basically my mistake, I referred you to the wrong file. Can you check admin/modules/Ruleregs/Ruleregs.php? Change the line 11 of this file. -
Template file and TPL sidebar in admin panel
servetas replied to CapitalConnectVirtualGroup's topic in Support Forum
Did you change line 11? What is it now? -
Template file and TPL sidebar in admin panel
servetas replied to CapitalConnectVirtualGroup's topic in Support Forum
Hey! Open admin/templates/ruleregs folder and change the extension of all the .tpl files to .php (if any). After then open core/modules/Ruleregs.php file and on line 11 replace this: $this->set('sidebar', 'ruleregs/ruleregs_sidebar'); with this: $this->set('sidebar', 'ruleregs/ruleregs_sidebar.php'); The same philosophy should be followed for Strider's module too. -
What is your phpVMS website version? Are you using a default or a custom template? When the problem started happening? What is your phpVMS url?
-
[SOLVED]Host upgraded server and php version, no getting errors
servetas replied to RocketRod's topic in Support Forum
Unfortunately that is not possible. You might be able to transfer to another web hosting provider who is offering several php versions. -
As I am the person you are referring to and I am always trying to do my best to answer any questions I can, you will have to place the part of code you posted here wherever you want in your local.config.php. Place it at the end of the file for example. There are dozens of posts regarding this issue in this forum. With all the respect, I did not like the "Come on i need help or i will get it from someone else off phpVMS" and this is why I decided to leave it there. As Vangelis stated, we are not obliged to answer cause this is something we do voluntarily. If you wish to have all your problems sorted in time, you can either hire a developer to solve them for you or, as you stated with your threat, "get it from someone else off phpVMS". Again, with all the respect, you are here to request support and we are voluntarily here to offer support. At least be nice and everyone will be happy. Help us to help you, say when the problem started happening, what have you tried so far on your own before posting, what is your phpVMS url and anything which will help us solve the issue. And the "us" includes you too. Not only me, Vangelis or anyone else.
-
Pending Pilots - VACentral Score Calculation
servetas replied to Joburgtaxi's topic in General & Support
In the database there is an extra column for the status of the pilot (accepted or not). I think that David should consider it during the score calculation. I am transferring the topic to the vacentral board so that David can see it and do any changes if he finds it useful. By default, as soon as a pilot registers, a new entry is inserted on the pilots database table. As a result, there is not anything we can do for this except if you change the way your pilots register on your system but this requires some extra developing. George -
Pending Pilots - VACentral Score Calculation
servetas replied to Joburgtaxi's topic in General & Support
Unfortunately it can't be done. Where is your problem exactly? I mean, what do you need that? If your problem is the ability for the pilot to login before he gets accepted, there is a solution for this. We can find alternatives too. -
First of all, are you able to send emails from "ceo@gulfjet.org" to the email you are expecting the emails from phpVMS?