Jump to content

Gofast77

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by Gofast77

  1. I send you an MP for ID's, if you done the debbug I will send the solution for others users...
  2. Do you want help me on Teamviewer session if you are able to ?
  3. Every modules in "public" or "connected" area are perfectly working... Only admin is down... I am running that version https://github.com/DavidJClark/phpvms_5.5.x I know it isn't the official version but can you help me ?
  4. Hello, I am doploying phpVMS on debian with php7 and nginx. When I access to admin all of admin modules aren't working because the ADMIN_PANEL constant define in /admin/index.php have not the correct value so the condition define in app.config.php for the modules path is false... Have you any solutions to fix the problem to have modules working fine in my admin ? Thanks
  5. No PHP error message displayed on webrowser page and no error log regarding this problem. I have made a lot of debug and test and the problem is bicoming form the ADMIN_PANEL constant. When I enter a module in parameters that constant is no longer defined. So my problem is why the constant is no longer defined ? I can not find why, can you help me to ?
  6. Hi, same problem for every modules except default module (Dashboard)
  7. I haven't error message (only "The module "bla-bla-bla" doesn't exist !" When I try to access to any module of admin side (every module are working on main side)). I try to modify index.php of admin directory and change MainController::RunAllActions() to MainController::Run() and its working I think The problem is due to the RunAllActions fonction but I cannot found errors... For information I have sale version on localhost with php7 and Apache (on the remote server its nginx... It is the problem ?) and its working... Another information I have SSL certificat on my remote server...
  8. I tried your version simpilot (https://github.com/D...rk/phpvms_5.5.x), the same, I also tried to upload again the admin folder but the same... Do you have any suggestion or solution to fix it ?
  9. I have a server with Nginx and PHP7 (I won't change my server config because it is the fastest actually). When I try to install phpVMS, public and pilot's parts are working but admin part isn't working (all admin modules are not found) do you have any solution ? For informations I am running phpVMS-master from git...
  10. And for the notification number on the dashboard ?
  11. Hi, Today I would like make an little modification to the script : I would like enable PIREP validation only for the other pilots reports (so the validator can't validate his reports). Is it possible ? Kind regards, Gofast
  12. Hi all, Today I would like change the ICAO code of an VA... Can you help me ? Regards
  13. Hi, Can I've an other link because this : http://www.litfuel.n...als/bitwise.htm is dead... Thanks
  14. Hi all, Is it possible to create another staff position in the exam center to be able to assign several per person that they can be displayed on the public profile (if a member is examiner and validator is displayed examiner and validator on his profile) ?
  15. Yes, but no. I would like make this idea with an thing as : if the group id is => we display staff membre else nothing.
  16. I mean : you just installed. Yes I think is a good idea but create an safeguard.
  17. Hi, Your phpVMS is an fresh install ? If no I think there is a problem with the SQL request...
  18. Because I'am very serious with this (the award is not for this), so I would like make the idea (in first message) If it helps you, I have the vStaff module...
  19. So how to have the correct number ?
  20. Hi all, Today, I would like display (on the public profil of my VA members) if they are staff or not, let me explain... If a membre is a staff I would like add an word (staff) on his profil and if not nothing. Thank's
  21. Hi, I know it's been a while but thats finally work, thank you very much.
  22. Hello, I would like separate hours and minutes in "0.0" (total hours of pilot). I would like this format : "X Hours and X Minutes". Thanks Gofast
  23. public static function updateRank($rankid, $title, $minhours, $imageurl, $conditions, $description, $payrate, $exams, $briefing) { $minhours = intval($minhours); $payrate = floatval($payrate); $sql = "UPDATE `".TABLE_PREFIX."ranks` SET `rank`='$title', `rankimage`='$imageurl', `minhours`='$minhours', `conditions`='$conditions', `description`='$description', `payrate`='$payrate', `exams`='$exams', `briefing`='$briefing' WHERE `rankid`='$rankid'"; $res = DB::query($sql); if(DB::errno() != 0) return false; CodonCache::delete('all_ranks'); self::CalculatePilotRanks(); return true; }
  24. That's it, thanks. I wanted to add one final fields and I have this error : Error updating the rank: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't fly without the presence of an instructor.', `payrate`='25', `exams`='-', `bri' at line 2
  25. Excuse me I have two website (one in French and one in English, I confused the two). The SQL error exists more but the other if and when I change, there is nothing changes...
×
×
  • Create New...