Erreur lorsque je lance theScrum

(8 posts) (4 voices)
  • Started 6 months ago by killpawns
  • Latest reply from wailianwqs
  1. killpawns
    Member

    Après avoir installé theSCRUM en suivant le guide d'installation, j’obtiens les erreurs suivantes :

    Fatal error: Uncaught exception 'Exception' with message 'Not logged in' in /homepages/0/d148666311/htdocs/scrum_sas/_classes/class_usermanagement.php:18 Stack trace: #0 /homepages/0/d148666311/htdocs/scrum_sas/_classes/classloader.php(41): UserManagement->__construct() #1 /homepages/0/d148666311/htdocs/scrum_sas/index.php(3): include_once('/homepages/0/d1...') #2 {main} thrown in /homepages/0/d148666311/htdocs/scrum_sas/_classes/class_usermanagement.php on line 18

    Voici mon fichier .htaccess

    RewriteEngine on
    RewriteBase /
    RewriteRule ^([a-z0-9_]*).php index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*) index.php?uri=$1

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    AuthType Basic
    AuthName "theSCRUM - Open source solution for agile teams"
    AuthUserFile /homepages/0/d148666311/htdocs/scrum_sas/.htpasswd
    Require valid-user

    et global :
    define('PATH_TO_ROOT', '/');

    L'adresse de mon site web est http://s148666328.onlinehome.fr/ qui est chez 1and1.fr

    Merci d'avance

    Posted 6 months ago #
  2. admin
    Key Master

    Bonjour,
    Pas d'idée comme ça - mais pour confirmer:

    Lorsque vous accéder à theSCRUM (j'ai essayé http://s148666328.onlinehome.fr/scrum_sas mais erreur 404), avez-vous une mire de login, vous demandant login/pass ?

    Si non, cela veut dire que les instructions d'authentification dans le .htaccess ne sont pas reconnues.

    Hope it helps,
    Nicolas

    Posted 6 months ago #
  3. killpawns
    Member

    En fait, j'ai réussi à régler le problème dans le fichier _classes/class_usermanagement.php
    Il suffit de remplacer par, en effet sur certain serveur la variable remote user n'existe pas elle est remplacer par redirect_remote_user:

    function __construct() {
    if (!isset($_SESSION['_auth_user'])) {
    if (isset($_SERVER['PHP_AUTH_USER']) || isset($_SERVER['REDIRECT_REMOTE_USER']|| isset($_SERVER['REMOTE_USER']))
    {
    if (isset($_SERVER['PHP_AUTH_USER'])) {
    $this->userlogin = $_SERVER['PHP_AUTH_USER'];
    }else if(isset($_SERVER['REDIRECT_REMOTE_USER'])) {
    $this->userlogin = $_SERVER['REDIRECT_REMOTE_USER'];
    }else {
    $this->userlogin = $_SERVER['REMOTE_USER'];
    }
    $U = new User($this->userlogin, true);
    unset($_SESSION['_auth_user']);
    $_SESSION['_auth_user'] = $U;
    }
    else {
    throw new Exception('Not logged in');
    }
    }
    }

    Posted 5 months ago #
  4. killpawns
    Member

    Il faut aussi appliquer la mise à jour 0.80 du SQL qui n'est pas effective dans le fichier sql d'installation.

    Posted 5 months ago #
  5. killpawns
    Member


    Posted 5 months ago #
  6. admin
    Key Master

    Merci killpawns.

    Je vais essayer de faire qqchose pour $_SERVER['REDIRECT_REMOTE_USER']; dans une prochaine version !

    Posted 5 months ago #
  7. become used to operating the item, it could be better Burberry Handbags Outlet
    to use the functions over time in short-term expeditions.Different Burberry Outlet
    unanticipated accidents may occur to a new scuba diver, particularly when Burberry Coats
    he is under water. One particular tip is not at all to panic in order to stay relaxed. Fear is actually a diver’s worst foe given that it can blur away superior common sense as well as coaching. Besides, an additional element that Burberry Outlet Store
    need to be checked every now and then may be the relaxed inhaling and exhaling of a diver. Panic can cause hyperventilation or a whole lot worse, quick ascent for the top could cause bubbles to form inside the body’s tissue that Burberry Bags Sale
    could result in lack of feeling, immobility, or loss of life.

    Posted 3 weeks ago #

Reply

You must log in to post.