Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter - French Community
#45

(This post was last modified: 08-28-2020, 09:43 AM by Tamer.)

Salut la compagnie !

Voilà plusieurs jours que j'essaye d'installer ci4 sur un raspberry, j'ai bien regardé la vidéo d'installation avec Composer.

Sauf qu'au bout d'un moment un problème apparait : avec la commande " php spark serve " j'obtiens l'adresse " localhost:8080 ", mais cette dernière ne mène à rien.

Et ça me parait logique puisque si je veux me rendre sur la page index.php de base d'apache je dois utiliser l'adresse ip de ma raspberry.

Donc, je me suis dit qu'en tapant dans l'url : 192.168.0.104/ci-install/public  il y avait potentiellement moyen de m'en sortir.

Hélas, je tombe sur une page blanche avec écrit dessus :

systemDirectory, '/ ') . '/bootstrap.php'; /* *--------------------------------------------------------------- * LAUNCH THE APPLICATION *--------------------------------------------------------------- * Now that everything is setup, it's time to actually fire * up the engines and make this app do its thang. */ $app->run();

Du coup je suis complétement largué, je ne savais même pas qu'un message comme ça était disponible (mais je me félicite un peu de l'avoir déniché)...

J'ai déjà vérifié mon /public/.htaccess et je ne pense pas manquer de permissions, autrement même l'index d'apache -qui est stocké dans le même répertoire que mon ci-install- ne serait pas visible, si je ne m'abuse.

Pour conclure j'ai trouvé un bout du message d'erreur qui apparait dans :

var/www/html/ci-install/public/index.php

Ce morceau là ---->      systemDirectory, '/ ') . '/bootstrap.php';    <-----  pour être plus précis.

Du coup j'ai essayé de remplacer le contenu de mon index.php par celui de ci4 trouvable sur Git, mais le message d'erreur, toujours sur cette même page blanche, devient :

systemDirectory, '\\/ ') . DIRECTORY_SEPARATOR . 'bootstrap.php'; $app = require realpath($bootstrap) ?: $bootstrap; /* *--------------------------------------------------------------- * LAUNCH THE APPLICATION *--------------------------------------------------------------- * Now that everything is setup, it's time to actually fire * up the engines and make this app do its thang. */ $app->run();

Suis-je fichu ?


--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
En fait le module php7.3 d'apache n'était pas activé
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
Reply


Messages In This Thread
CodeIgniter - French Community - by aurelien - 02-18-2015, 09:19 AM
RE: CodeIgniter - French Community - by AMFB - 03-18-2015, 02:13 PM
RE: CodeIgniter - French Community - by AMFB - 03-23-2015, 11:44 AM
RE: CodeIgniter - French Community - by aurelien - 04-01-2015, 02:32 AM
RE: CodeIgniter - French Community - by Andrew - 04-04-2015, 06:49 PM
RE: CodeIgniter - French Community - by aurelien - 04-07-2015, 04:03 AM
RE: CodeIgniter - French Community - by Wiloooo - 04-14-2015, 07:45 PM
RE: CodeIgniter - French Community - by aurelien - 04-17-2015, 02:59 AM
RE: CodeIgniter - French Community - by AMFB - 04-17-2015, 05:43 AM
RE: CodeIgniter - French Community - by keulu - 04-17-2015, 06:33 AM
RE: CodeIgniter - French Community - by Blair2004 - 06-10-2015, 06:18 PM
RE: CodeIgniter - French Community - by Wiloooo - 11-23-2017, 10:45 AM
RE: CodeIgniter - French Community - by Padawa - 05-01-2019, 01:27 PM
RE: CodeIgniter - French Community - by Padawa - 05-02-2019, 12:31 PM
RE: CodeIgniter - French Community - by Padawa - 05-03-2019, 06:09 AM
RE: CodeIgniter - French Community - by cedreek - 05-21-2019, 03:13 AM
RE: CodeIgniter - French Community - by Padawa - 09-17-2019, 10:23 AM
RE: CodeIgniter - French Community - by kris2 - 10-07-2019, 02:18 PM
RE: CodeIgniter - French Community - by PatMor - 12-21-2019, 11:32 PM
RE: CodeIgniter - French Community - by cseon - 12-23-2019, 03:00 AM
RE: CodeIgniter - French Community - by littlej - 01-18-2020, 04:15 PM
RE: CodeIgniter - French Community - by littlej - 01-21-2020, 11:02 AM
RE: CodeIgniter - French Community - by littlej - 01-21-2020, 11:55 PM
RE: CodeIgniter - French Community - by kris2 - 02-07-2020, 11:04 AM
RE: CodeIgniter - French Community - by Tamer - 08-28-2020, 06:33 AM
RE: CodeIgniter - French Community - by JustJohnQ - 12-05-2023, 11:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB