Forum - GuppY 6 - guppy60002 en local avec apache sous linux mint base ubuntu.
GuppY 6.00.02 Système d'exploitation du serveur : Linux 4.19.0-14-amd64 PHP : 7.4.15 / MET=60 - ML=70M - UMF=1024M - PMS=1025M - MFU=20 URL du site : https://esperanto-tours.legtux.org/ Plugins : Horloge, Devinette, Vitesse de Connexion, TranslatorBox[1.6.0] UA: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0
Bonjour,
Mon site tourne bien en ligne mais je voulais le faire marcher en local pour faire divers essais sans perturber le site en ligne. Comme guppy60000 marchait bien en local après la migration, je ne pensais pas avoir de problèmes. Mais en fait, j'en ai ; au lieu de la page d'accueil, voilà ce que j'ai :
'; foreach ($xposbox[BOX_EDITO][BOX_LEFT] as $i => $a) { $item4 = ExecFunctionBox(BOX_EDITO, $xposbox[BOX_EDITO][BOX_LSIDE][$i]); $item1 = ExecFunctionBox(BOX_EDITO, $xposbox[BOX_EDITO][BOX_LEFT][$i]); $item2 = ExecFunctionBox(BOX_EDITO, $xposbox[BOX_EDITO][BOX_CENTER][$i]); $item3 = ExecFunctionBox(BOX_EDITO, $xposbox[BOX_EDITO][BOX_RIGHT][$i]); $item5 = ExecFunctionBox(BOX_EDITO, $xposbox[BOX_EDITO][BOX_RSIDE][$i]); if ($item4 || $item1 || $item2 || $item3 || $item5) { $w3 = (int)$wposbox[BOX_EDITO][BOX_LSIDE][$i]; $w0 = (int)$wposbox[BOX_EDITO][BOX_LEFT][$i]; $w1 = (int)$wposbox[BOX_EDITO][BOX_CENTER][$i]; $w2 = (int)$wposbox[BOX_EDITO][BOX_RIGHT][$i]; $w4 = (int)$wposbox[BOX_EDITO][BOX_RSIDE][$i]; $sfix = BOX_EDITO.'0'.$i; $wcol3 = 'col-md-'.($item4 === false ? '0' : $w3).' mx-0 px-'.($item4 === false ? '0' : '2').' wcol3'.$sfix; $wcol0 = 'col-md-'.($item1 === false ? '0' : $w0).' mx-0 px-'.($item1 === false ? '0' : '2').' wcol0'.$sfix; $wcol1 = 'col-md-'.($item2 === false ? '0' : $w1).' mx-0 px-'.($item2 === false ? '0' : '2').' wcol1'.$sfix; $wcol2 = 'col-md-'.($item3 === false ? '0' : $w2).' mx-0 px-'.($item3 === false ? '0' : '2').' wcol2'.$sfix; $wcol4 = 'col-md-'.($item5 === false ? '0' : $w4).' mx-0 px-'.($item5 === false ? '0' : '2').' wcol4'.$sfix; echo ''; include 'inc/bpage.inc'; if (empty(trim($serviz[31])) && is_file(CHEMIN.'install/install.php')) @include CHEMIN.'install/init.inc'; ?>
Pourtant, comme vous l'aviez recommandé lors de la migration, j'ai renommé les deux htaccess et modifié le config.inc.
Si vous aviez une petite idée, ça m'aiderait beaucoup car j'avoue que je suis bloqué. Bien cordialement. Jean-Mary
Bonjour,
ce que j'ai mis dans mon message précédent est la page obtenue avec firefox. Je vous met ci dessous la page obtenu avec opera, un peu plus explicite :
<?php /******************************************************************************* * Home page ******************************************************************************* * GuppY PHP Script - version 6.0 * CeCILL Copyright (C) 2004-2020 by Laurent Duveau * Initiated by Laurent Duveau and Nicolas Alves * Web site = https://www.freeguppy.org/ * e-mail = guppy@freeguppy.org * V6 developed by Lud Bienaimé * with the participation of the GuppY Team ******************************************************************************* * Latest Changes : * v6.00.00 (December 15, 2020) : initial release ******************************************************************************/ header('Pragma: no-cache'); define('CHEMIN', ''); include CHEMIN.'inc/includes.inc'; $widepage = 'on' == $serviz[74]; $topmess = ''; $pgtype = 5; $tconfig = 0; include 'inc/hpage.inc'; echo ' '; foreach ($xposbox[BOX_EDITO][BOX_LEFT] as $i => $a) { $item4 = ExecFunctionBox(BOX_EDITO, $xposbox[BOX_EDITO][BOX_LSIDE][$i]); $item1 = ExecFunctionBox(BOX_EDITO, $xposbox[BOX_EDITO][BOX_LEFT][$i]); $item2 = ExecFunctionBox(BOX_EDITO, $xposbox[BOX_EDITO][BOX_CENTER][$i]); $item3 = ExecFunctionBox(BOX_EDITO, $xposbox[BOX_EDITO][BOX_RIGHT][$i]); $item5 = ExecFunctionBox(BOX_EDITO, $xposbox[BOX_EDITO][BOX_RSIDE][$i]); if ($item4 || $item1 || $item2 || $item3 || $item5) { $w3 = (int)$wposbox[BOX_EDITO][BOX_LSIDE][$i]; $w0 = (int)$wposbox[BOX_EDITO][BOX_LEFT][$i]; $w1 = (int)$wposbox[BOX_EDITO][BOX_CENTER][$i]; $w2 = (int)$wposbox[BOX_EDITO][BOX_RIGHT][$i]; $w4 = (int)$wposbox[BOX_EDITO][BOX_RSIDE][$i]; $sfix = BOX_EDITO.'0'.$i; $wcol3 = 'col-md-'.($item4 === false ? '0' : $w3).' mx-0 px-'.($item4 === false ? '0' : '2').' wcol3'.$sfix; $wcol0 = 'col-md-'.($item1 === false ? '0' : $w0).' mx-0 px-'.($item1 === false ? '0' : '2').' wcol0'.$sfix; $wcol1 = 'col-md-'.($item2 === false ? '0' : $w1).' mx-0 px-'.($item2 === false ? '0' : '2').' wcol1'.$sfix; $wcol2 = 'col-md-'.($item3 === false ? '0' : $w2).' mx-0 px-'.($item3 === false ? '0' : '2').' wcol2'.$sfix; $wcol4 = 'col-md-'.($item5 === false ? '0' : $w4).' mx-0 px-'.($item5 === false ? '0' : '2').' wcol4'.$sfix; echo '