Fork me on GitHub




« 1 ... 5 6 7 (8) 9 10 11 ... 14 »


Re: Mastop Go2 veut pas marcher
Admin Frxoops
Inscrit: 04/03/2011 09:10
De Lot
Messages: 2837
Citation :

Si j'active le spotlight sur ma page forum par exemple (pour que ça me plante pas tout le site !), j'ai une page blanche.


As-tu penser à insérer les lignes de codes fournis tantôt pour l'affichage des erreurs (a mettre au début de la page que tu appelles) ?

Une page blanche ressemble à erreur fatale de PHP.
Donc un conflit entre les modules par exemples (fonctions identiques, ...) ou problème de chemin pour accéder aux fichiers du module (le bloc ne fonctionne qu'à la racine du site)

Il n'y a jamais de page blanche, (sauf si c'est voulu) mais sous Xoops tu as au moins le thème graphique (sauf erreurs fatales de PHP qui arrête l'exécution du script)

Posté le : 07/11/2014 12:27
Partager Twitter Partagez cette article sur GG+
Re: Mastop Go2 veut pas marcher
Semi pro
Inscrit: 09/03/2003 23:29
Messages: 800
peux tu me rappeller les lignes de code pour erreur fatale à mettre avant?

Non j'ai bien une page blanche complète, et non mon theme avec dublanc dedans... lol!


Merci

Celine

Posté le : 07/11/2014 13:19
Partager Twitter Partagez cette article sur GG+
Re: Mastop Go2 veut pas marcher
Admin Frxoops
Inscrit: 04/03/2011 09:10
De Lot
Messages: 2837
if (PHP_VERSION_ID 50400error_reporting (E_ALL E_STRICT);
else 
error_reporting (E_ALL); //filtrage des erreurs reportées
ini_set('display_errors'true); //affichage des erreurs
ini_set('html_errors'false); //désactivation des liens html dans les erreurs
ini_set('display_startup_errors',true); //affichage des erreurs de démarrage
ini_set('log_errors'false); //création d'un fichier de log
ini_set('error_prepend_string','<span="color: red;">'); //début mise en forme erreur
ini_set('error_append_string','<br /></span>'); //fin mise en forme erreur
ini_set('ignore_repeated_errors'true); //ignorer les erreurs répétées

Posté le : 07/11/2014 14:01
Partager Twitter Partagez cette article sur GG+
Re: Mastop Go2 veut pas marcher
Semi pro
Inscrit: 09/03/2003 23:29
Messages: 800
Je comprends pas,

je d'onc mis ca dans le fichier :

<?php
if (PHP_VERSION_ID < 50400) error_reporting (E_ALL | E_STRICT);
else error_reporting (E_ALL); //filtrage des erreurs reportées
ini_set('display_errors', true); //affichage des erreurs
ini_set('html_errors', false); //désactivation des liens html dans les erreurs
ini_set('display_startup_errors',true); //affichage des erreurs de démarrage
ini_set('log_errors', false); //création d'un fichier de log
ini_set('error_prepend_string','<span="color: red;">'); //début mise en forme erreur
ini_set('error_append_string','<br /></span>'); //fin mise en forme erreur
ini_set('ignore_repeated_errors', true); //ignorer les erreurs répétées


var_dump('toto');


### =============================================================
### Mastop InfoDigital - Paixão por Internet
### =============================================================
### Formulário Gerador de Código para Destaques
### =============================================================
### Developer: Fernando Santos (topet05), fernando@mastop.com.br
### Copyright: Mastop InfoDigital © 2003-2007
### -------------------------------------------------------------
### www.mastop.com.br
### =============================================================
### $Id: generator.form.inc.php 8102 2011-11-06 12:19:15Z beckmi $
### =============================================================
include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php';
$picker_url = XOOPS_URL.'/modules/'.MGO_MOD_DIR.'/admin/color_picker';
echo '
<style type="text/css">
<!--



Maj du module...

et j'ai toujours ma page blanche !


Merci

Celine

Posté le : 07/11/2014 14:12
Partager Twitter Partagez cette article sur GG+
Re: Mastop Go2 veut pas marcher
Admin Frxoops
Inscrit: 04/03/2011 09:10
De Lot
Messages: 2837
tu dois mettre le code dans la page que tu appelles, tu me parlais d'une page du forum où se trouvait ton bloc. C'est dans cette page que tu doit mettre le morceau de code ci-dessus.

Posté le : 07/11/2014 14:22
Partager Twitter Partagez cette article sur GG+
Re: Mastop Go2 veut pas marcher
Semi pro
Inscrit: 09/03/2003 23:29
Messages: 800
ah, je croyais qu'il fallait le mettre dans le fichier "generator.form.inc" quetu avais cité.


Vais voir pour l'index du forum alors ?


Mais si je veux que le spotlight apparaisse sur toutes les pages du site, par ex ? (dans les options du bloc)


quel fichier modifier alors, le theme.php ?


Posté le : 07/11/2014 15:22
Partager Twitter Partagez cette article sur GG+
Re: Mastop Go2 veut pas marcher
Semi pro
Inscrit: 09/03/2003 23:29
Messages: 800
J'ai enfin des messages d'erreur sur ma page index du forum !!! :


string(4) "toto" Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/touslesd/www/include/common.php on line 49
Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/touslesd/www/class/xoopsload.php on line 71
Strict Standards: Non-static method XoopsLoad::loadCoreConfig() should not be called statically in /home/touslesd/www/class/xoopsload.php on line 91
Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/touslesd/www/class/preload.php on line 28
Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/touslesd/www/class/xoopsload.php on line 71
Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/touslesd/www/class/preload.php on line 29
Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/touslesd/www/class/xoopsload.php on line 71
Strict Standards: Non-static method XoopsPreload::getInstance() should not be called statically in /home/touslesd/www/include/common.php on line 50
Strict Standards: Non-static method XoopsCache::read() should not be called statically, assuming $this from incompatible context in /home/touslesd/www/class/preload.php on line 85
Strict Standards: Non-static method XoopsCache::getInstance() should not be called statically, assuming $this from incompatible context in /home/touslesd/www/class/cache/xoopscache.php on line 263
Strict Standards: Declaration of XoopsCacheFile::write() should be compatible with that of XoopsCacheEngine::write() in /home/touslesd/www/class/cache/file.php on line 308
Strict Standards: Declaration of XoopsCacheFile::clear() should be compatible with that of XoopsCacheEngine::clear() in /home/touslesd/www/class/cache/file.php on line 308
Strict Standards: Non-static method XoopsLoad::load() should not be called statically, assuming $this from incompatible context in /home/touslesd/www/class/cache/file.php on line 110
Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically, assuming $this from incompatible context in /home/touslesd/www/class/xoopsload.php on line 71
Strict Standards: Non-static method XoopsFile::getHandler() should not be called statically, assuming $this from incompatible context in /home/touslesd/www/class/cache/file.php on line 111
Strict Standards: Non-static method XoopsFile::load() should not be called statically, assuming $this from incompatible context in /home/touslesd/www/class/file/xoopsfile.php on line 108
Strict Standards: Non-static method XoopsLoad::load() should not be called statically, assuming $this from incompatible context in /home/touslesd/www/class/file/file.php on line 105
Strict Standards: Non-static method XoopsFile::getHandler() should not be called statically, assuming $this from incompatible context in /home/touslesd/www/class/file/file.php on line 106
Strict Standards: Non-static method XoopsFile::load() should not be called statically, assuming $this from incompatible context in /home/touslesd/www/class/file/xoopsfile.php on line 108
Strict Standards: Non-static method XoopsLists::getFileListAsArray() should not be called statically, assuming $this from incompatible context in /home/touslesd/www/class/preload.php on line 89
Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/touslesd/www/include/common.php on line 60
Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/touslesd/www/class/xoopsload.php on line 71
Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/touslesd/www/include/common.php on line 68
Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/touslesd/www/class/xoopsload.php on line 71
Strict Standards: Non-static method XoopsLoad::load() should not be called statically in /home/touslesd/www/include/common.php on line 75
Strict Standards: Non-static method XoopsLoad::loadCore() should not be called statically in /home/touslesd/www/class/xoopsload.php on line 71
Strict Standards: Non-static method XoopsLogger::getInstance() should not be called statically in /home/touslesd/www/include/common.php on line 76



Donc si tu peux m'aider, merci beaucoup

Celine

Posté le : 07/11/2014 15:27
Partager Twitter Partagez cette article sur GG+
Re: Mastop Go2 veut pas marcher
Admin Frxoops
Inscrit: 04/03/2011 09:10
De Lot
Messages: 2837
Déjà, tu as une incompatibilité entre Xoops (ou le module) et ta version de PHP.
Peux tu m'indiquer :
- la version de PHP
- la version de Xoops
- le nom et la version du module pour ton forum

Posté le : 07/11/2014 19:26
Partager Twitter Partagez cette article sur GG+
Re: Mastop Go2 veut pas marcher
Semi pro
Inscrit: 09/03/2003 23:29
Messages: 800
Ppour xoops c'est 2.5.5

Pour php, je neme rappelle pas enore, comment savoir.

Pour le forum, c'est newsbb :

$modversion['name'] = _MI_NEWBB_NAME;
$modversion['version'] = 3.08;



Ca va être embêtant, car que ça faisait aussi la page blanche (dont la page d'accueil) que je gère avec le module news :

$modversion['name'] = _MI_NEWS_NAME;
$modversion['version'] = 1.68;



Merci


Celine

Posté le : 07/11/2014 19:54
Partager Twitter Partagez cette article sur GG+
Re: Mastop Go2 veut pas marcher
Admin Frxoops
Inscrit: 04/03/2011 09:10
De Lot
Messages: 2837
Pour PHP, tu créé un fichier avec
<?php
phpinfo
();


Posté le : 07/11/2014 20:01
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant
« 1 ... 5 6 7 (8) 9 10 11 ... 14 »



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

68 Personne(s) en ligne (52 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 68 | Plus ...