Sujet fermé
Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5

RESOLU - CGblog - Default plugin handler
#1

Citation :#~~~~~ DEBUT BLOC A NE PAS SUPPRIMER ~~~~~
#~ Version du CMS: 1.12.x
#~ Url du site : http://s610266733.onlinehome.fr/cms_12
#~ Hébergeur / Soft : 1and1
#~ Informations Système :
#~ ----------------------------------------------
#~ Cms Version: 1.12.1
#~ Installed Modules:
#~ CMSMailer: 5.2.2
#~ CMSPrinting: 1.0.5
#~ FileManager: 1.4.5
#~ MenuManager: 1.8.6
#~ MicroTiny: 1.2.9
#~ ModuleManager: 1.5.8
#~ News: 2.15.1
#~ Search: 1.7.12
#~ ThemeManager: 1.1.8
#~ CGSimpleSmarty: 1.9.1
#~ CGExtensions: 1.49.11
#~ JQueryTools: 1.3.7
#~ Gallery: 2.1
#~ FormBuilder: 0.8.1.3
#~ GBFilePicker: 1.3.3
#~ ECB: 1.6
#~ CGGoogleMaps2: 0.99.1
#~ CGSmartImage: 1.20.5
#~ CGBlog: 1.12.10
#~ FrontEndUsers: 1.30.6
#~ CustomContent: 1.10
#~ Config Information:
#~ php_memory_limit:
#~ process_whole_template:
#~ max_upload_size: 40000000
#~ url_rewriting: none
#~ page_extension:
#~ query_var: page
#~ image_manipulation_prog: GD
#~ auto_alias_content: true
#~ locale:
#~ default_encoding: utf-8
#~ admin_encoding: utf-8
#~ set_names: true
#~ Php Information:
#~ phpversion: 5.6.15
#~ md5_function: On (Vrai)
#~ gd_version: 2
#~ tempnam_function: On (Vrai)
#~ magic_quotes_runtime: Off (Faux)
#~ E_STRICT: 0
#~ E_DEPRECATED: 0
#~ memory_limit: 120M
#~ max_execution_time: 50000
#~ output_buffering: 0
#~ safe_mode: Off (Faux)
#~ file_uploads: On (Vrai)
#~ post_max_size: 8M
#~ upload_max_filesize: 40M
#~ session_save_path: /tmp (1777)
#~ session_use_cookies: On (Vrai)
#~ xml_function: On (Vrai)
#~ xmlreader_class: On (Vrai)
#~ Server Information:
#~ Server Api: cgi-fcgi
#~ Server Db Type: MySQL (mysqli)
#~ Server Db Version: 5.5.46
#~ Server Db Grants: Trouvé un privilège "GRANT ALL" qui semble être adapté
#~ Server Time Diff: Aucune différence de date du système de fichiers trouvées
#~ ----------------------------------------------
#~~~~~ FIN BLOC A NE PAS SUPPRIMER ~~~~~

Bonjour,

J'ai une erreur sur un des gabarits de mon site en cours de développement.
Je ne suis pas en version 2 de cms car je suis parti d'un tpl qui n'est pas compatible -pour l'instant.
Voici l'erreur :
"Syntax error in template "tpl_body:29" on line 443 "{CGBlog summarytemplate="blogSummaryHome" number="3" detailpage="{if isset($blog_page)}{$blog_page}{/if}"}" Default plugin handler: Returned callback for "CGBlog" not callable"

J'ai désinstallé le module, puis réinstallé.
Est ce que cela pourrait venir d'un probleme de mémoire serveur?
J'ai aussi supprimer le cache...mais rien ne change
Pour info j'ai déjà développer le site sur un serveur 1and1 et j'étais actuellement en train d'effectuer le transfert sur un autre serveur .


Pour info voici la full trace :

#0 /homepages/24/d610266730/htdocs/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(712): Smarty_Internal_TemplateCompilerBase->trigger_template_error('Default plugin ...')
#1 /homepages/24/d610266730/htdocs/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(457): Smarty_Internal_TemplateCompilerBase->getPluginFromDefaultHandler('CGBlog', 'function')
#2 /homepages/24/d610266730/htdocs/lib/smarty/libs/sysplugins/smarty_internal_templateparser.php(2383): Smarty_Internal_TemplateCompilerBase->compileTag('CGBlog', Array)
#3 /homepages/24/d610266730/htdocs/lib/smarty/libs/sysplugins/smarty_internal_templateparser.php(3093): Smarty_Internal_Templateparser->yy_r37()
#4 /homepages/24/d610266730/htdocs/lib/smarty/libs/sysplugins/smarty_internal_templateparser.php(3191): Smarty_Internal_Templateparser->yy_reduce(37)
#5 /homepages/24/d610266730/htdocs/lib/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(111): Smarty_Internal_Templateparser->doParse(3, '}')
#6 /homepages/24/d610266730/htdocs/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(273): Smarty_Internal_SmartyTemplateCompiler->doCompile('\r\n <body class...')
#7 /homepages/24/d610266730/htdocs/lib/smarty/libs/sysplugins/smarty_internal_template.php(186): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template))
#8 /homepages/24/d610266730/htdocs/lib/smarty/libs/sysplugins/smarty_internal_templatebase.php(149): Smarty_Internal_Template->compileTemplateSource()
#9 /homepages/24/d610266730/htdocs/lib/classes/class.Smarty_CMS.php(337): Smarty_Internal_TemplateBase->fetch('tpl_body:29', 'p15', NULL, NULL, false, false, false)
#10 /homepages/24/d610266730/htdocs/index.php(243): Smarty_CMS->fetch('tpl_body:29')
#11 {main}



