10/02/2014, 19:13:21
Citation :#~~~~~ DEBUT BLOC A NE PAS SUPPRIMER ~~~~~
#~ Version du CMS: 1.11.10
#~ Url du site : http://webapps.ceck.org/
#~ Hébergeur / Soft : o2switch
#~ Informations Système :
#~~~~~ FIN BLOC A NE PAS SUPPRIMER ~~~~~
Bonjour,
J'ai installé le module Gbook en local pour me faire la main avec et j'ai une erreur lorsque je vais dans le backend :
Contenu > Livre d'or > Options
Erreur relevée :
Code :
[== PHP ==]
( ! ) SCREAM: Error suppression ignored for
( ! ) Notice: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 1 bytes in D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\function.admin_optionstab.php on line 16
Call Stack
# Time Memory Function Location
1 0,0009 733720 {main}( ) ..\moduleinterface.php:0
2 0,1831 15680680 CMSModule->DoActionBase( ) ..\moduleinterface.php:116
3 0,1833 15684488 CMSModule->DoAction( ) ..\class.CMSModule.php:1795
4 0,1839 15730528 include( 'D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\action.defaultadmin.php' ) ..\class.CMSModule.php:1727
5 0,7284 21600208 include( 'D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\function.admin_optionstab.php' ) ..\action.defaultadmin.php:93
6 0,7305 21676224 unserialize ( ) ..\function.admin_optionstab.php:16
Le script concerné est : function.admin_optionstab.php - ligne 16 :
Code :
[== PHP ==]
$selectedusers = (array)unserialize($this->GetPreference('send_notifications_to', ''));
J'ai également une erreur juste après la soumission d'un message (pourtant, le message est bien enregistré dans la bdd) :
Code :
[== PHP ==]
( ! ) Notice: unserialize() [<a href='function.unserialize'>function.unserialize</a>]: Error at offset 0 of 1 bytes in D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\action.form.php on line 92
Call Stack
# Time Memory Function Location
1 0,0018 855160 {main}( ) ..\index.php:0
2 0,1446 15998608 Smarty_CMS->fetch( ) ..\index.php:240
3 0,1447 16000024 Smarty_Internal_TemplateBase->fetch( ) ..\class.Smarty_CMS.php:326
4 0,1454 16074616 content_52f9015554b052_27008222( ) ..\smarty_internal_templatebase.php:182
5 0,2707 23621976 CMS_Content_Block::smarty_internal_fetch_contentblock( ) ..\80842882a27ae59cf6219909d3b41240ec259d78.tpl_body.31.php:63
6 0,2708 23623616 Smarty_CMS->fetch( ) ..\class.CMS_Content_Block.php:327
7 0,2709 23625112 Smarty_Internal_TemplateBase->fetch( ) ..\class.Smarty_CMS.php:326
8 0,2716 23685128 content_52f8f5c226ccb8_36890992( ) ..\smarty_internal_templatebase.php:182
9 0,2728 23830296 CMSModule::function_plugin( ) ..\65content_en^62e936251e4799749e89fa9828a0ee7332eb5816.content.content_en.php:31
10 0,2728 23830760 cms_module_plugin( ) ..\class.CMSModule.php:302
11 0,2748 23999280 CMSModule->DoActionBase( ) ..\module.functions.php:123
12 0,2755 24000776 CMSModule->DoAction( ) ..\class.CMSModule.php:1795
13 0,2764 24135256 include( 'D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\action.form.php' ) ..\class.CMSModule.php:1727
14 0,3147 24922256 unserialize ( ) ..\action.form.php:92
Code :
[== PHP ==]
( ! ) Notice: Trying to get property of non-object in D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\action.form.php on line 109
Call Stack
# Time Memory Function Location
1 0,0018 855160 {main}( ) ..\index.php:0
2 0,1446 15998608 Smarty_CMS->fetch( ) ..\index.php:240
3 0,1447 16000024 Smarty_Internal_TemplateBase->fetch( ) ..\class.Smarty_CMS.php:326
4 0,1454 16074616 content_52f9015554b052_27008222( ) ..\smarty_internal_templatebase.php:182
5 0,2707 23621976 CMS_Content_Block::smarty_internal_fetch_contentblock( ) ..\80842882a27ae59cf6219909d3b41240ec259d78.tpl_body.31.php:63
6 0,2708 23623616 Smarty_CMS->fetch( ) ..\class.CMS_Content_Block.php:327
7 0,2709 23625112 Smarty_Internal_TemplateBase->fetch( ) ..\class.Smarty_CMS.php:326
8 0,2716 23685128 content_52f8f5c226ccb8_36890992( ) ..\smarty_internal_templatebase.php:182
9 0,2728 23830296 CMSModule::function_plugin( ) ..\65content_en^62e936251e4799749e89fa9828a0ee7332eb5816.content.content_en.php:31
10 0,2728 23830760 cms_module_plugin( ) ..\class.CMSModule.php:302
11 0,2748 23999280 CMSModule->DoActionBase( ) ..\module.functions.php:123
12 0,2755 24000776 CMSModule->DoAction( ) ..\class.CMSModule.php:1795
13 0,2764 24135256 include( 'D:\wamp\www\EVAL\cms-made-simple\modules\Gbook\action.form.php' ) ..\class.CMSModule.php:1727
Les lignes concernées dans le script action.form.php :
Code :
[== PHP ==]
// action.form.php on line 92
$users = (array)unserialize($this->GetPreference('send_notifications_to'));
// action.form.php on line 109
$user_email = cmsms()->GetUserOperations()->LoadUserById($user)->email;
Quelqu'un aurait-il une idée là dessus ?
Merci.
Bonne journée
Christian
Proverbe indien : une once de pratique vaut mieux qu'une tonne de théorie.