ldleman / yana-server

Interface PHP de domotique Y.A.N.A (You Are Not Alone)
http://projet.idleman.fr/yana
107 stars 59 forks source link

Problème installation "fraîche" sur RPI3 #283

Closed Pigloox closed 7 years ago

Pigloox commented 7 years ago

Bonjour,

Lors d'une toute nouvelle installation sur un RPI3 (Jessie Pixel) à partir de l'installateur, tout se passe bien, jusqu'au moment où l'on doit se connecter avec un navigateur.

J'ai ces alertes : Warning: include(classes/GPIO.class.php): failed to open stream: No such file or directory in /var/www/yana-server/install.php on line 16

Warning: include(): Failed opening 'classes/GPIO.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/yana-server/install.php on line 16

Fatal error: Class 'GPIO' not found in /var/www/yana-server/install.php on line 211

Est-ce une erreur de ma part ou un bug ?

Thetortuga commented 7 years ago

Bonjour,

Même problème de mon côté ! Sur une installation toute fraîche sur une RPI3.

Warning: include(classes/GPIO.class.php): failed to open stream: No such file or directory in /var/www/yana-server/install.php on line 16

Warning: include(): Failed opening 'classes/GPIO.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/yana-server/install.php on line 16

Fatal error: Class 'GPIO' not found in /var/www/yana-server/install.php on line 211

Merci de votre aide !

ldleman commented 7 years ago

Effectivement c'est ma faute, petite régression lors du dernier commit, pouvez vous réessayer ? :)

Pigloox commented 7 years ago

Merci de votre réactivité mais j'ai maintenant un autre problème, mon navigateur affiche ceci ;

Not Found

The requested URL /yana-server/ was not found on this server.

Apache/2.4.10 (Raspbian) Server at 192.168.1.27 Port 80

Et en supprimant Apache du RPI, voici ce que j'ai comme message :

Warning: require_once(/var/www/yana-serverclasses/Gpio.class.php): failed to open stream: No such file or directory in /var/www/yana-server/install.php on line 211

Fatal error: require_once(): Failed opening required '/var/www/yana-serverclasses/Gpio.class.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/yana-server/install.php on line 211

Pigloox commented 7 years ago

Pour moi, c'est fonctionnel, installation réussie Merci ;-)