merci de votre aide
#2

Et voici ma page d'admin de cgblog avec le mode debug activé :

Notice: Module CGBlog not found in memory. This could indicate that the module is in need of upgrade or that there are other problems in /homepages/24/d610266730/htdocs/cms_12/admin/moduleinterface.php on line 62
Debug is on. Redirecting disabled... Please click this link to continue.
http://s610266733.onlinehome.fr/cms_12/a...d63ffd671b
Debug: (4.0999999999958E-5) - (usage: 471216) - (peak: 477360)
done loading required files
Debug: (0.00042900000000001) - (usage: 481116) - (peak: 493084)
loading adodb
Debug: (0.001714) - (usage: 525124) - (peak: 539232)
loading page functions
Debug: (0.003397) - (usage: 592528) - (peak: 627200)
loading content functions
Debug: (0.003611) - (usage: 597100) - (peak: 627200)
loading translation functions
Debug: (0.0038589999999999) - (usage: 603376) - (peak: 627200)
loading php4 entity decode functions
Debug: (0.005594) - (usage: 720148) - (peak: 781220)
done loading files
Debug: (0.005638) - (usage: 720404) - (peak: 781220)
Initialize Database
Debug: (0.015178) - (usage: 1112528) - (peak: 1123236)
(mysqli): SET NAMES 'utf8'
Debug: (0.015239) - (usage: 1112036) - (peak: 1137760)
Done Initializing Database
Debug: (0.015642) - (usage: 1113176) - (peak: 1137760)
(mysqli): SELECT version from avantages_version LIMIT 1
Debug: (0.015734) - (usage: 1113024) - (peak: 1138184)
Initialize Smarty
Debug: (0.026601) - (usage: 1731528) - (peak: 1734792)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.Smarty_CMS.php = 617300 bytes for an approximate total of 617300
Debug: (0.027285) - (usage: 1771352) - (peak: 1774980)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.CMSModuleDbTemplateResource.php = 34692 bytes for an approximate total of 651992
Debug: (0.027703) - (usage: 1789348) - (peak: 1795000)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.CMSPageTemplateResource.php = 17524 bytes for an approximate total of 669516
Debug: (0.028272) - (usage: 1811520) - (peak: 1819080)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.usertagoperations.inc.php = 21460 bytes for an approximate total of 690976
Debug: (0.028685) - (usage: 1811824) - (peak: 1833036)
(mysqli): SELECT * FROM avantages_userplugins ORDER BY userplugin_name
Debug: (0.029052) - (usage: 1824828) - (peak: 1833780)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.cms_siteprefs.php = 10196 bytes for an approximate total of 701172
Debug: (0.030435) - (usage: 1827576) - (peak: 1846648)
(mysqli): SELECT sitepref_name,sitepref_value FROM avantages_siteprefs
Debug: (0.031548) - (usage: 1924572) - (peak: 1997124)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.CMSNullTemplateResource.php = 8284 bytes for an approximate total of 709456
Debug: (0.031616) - (usage: 1924268) - (peak: 2011668)
Done Initialiing Smarty
Debug display of 'Loading Modules'Sad0.031677) - (usage: 1924560) - (peak: 2011668)
Debug: (0.034109) - (usage: 2046028) - (peak: 2115568)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.moduleoperations.inc.php = 120580 bytes for an approximate total of 830036
Debug: (0.034578) - (usage: 2047128) - (peak: 2128440)
(mysqli): SELECT * FROM avantages_modules ORDER BY module_name
Debug: (0.035032) - (usage: 2072956) - (peak: 2141412)
loading module CGExtensions
Debug: (0.041661) - (usage: 2513424) - (peak: 2556636)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.CMSModule.php = 251564 bytes for an approximate total of 1081600
Debug: (0.04233) - (usage: 2571364) - (peak: 2646812)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.CmsLangOperations.php = 21328 bytes for an approximate total of 1102928
Debug: (0.043026) - (usage: 2603972) - (peak: 2646812)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.CmsNlsOperations.php = 32192 bytes for an approximate total of 1135120
Debug: (0.04378) - (usage: 2629064) - (peak: 2672816)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.CmsNls.php = 15776 bytes for an approximate total of 1150896
Debug: (0.048397) - (usage: 2680724) - (peak: 2726352)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.cms_userprefs.php = 16892 bytes for an approximate total of 1167788
Debug: (0.048775) - (usage: 2682256) - (peak: 2738992)
(mysqli): SELECT preference,value FROM avantages_userprefs WHERE user_id = '1'
Debug: (0.059962) - (usage: 2915048) - (peak: 3131184)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.cms_utils.php = 23272 bytes for an approximate total of 1191060
Debug: (0.062666) - (usage: 3009880) - (peak: 3131184)
(mysqli): SET @CG_ZEROTIME = NOW() - INTERVAL 150 YEAR,@CG_FUTURETIME = NOW() + INTERVAL 5 YEAR
Debug: (0.06321) - (usage: 3032312) - (peak: 3131184)
loading module CGSimpleSmarty
Debug: (0.06558) - (usage: 3152364) - (peak: 3190864)
(mysqli): INSERT INTO avantages_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1453383615,'1','mhostin',-1,'Core','Cannot load module CGSmartImage ... Problem loading dependent module CGExtensions version 1.49.10','109.6.226.62')
Debug: (0.065643) - (usage: 3149648) - (peak: 3205020)
Cannot load CGSmartImage... cannot load it's dependants.
Debug: (0.067054) - (usage: 3164520) - (peak: 3240844)
loading module CMSMailer
Debug: (0.069076) - (usage: 3292488) - (peak: 3323848)
(mysqli): INSERT INTO avantages_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1453383615,'1','mhostin',-1,'Core','Cannot load module FrontEndUsers ... Problem loading dependent module CGExtensions version 1.49.10','109.6.226.62')
Debug: (0.069132) - (usage: 3289768) - (peak: 3340636)
Cannot load FrontEndUsers... cannot load it's dependants.
Debug: (0.069549) - (usage: 3291224) - (peak: 3340636)
(mysqli): INSERT INTO avantages_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1453383615,'1','mhostin',-1,'Core','Cannot load module CustomContent ... Problem loading dependent module FrontEndUsers version 1.23.4','109.6.226.62')
Debug: (0.069607) - (usage: 3288520) - (peak: 3341544)
Cannot load CustomContent... cannot load it's dependants.
Debug: (0.071033) - (usage: 3303452) - (peak: 3379548)
loading module ECB
Debug: (0.071747) - (usage: 3374144) - (peak: 3407356)
loading module FileManager
Debug: (0.073475) - (usage: 3476736) - (peak: 3516508)
loading module FormBuilder
Debug: (0.090507) - (usage: 4210752) - (peak: 4291852)
loading module Gallery
Debug: (0.093329) - (usage: 4340236) - (peak: 4435408)
loading module GBFilePicker
Debug: (0.09842) - (usage: 4660656) - (peak: 4697964)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.useroperations.inc.php = 42432 bytes for an approximate total of 1233492
Debug: (0.098806) - (usage: 4662216) - (peak: 4710788)
(mysqli): SELECT ug.user_id FROM avantages_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1 LIMIT 1
Debug: (0.099316) - (usage: 4663656) - (peak: 4711192)
(mysqli): SELECT DISTINCT permission_name FROM avantages_user_groups ug INNER JOIN avantages_group_perms gp ON gp.group_id = ug.group_id INNER JOIN avantages_permissions p ON p.permission_id = gp.permission_id INNER JOIN avantages_groups gr ON gr.group_id = ug.group_id WHERE ug.user_id = '1' AND gr.active = 1
Debug: (0.099737) - (usage: 4663264) - (peak: 4714048)
(mysqli): SELECT username, password, active, first_name, last_name, admin_access, email FROM avantages_users WHERE user_id = '1'
Debug: (0.100326) - (usage: 4665384) - (peak: 4714048)
(mysqli): INSERT INTO avantages_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1453383615,'1','mhostin',-1,'Core','Cannot load module JQueryTools ... Problem loading dependent module CGExtensions version 1.49.3','109.6.226.62')
Debug: (0.100374) - (usage: 4662684) - (peak: 4715728)
Cannot load JQueryTools... cannot load it's dependants.
Debug: (0.101901) - (usage: 4677572) - (peak: 4744964)
loading module MenuManager
Debug display of 'End of Loading Modules'Sad0.104177) - (usage: 4794644) - (peak: 4830016)
Debug: (0,104671) - (usage: 4810856) - (peak: 4841116)
Loading /homepages/24/d610266730/htdocs/cms_12/lib/classes/class.CmsRegularTaskHandler.php = 15264 bytes for an approximate total of 1248756
Debug: (0,105269) - (usage: 4792232) - (peak: 4854520)
(mysqli): INSERT INTO avantages_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1453383615,'1','mhostin',-1,'Core','Cannot load module CGBlog ... Problem loading dependent module CGExtensions version 1.49.10','109.6.226.62')
Debug: (0,105327) - (usage: 4789532) - (peak: 4854520)
Cannot load CGBlog... cannot load it's dependants.
#3

Des mises à jour viennent de m'etre proposé pour cgblog .
Je suis passé à CGBlog 1.13.3 mais rien n'y fait.

Nouveau message de bug :

Unable to load template module_db_tpl 'CGBlog;summaryblogSummaryHome'
#4

Apres avoir recharger les données dans la BDD ceci fonctionne. Il n'arrivait pas à trouver le tpl correspondant.

problème résolu
Sujet fermé


Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)