Warning: include(../plugins/glossaire/conf_defaut2.inc): Failed to open stream: No such file or directory in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 29

Warning: include(): Failed opening '../plugins/glossaire/conf_defaut2.inc' for inclusion (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 29

Warning: Undefined variable $res_group in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 33

Warning: Trying to access array offset on value of type null in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 33

Warning: include(../plugins/glossaire/gloss_inc1.inc): Failed to open stream: No such file or directory in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 36

Warning: include(): Failed opening '../plugins/glossaire/gloss_inc1.inc' for inclusion (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 36

Warning: include(../plugins/glossaire/gloss_mob_inc2.inc): Failed to open stream: No such file or directory in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 37

Warning: include(): Failed opening '../plugins/glossaire/gloss_mob_inc2.inc' for inclusion (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/freeguppyorg/sites/ghc.freeguppy.org/mobile/inc/inchead/glossaire_mob.inc on line 37
GuppY Help Center

  Welcome 
GuppY 4.6.22 -Fonction glob() qui pose problème chez certains hébergeurs

Here's a way out of the trouble with function glob() with some hosters:

Edit the file inc/hpage.inc with an editor like notepad++ or at least windows notepad. Above all, do nor use word processors like Word or OpenOffice, and replace lines 238 à 258 included, which are :
 
Code : php
// CSS located in directory inc/csshead are automatically charged in part HEAD of the page
$allcss = glob(CHEMIN.'inc/csshead/*{.css,.css.php}', GLOB_BRACE);
if (FALSE !== $allcss) {
sort($allcss);
foreach ($allcss as $onecss) {
echo '
<link type="text/css" rel="stylesheet" href="../'.$onecss.'" />';
}
unset($allcss, $onecss);
}
// javascript located in directory inc/jshead are automatically charged in part HEAD of the page
$alljs = glob(CHEMIN.'inc/jshead/*{.js,.js.php}', GLOB_BRACE);
if (FALSE !== $alljs) {
sort($alljs);
foreach ($alljs as $onejs) {
echo '
<script language="javascript" type="text/javascript" src="../'.$onejs.'"></script>';
}
unset($alljs, $onejs);
}
 
by those lines:
 
Code : php
// CSS located in directory inc/csshead are automatically charged in part HEAD of the page
$dir = CHEMIN.'inc/csshead';
if (is_dir($dir)) {
$allcss = scandir($dir);
if (FALSE !== $allcss) {
sort($allcss);
foreach ($allcss as $onecss) {
$info = pathinfo($onecss);
if ($info['extension'] == 'css')
echo '
<link type="text/css" rel="stylesheet" href="../'.$dir.'/'.$onecss.'" />';
}
unset($allcss, $onecss);
}
}
// javascript located in directory inc/jshead are automatically charged in part HEAD of the page
$dir = CHEMIN.'inc/jshead';
if (is_dir($dir)) {
$alljs = scandir($dir);
if (FALSE !== $alljs) {
sort($alljs);
foreach ($alljs as $onejs) {
$info = pathinfo($onejs);
if ($info['extension'] == 'js')
echo '
<script language="javascript" type="text/javascript" src="../'.$dir.'/'.$onejs.'"></script>';
}
unset($alljs, $onejs);
}
}
 
  They are the only instances in GuppY 4.6.22 where the glob() function is used.

Those who have installed JeanMi's plugin jmForks, can refer to this article on his website if needed : http://www.jmmis.com/articles.php?lng=fr&pg=12479.
Please don't hesitate to post on his forum if in trouble with this plugin.The file inc/hpage.inc comes with his plugin.

ATTENTION, These instructions are only intended fot those who meet pronlemens with their hosters. Others can use 4.6.22 version as is.
Creation date : 09/01/2013 @ 13:39
Last update : 09/01/2013 @ 13:39
Category : Webhosting services issues
Page read 19500 times
Top

© 2004-2024

Document generated in 0.01 second