Jump to content

Gofast77

Members
  • Posts

    37
  • Joined

  • Last visited

Posts posted by Gofast77

  1. 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

  2. Pull the server php error log and see what is there, activate the phpVMS error debugging functions and see what shows up there.

    http://forum.phpvms....ging-issues-r31

    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 ?

  3. 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...

  4. 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...

  5. 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;
     }
    

×
×
  • Create New...