Jump to content

servetas

Moderators
  • Posts

    1726
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by servetas

  1. It seems to me like a database connection problem. Did the database exists? Is the database user and its password valid? Does the database user have permissions for your systems database?
  2. In most cases, both variables are workable. I do not know what happens with captcha but the data on the 5.5 version are parsed through two different variables. The problem if mainly when using a template for phpVMS 5.5 on an older phpVMS version. Then you would need to change the variables.
  3. It should be on your lib/skins/mod1 folder.
  4. There are two different versions of phpVMS in public. The first version is using .tpl on its template file extensions while the second one (which is the latest and currently in development) is using .php on its template file extensions. The first version is compatible with PHP 5.3 while the second one (as it is currently in development) is compatible with PHP 5.5 and so one. If you are starting your virtual airline now, it is suggested to download the latest version which can be found here. Bare in mind that some templates/modules are not compatible with this version. If you find any issues, get in touch with the developer and in most cases he will be able to assist you although the changes between the two versions are minor. If you wish to make a template compatible, just change it's files extentions from .tpl (which was used on the latest version) to .php and everything should work fine.
  5. Your pilots roster can be found here: http://armedforcesvirtual.us/index.php/pilots What is your problem exactly?
  6. If this problem does not get resolved, you will not be able to use any other template. You are not even able to access the admin because it returns other errors too. Please check your PM.
  7. JFI, this is the correct url. Waiting for the result
  8. Try redownloading phpVMS from github and reuploading the website on your server.
  9. What is your website url?
  10. There are two options in that case. As soon as the user submit a password request, an email will be send with a confirmation link in order to proceed with the password update. After the use of this email, a random password can be either send to the user via email or a password update form will be shown. Alternatively, security questions can be implemented which adds much more security to the system and ensure that even if the hacker has access to the user's email, he will not be able to access the website.
  11. Unfortunately phpVMS does not support that option. You can only set a specific value per passenger.
  12. Hello, Search the forum. It has been already replied hundreds of times...
  13. Hello, What system do you use for the jumpseat option? How many schedules do you have? What cronjob are you trying to add? What is your website url?
  14. Topic locked Discussion is being continued here.
  15. JFI, ensure that the mysql and php versions are equal on both old and new web hosting provider. You new web hosting provider might have a latest php version installed on your web hosting plan and this might affect your phpVMS.
  16. Following the following steps and you should be able to transfer phpVMS. 1. Download the phpVMS from the old web hosting provider using ftp or the panel they offer to you if it offers a file manager. 2. Export the database from the old web hosting provider (probably using phpmyadmin). 3. Login to your new web hosting provider cpanel. 4. Upload the phpVMS files using ftp or cpanel's file manager. 5. Go to Mysql Database Wizard and create a new database. Create the database, create the user of the database and add the required permissions to the user over the database. Most users forget or miss to add the required permissions. http://prnt.sc/b06nlm Just select "All Priviledges". 6. Go to the phpVMS files on the new server and navigate to core. Open local.config.php file and find the following settings: define('DBASE_USER', 'the-database-user-name'); define('DBASE_PASS', 'the-database-user-password'); define('DBASE_NAME', 'the-database-name'); define('DBASE_SERVER', 'localhost'); define('DBASE_TYPE', 'mysql'); define('TABLE_PREFIX', 'do-not-edit-this-leave-it-as-it-is-on-your-current-phpvms'); define('SITE_URL', 'the-new-phpvms-url-if-it-has-changed-after-the-web-hosting-provider-change'); I hope that you will manage to transfer it.
  17. Do you mean the favicon? Which template are you using?
  18. servetas

    PHP 5.5

    Add it on your local.config.php file.
  19. Ok, this version of phpVMS is not compatible with the PHP version which is installed on your server. Try downloading phpVMS via here.
  20. Where did you download this version from? Before making the last upload, did you try to re download it in case there are any corrupted files?
  21. Use this: <?php class CreditsData extends CodonData { public static function get_credit($id) { $query = "SELECT * FROM ".TABLE_PREFIX."credits WHERE id=$id"; return DB::get_row($query); } public static function get_all_credits() { $query = "SELECT * FROM ".TABLE_PREFIX."credits ORDER BY name DESC"; return DB::get_results($query); } public static function get_active_credits() { $query = "SELECT * FROM ".TABLE_PREFIX."credits WHERE active = '1' ORDER BY name DESC"; return DB::get_results($query); } public static function save_new_credit($name, $description, $image, $link, $active) { $query = "INSERT INTO ".TABLE_PREFIX."credits (name, description, image, link, active) VALUES('$name', '$description', '$image', '$link', '$active')"; DB::query($query); } public static function save_edit_credit($name, $description, $image, $link, $active, $id) { $query = "UPDATE ".TABLE_PREFIX."credits SET name='$name', description='$description', link='$link', image='$image', active='$active' WHERE id='$id'"; DB::query($query); } public static function delete_credit($id) { $query = "DELETE FROM ".TABLE_PREFIX."credits WHERE id='$id'"; DB::query($query); } }
  22. Open your core/common/CreditsData.class.php file and where: public function replace with: public static function
  23. Go to the admin center->general settings and press "Save Settings". Which template were you using? Try to change back to crystal and check if the template is shown now.
  24. Open your core/local.config.php file. How the file starts? Are there any characters before the <?php open tag?
×
×
  • Create New...