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

Fatal error avec CGsmartImage
#1

Citation :#~~~~~ DEBUT BLOC A NE PAS SUPPRIMER ~~~~~
#~ Version du CMS: 1.11.10
#~ Url du site : visiopolemetropolitain.fr
#~ Hébergeur / Soft : 1and1
#~ Informations Système :
#~~~~~ FIN BLOC A NE PAS SUPPRIMER ~~~~~


Bonjour,

Depuis quelques jours, j'avais des lenteurs sur le site. J'ai donc souhaiter mettre à jour les modules suivant ( CGextensions/ ORm/CGsmartimage )

Probleme depuis j'ai cette ligne qui apparait et je n'ai plus accès au BO
[em]
Fatal error: Class 'CGExtensions' not found in /homepages/36/d457882355/htdocs/pole-metropolitain/modules/CGSmartImage/CGSmartImage.module.php on line 39[/em]

Je suis donc allé voir ce qu'il y avait à la ligne 39 et j'ai trouvé ca ( idem dans les versions précédentes de CGsmartimage )

[em]
class CGSmartImage extends CGExtensions
{
public function __construct()
{
parent::__construct();
$this->RegisterModulePlugin(); // this is here so the module can be used from the admin.
}
[/em]
Je ne sais plus quoi faire . j'ai rechargé les versions précédentes des modules mais rien ne se passe.

Pouvez vous m'aider SVP.
J'ai lu des histoires de reponsiveness sur on ?? mais je ne sais pas quoi faire avec ca !

Cordialement
#2

Citation :Je ne sais plus quoi faire . j'ai rechargé les versions précédentes des modules mais rien ne se passe.
réinjecte la sauvegarde de la BD aussi
et donne les versions des modules

J-C Etiemble v 2.2.xx
#3

C'est fait voici les versions des modules

CGextensions : 1.38.6
CGsmartImage: 1.16.1
Orm : 0.2.2

Ca ne change rien pour l'instant
#4

si tu a remis le BD et les fichiers avant la mise à jour les modules CGextensions/ ORm/CGsmartimage
tu dois être fonctionnel

Citation :CGextensions : 1.38.6
CGsmartImage: 1.16.1
ce que tu donnes ne sont pas les dernières versions
qui sont
CGextensions 1.42.2 et CGsmartImage 1.17

J-C Etiemble v 2.2.xx
#5

non c'était les versions que j'avais.
Comme j'avais des erreurs j'ai souhaiter mettre à jour et c'est là que tout à bugger.
#6

Citation :Comme j'avais des erreurs j'ai souhaiter mettre à jour et c'est là que tout à bugger.
et quelles étaient les erreurs ??

J-C Etiemble v 2.2.xx
#7

J'ai modifier le nom de CGSmartImage .
J'ai mon site qui s'affiche et j'ai activé le mode débug.
VOici ce que j'ai si ca peut vous donner des indications..

Generated in 0.844597 seconds by CMS Made Simple using 26 SQL queries and 7065336 bytes of memory (peak memory usage was 7347320)

Debug: (5.1999999999996E-5) - (usage: 520800) - (peak: 525908)
done loading required files
Debug: (0.025881) - (usage: 530276) - (peak: 541960)
loading adodb
Debug: (0.026962) - (usage: 574196) - (peak: 588792)
loading page functions
Debug: (0.028716) - (usage: 641488) - (peak: 675680)
loading content functions
Debug: (0.028954) - (usage: 646096) - (peak: 675680)
loading translation functions
Debug: (0.029171) - (usage: 652420) - (peak: 675680)
loading php4 entity decode functions
Debug: (0.054695) - (usage: 766836) - (peak: 828468)
done loading files
Debug: (0.054755) - (usage: 767092) - (peak: 828468)
Initialize Database
Debug: (0.092927) - (usage: 1099352) - (peak: 1107624)
(mysqli): SET NAMES 'utf8'
Debug: (0.092999) - (usage: 1098860) - (peak: 1124016)
Done Initializing Database
Debug: (0.09303) - (usage: 1099052) - (peak: 1124016)
Initialize Smarty
Debug: (0.112733) - (usage: 1708388) - (peak: 1711192)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.Smarty_CMS.php = 607956 bytes for an approximate total of 607956
Debug: (0.113431) - (usage: 1747516) - (peak: 1750936)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CMSModuleDbTemplateResource.php = 34064 bytes for an approximate total of 642020
Debug: (0.113808) - (usage: 1765348) - (peak: 1771124)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CMSPageTemplateResource.php = 17348 bytes for an approximate total of 659368
Debug: (0.114312) - (usage: 1787256) - (peak: 1795308)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.usertagoperations.inc.php = 21308 bytes for an approximate total of 680676
Debug: (0.120926) - (usage: 1787448) - (peak: 1808932)
(mysqli): SELECT * FROM cms_userplugins ORDER BY userplugin_name
Debug: (0.137861) - (usage: 1802096) - (peak: 1811564)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.cms_siteprefs.php = 10152 bytes for an approximate total of 690828
Debug: (0.14925) - (usage: 1802288) - (peak: 1824468)
(mysqli): SELECT sitepref_name,sitepref_value FROM cms_siteprefs
Debug: (0.150366) - (usage: 1893052) - (peak: 1949028)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CMSContentTemplateResource.php = 9952 bytes for an approximate total of 700780
Debug: (0.150551) - (usage: 1901400) - (peak: 1961604)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CMSGlobalContentTemplateResource.php = 8068 bytes for an approximate total of 708848
Debug: (0.15177) - (usage: 1903632) - (peak: 1967936)
Done Initialiing Smarty
Debug display of 'Loading Modules'Sad0.151835) - (usage: 1903920) - (peak: 1976948)
Debug: (0.154076) - (usage: 2022780) - (peak: 2077832)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.moduleoperations.inc.php = 117956 bytes for an approximate total of 826804
Debug: (0.157924) - (usage: 2023108) - (peak: 2090656)
(mysqli): SELECT * FROM cms_modules ORDER BY module_name
Debug: (0.158328) - (usage: 2041544) - (peak: 2090692)
loading module Archiver
Debug: (0.164623) - (usage: 2441856) - (peak: 2478212)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CMSModule.php = 249300 bytes for an approximate total of 1076104
Debug: (0.181565) - (usage: 2502396) - (peak: 2569676)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CmsLangOperations.php = 21296 bytes for an approximate total of 1097400
Debug: (0.181756) - (usage: 2501428) - (peak: 2569676)
loading module AVPVideoPlayerGallery
Debug: (0.183633) - (usage: 2652644) - (peak: 2680640)
Nothing is known about CGSmartImage... cant load it
Debug: (0.184115) - (usage: 2676396) - (peak: 2711748)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.cms_utils.php = 23088 bytes for an approximate total of 1120488
Debug: (0.189635) - (usage: 2679268) - (peak: 2721404)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1412767696,'7','eobs',-1,'Core','Cannot load module AVPVideoPlayerGallery ... Problem loading dependent module CGSmartImage version 1.16.1','88.175.124.136')
Debug: (0.189756) - (usage: 2676612) - (peak: 2724944)
Cannot load AVPVideoPlayerGallery... cannot load it's dependants.
Debug: (0.18994) - (usage: 2674476) - (peak: 2724944)
loading module CGExtensions
Debug: (0.193901) - (usage: 2893980) - (peak: 2924380)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CmsNlsOperations.php = 32052 bytes for an approximate total of 1152540
Debug: (0.194469) - (usage: 2913640) - (peak: 2947044)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CmsNls.php = 15712 bytes for an approximate total of 1168252
Debug: (0.202333) - (usage: 2992620) - (peak: 3019656)
(mysqli): SET @CG_ZEROTIME = NOW() - INTERVAL 150 YEAR,@CG_FUTURETIME = NOW() + INTERVAL 5 YEAR
Debug: (0.202815) - (usage: 3001040) - (peak: 3036344)
loading module CMSPrinting
Debug: (0.203642) - (usage: 3069680) - (peak: 3097408)
loading module FormBuilder
Debug: (0.219226) - (usage: 3221944) - (peak: 3247768)
loading module CMSMailer
Debug: (0.258359) - (usage: 3911536) - (peak: 4004144)
loading module JQueryTools
Debug: (0.25919) - (usage: 3978084) - (peak: 4051424)
loading module MenuManager
Debug: (0.260584) - (usage: 4068428) - (peak: 4127756)
loading module Piwik
Debug: (0.27483) - (usage: 4118984) - (peak: 4170220)
loading module TemplateExternalizer
Debug display of 'End of Loading Modules'Sad0.277134) - (usage: 4165356) - (peak: 4220912)
Debug: (0.277596) - (usage: 4180048) - (peak: 4236876)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CmsRegularTaskHandler.php = 13876 bytes for an approximate total of 1182128
Debug: (0.285243) - (usage: 4278140) - (peak: 4331968)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.contentoperations.inc.php = 103552 bytes for an approximate total of 1285680
Debug: (0.289463) - (usage: 4311736) - (peak: 4366620)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.cms_route_manager.php = 33264 bytes for an approximate total of 1318944
Debug: (0.289944) - (usage: 4337516) - (peak: 4389028)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CmsRoute.php = 17000 bytes for an approximate total of 1335944
Debug: (0.291208) - (usage: 4347880) - (peak: 4403424)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.cms_content_cache.php = 14304 bytes for an approximate total of 1350248
Debug: (0.294378) - (usage: 4349140) - (peak: 4414948)
(mysqli): SELECT * FROM cms_content WHERE content_alias = 'Economie' AND active = 1 LIMIT 1
Debug: (0.295162) - (usage: 4373696) - (peak: 4425976)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.module_meta.php = 16744 bytes for an approximate total of 1366992
Debug: (0.308809) - (usage: 4627244) - (peak: 4683772)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.ContentBase.php = 194020 bytes for an approximate total of 1561012
Debug: (0.308961) - (usage: 4651260) - (peak: 4689428)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/contenttypes/Content.inc.php = 273264 bytes for an approximate total of 1834276
Debug: (0.310461) - (usage: 4662948) - (peak: 4706368)
(mysqli): SELECT * FROM cms_content_props WHERE content_id = '34'
Debug: (0.310853) - (usage: 4664088) - (peak: 4714032)
process template top
Debug display of 'Fetch tpl_top:26 start'Sad0.310898) - (usage: 4664660) - (peak: 4717396)
Debug: (0.312652) - (usage: 4711532) - (peak: 4750416)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.Events.php = 45752 bytes for an approximate total of 1880028
Debug: (0.321481) - (usage: 4712808) - (peak: 4764272)
(mysqli): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
INNER JOIN cms_events e ON e.event_id = eh.event_id
ORDER BY eh.handler_order ASC
Debug: (0.322956) - (usage: 4780804) - (peak: 4813220)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.templateoperations.inc.php = 47112 bytes for an approximate total of 1927140
Debug: (0.337691) - (usage: 4782716) - (peak: 4825944)
(mysqli): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date
FROM cms_templates WHERE template_id = '26' LIMIT 1
Debug: (0.421506) - (usage: 6408752) - (peak: 6475020)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.CMS_Content_Block.php = 48364 bytes for an approximate total of 1975504
Debug display of 'Fetch content:pagedata start'Sad0.421595) - (usage: 6408696) - (peak: 6475020)
Debug display of 'Fetch content:pagedata end'Sad0.428905) - (usage: 6417004) - (peak: 6475020)
Debug display of 'Fetch tpl_top:26 end'Sad0.42902) - (usage: 6399472) - (peak: 6475020)
Debug: (0.429053) - (usage: 6399024) - (peak: 6475020)
process template body
Debug display of 'Fetch tpl_body:26 start'Sad0.433277) - (usage: 6399752) - (peak: 6475020)
Debug display of 'Start Load Smarty Plugin search/function'Sad0.448375) - (usage: 6449212) - (peak: 6484732)
Debug: (0.449078) - (usage: 6474556) - (peak: 6508864)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.cms_module_smarty_plugin_manager.php = 24112 bytes for an approximate total of 1999616
Debug: (0.460074) - (usage: 6474640) - (peak: 6522780)
(mysqli): SELECT * FROM cms_module_smarty_plugins ORDER BY module
Debug: (0.461951) - (usage: 6595860) - (peak: 6650760)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/modules/Search/Search.module.php = 111692 bytes for an approximate total of 2111308
Debug display of 'Start Load Smarty Plugin menu/function'Sad0.496623) - (usage: 6607900) - (peak: 6650760)
Debug display of 'Start Loading Hierarchy Manager'Sad0.517579) - (usage: 6635420) - (peak: 6690732)
Debug display of 'starting tree'Sad0.517633) - (usage: 6635816) - (peak: 6704484)
Debug: (0.519912) - (usage: 6636936) - (peak: 6704644)
(mysqli): SELECT modified_date FROM cms_content ORDER BY modified_date DESC LIMIT 1
Debug: (0.520082) - (usage: 6636764) - (peak: 6704824)
Content tree file needs loading
Debug: (0.52101) - (usage: 6691236) - (peak: 6740696)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.cms_tree.php = 18620 bytes for an approximate total of 2129928
Debug: (0.521068) - (usage: 6693304) - (peak: 6753260)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.cms_content_tree.php = 46868 bytes for an approximate total of 2176796
Debug display of 'ending tree'Sad0.521165) - (usage: 6695560) - (peak: 6755312)
Debug display of 'End Loading Hierarchy Manager'Sad0.521197) - (usage: 6693348) - (peak: 6755312)
Debug: (0.529487) - (usage: 6789512) - (peak: 6824392)
(mysqli): SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (61,15,57,19,24,58,59,60,62,63,64,65) AND active = 1 ORDER BY hierarchy
Debug display of 'Fetch module_db_tpl:Search;displaysearch start'Sad0.554818) - (usage: 6952268) - (peak: 7004488)
Debug display of 'CMSModuleDbTemplateResource startSearch;displaysearch'Sad0.561563) - (usage: 6954712) - (peak: 7014780)
Debug: (0.574329) - (usage: 6956952) - (peak: 7015960)
(mysqli): SELECT * from cms_module_templates WHERE module_name = 'Search' and template_name = 'displaysearch' LIMIT 1
Debug display of 'CMSModuleDbTemplateResource endSearch;displaysearch'Sad0.574471) - (usage: 6957180) - (peak: 7016556)
Debug display of 'Fetch module_db_tpl:Search;displaysearch end'Sad0.612187) - (usage: 6966120) - (peak: 7041188)
Debug display of 'Start of Menu Manager Display'Sad0.613096) - (usage: 6982052) - (peak: 7056400)
Debug: (0.61529) - (usage: 6985868) - (peak: 7057916)
(mysqli): SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id NOT IN (34,61,15,57,19,24,58,59,60,62,63,64,65)
Debug: (0.616895) - (usage: 6989692) - (peak: 7059124)
(mysqli): SELECT * FROM cms_content_props WHERE content_id = '15'
Debug: (0.618625) - (usage: 6995516) - (peak: 7059340)
(mysqli): SELECT * FROM cms_content_props WHERE content_id = '57'
Debug: (0.620137) - (usage: 6998888) - (peak: 7059836)
(mysqli): SELECT * FROM cms_content_props WHERE content_id = '19'
Debug: (0.621637) - (usage: 7002360) - (peak: 7060284)
(mysqli): SELECT * FROM cms_content_props WHERE content_id = '24'
Debug display of 'Fetch module_db_tpl:MenuManager;simplex_test start'Sad0.621994) - (usage: 7002200) - (peak: 7060516)
Debug display of 'CMSModuleDbTemplateResource startMenuManager;simplex_test'Sad0.62215) - (usage: 7004484) - (peak: 7060740)
Debug: (0.623534) - (usage: 7006952) - (peak: 7061008)
(mysqli): SELECT * from cms_module_templates WHERE module_name = 'MenuManager' and template_name = 'simplex_test' LIMIT 1
Debug display of 'CMSModuleDbTemplateResource endMenuManager;simplex_test'Sad0.623683) - (usage: 7011092) - (peak: 7061752)
Debug display of 'Fetch module_db_tpl:MenuManager;simplex_test end'Sad0.755365) - (usage: 7105932) - (peak: 7215380)
Debug display of 'End of Menu Manager Display'Sad0.755414) - (usage: 7105256) - (peak: 7215380)
Debug: (0.755543) - (usage: 7061756) - (peak: 7215380)
Nothing is known about CGSmartImage... cant load it
Debug: (0.758719) - (usage: 7064920) - (peak: 7215380)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1412767697,'7','eobs',-1,'Core','Cannot load module AVPVideoPlayerGallery ... Problem loading dependent module CGSmartImage version 1.16.1','88.175.124.136')
Debug: (0.758796) - (usage: 7062256) - (peak: 7215380)
Cannot load AVPVideoPlayerGallery... cannot load it's dependants.
Debug display of 'Fetch content:content_en start'Sad0.758887) - (usage: 7061184) - (peak: 7215380)
Debug display of 'Fetch content:content_en end'Sad0.760974) - (usage: 7068960) - (peak: 7215380)
Debug display of 'Fetch globalcontent:backhome start'Sad0.761112) - (usage: 7068740) - (peak: 7215380)
Debug: (0.76129) - (usage: 7070968) - (peak: 7215380)
start global_content_get_template
Debug: (0.766184) - (usage: 7122200) - (peak: 7215380)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.globalcontentoperations.inc.php = 50228 bytes for an approximate total of 2227024
Debug: (0.770192) - (usage: 7123588) - (peak: 7215380)
(mysqli): SELECT htmlblob_id, htmlblob_name, html, owner, use_wysiwyg, description, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'backhome' LIMIT 1
Debug: (0.770378) - (usage: 7124732) - (peak: 7215380)
end global_content_get_template
Debug display of 'Fetch globalcontent:backhome end'Sad0.774513) - (usage: 7130720) - (peak: 7215380)
Debug display of 'Fetch globalcontent:footer start'Sad0.774586) - (usage: 7129664) - (peak: 7215380)
Debug: (0.774765) - (usage: 7131588) - (peak: 7215380)
start global_content_get_template
Debug: (0.781487) - (usage: 7133796) - (peak: 7215380)
(mysqli): SELECT htmlblob_id, htmlblob_name, html, owner, use_wysiwyg, description, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'footer' LIMIT 1
Debug: (0.781668) - (usage: 7133752) - (peak: 7215380)
end global_content_get_template
Debug display of 'Fetch globalcontent:footer end'Sad0.784969) - (usage: 7178348) - (peak: 7250672)
Debug display of 'Fetch tpl_body:26 end'Sad0.785045) - (usage: 7167364) - (peak: 7250672)
Debug: (0.785077) - (usage: 7166920) - (peak: 7250672)
process template head
Debug display of 'Fetch tpl_head:26 start'Sad0.785118) - (usage: 7167392) - (peak: 7250672)
Debug display of 'Start Load Smarty Plugin cms_stylesheet/function'Sad0.809201) - (usage: 7231340) - (peak: 7290236)
Debug display of 'End Load Smarty Plugin cms_stylesheet/function'Sad0.809279) - (usage: 7232044) - (peak: 7290756)
Debug: (0.839971) - (usage: 7246040) - (peak: 7305384)
(mysqli): SELECT DISTINCT A.css_id,A.css_name,A.css_text,A.modified_date,A.media_type,A.media_query,B.assoc_order
FROM cms_css A
LEFT JOIN cms_css_assoc B ON A.css_id = B.assoc_css_id WHERE B.assoc_type = 'template' AND B.assoc_to_id = '26' ORDER BY B.assoc_order
Debug: (0.841648) - (usage: 7245140) - (peak: 7347320)
(mysqli): SELECT content_id FROM cms_content WHERE default_content = 1 LIMIT 1
Debug display of 'Fetch tpl_head:26 end'Sad0.842268) - (usage: 7229668) - (peak: 7347320)
Debug: (0.842383) - (usage: 7239356) - (peak: 7347320)
calling module CGExtensions from event ContentPostRender
Debug: (0.842834) - (usage: 7247560) - (peak: 7347320)
Loading /homepages/36/d457882355/htdocs/pole-metropolitain/modules/CGExtensions/lib/class.cge_headers.php = 3500 bytes for an approximate total of 2230524
Debug: (0.842889) - (usage: 7244588) - (peak: 7347320)
calling module Piwik from event ContentPostRender
Debug: (0.843033) - (usage: 7247612) - (peak: 7347320)
Nothing is known about CGSmartImage... cant load it
Debug: (0.844404) - (usage: 7250860) - (peak: 7347320)
(mysqli): INSERT INTO cms_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1412767697,'7','eobs',-1,'Core','Cannot load module AVPVideoPlayerGallery ... Problem loading dependent module CGSmartImage version 1.16.1','88.175.124.136')
Debug: (0.844453) - (usage: 7248196) - (peak: 7347320)
Cannot load AVPVideoPlayerGallery... cannot load it's dependants.
Debug: (0.844502) - (usage: 7247104) - (peak: 7347320)
#8

Les erreurs étaient des problèmes de lenteur et d'accès au site. souvent ca me mettait
"OOPs il y a un problème.." ou une phrase dans ce style ( écrit à la manière de CMSMS )
#9

Ce n'était pas une erreur du type error404 ou errror500 etc ... J'ai plus accès au BO en plus..
#10

Citation :"OOPs il y a un problème.."
cela vient en général d'une balise mal configurée

Citation :J'ai plus accès au BO en plus..
BO = ??

de plus avec le débug il y Cannot load module AVPVideoPlayerGallery

J-C Etiemble v 2.2.xx
#11

Bonjour jce76350,
BO = Backoffice
j'ai effectivement vu ca.
AVPVideoPLayerGallery est un module que j'ai fait développer. Il nécessite CGsmartImage, CGextensions et Orm.
Lors que je désactive ce module ( modification du nom du dossier dans le ftp ) je retrouve le site mais je n'ai toujours pas accès à la page module ou gestionnaire de module dans le Backoffice et j'ai ca comme erreur.
[em]
Fatal error: Uncaught exception 'LogicException' with message 'Passed array does not specify an existing method (class 'AVPVideoPlayerGallery' does not have a method 'autoload_framework')' in /homepages/36/d457882355/htdocs/pole-metropolitain/modules/AVPVideoPlayerGallery/AVPVideoPlayerGallery.module.php:50 Stack trace: #0 /homepages/36/d457882355/htdocs/pole-metropolitain/modules/AVPVideoPlayerGallery/AVPVideoPlayerGallery.module.php(50): spl_autoload_register(Array) #1 /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.moduleoperations.inc.php(540): AVPVideoPlayerGallery->__construct() #2 /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.moduleoperations.inc.php(987): ModuleOperations->_load_module('AVPVideoPlayerG...', false) #3 /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.moduleoperations.inc.php(695): ModuleOperations->get_module_instance('AVPVideoPlayerG...') #4 /homepages/36/d457882355/htdocs/pole-metropolitain/include.php(263): ModuleOperations->LoadModu in /homepages/36/d457882355/htdocs/pole-metropolitain/modules/AVPVideoPlayerGallery/AVPVideoPlayerGallery.module.php on line 50[/em]

Et ce module fonctionnait avant.
#12

Entre Orm 2.1 et Orm 2.2 il y a des modifications importantes dans le constructeur des modules qui en dépendent. Ta dernière erreur expliquée est du au passage de Orm 2.1 à 2.2. Réinstalle impérativement la 2.1 et tout rentrera dans l'ordre.

https://github.com/besstiolle/orm-ms/wik...onstructor

http://dev.cmsmadesimple.org/project/files/1250

Peux tu me dire qui l'a développé ton module (par simple curiosité).
#13

Merci Bess,

J'ai réinstallé via le ftp le module orm v2.1 mais je retrouve mon erreur :
Fatal error: Class 'CGExtensions' not found in /homepages/36/d457882355/htdocs/pole-metropolitain/modules/CGSmartImage/CGSmartImage.module.php on line 39

Celui qui m'a développé ceci est un bon dev. Je vous dirais son nom une fois le problème résolu...JE crois qu'il est admin d'ailleurs, je n'aimerais que ca lui porte préjudice.
#14

désactive ton module perso
désactive CgSmartImage
désactive Orm

désinstall / réinstall CgExtension

réactive les 3 modules

dis moi ce que ça donne
#15

j'ai désactiver AVPVideoPlayerGallery ainsi que CGsmartImage , Orm -> même erreur
J'ai désactiver CGextensions meme erreur , j'ai donc vidé le cache et les fichiers temporaire ->meme erreur
j'ai réussi à avoir accès à l'admin , mais quand je vais dans module ou gestionnaire de module j'ai ca :


Fatal error: Uncaught exception 'LogicException' with message 'Passed array does not specify an existing method (class 'AVPVideoPlayerGallery' does not have a method 'autoload_framework')' in /homepages/36/d457882355/htdocs/pole-metropolitain/modules/AVPVideoPlayerGallery/AVPVideoPlayerGallery.module.php:50 Stack trace: #0 /homepages/36/d457882355/htdocs/pole-metropolitain/modules/AVPVideoPlayerGallery/AVPVideoPlayerGallery.module.php(50): spl_autoload_register(Array) #1 /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.moduleoperations.inc.php(540): AVPVideoPlayerGallery->__construct() #2 /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.moduleoperations.inc.php(987): ModuleOperations->_load_module('AVPVideoPlayerG...', false) #3 /homepages/36/d457882355/htdocs/pole-metropolitain/lib/classes/class.moduleoperations.inc.php(695): ModuleOperations->get_module_instance('AVPVideoPlayerG...') #4 /homepages/36/d457882355/htdocs/pole-metropolitain/include.php(263): ModuleOperations->LoadModu in /homepages/36/d457882355/htdocs/pole-metropolitain/modules/AVPVideoPlayerGallery/AVPVideoPlayerGallery.module.php on line 50
#16

contact le, il doit y avoir une subtilité qui m'échappe.
#17

Bon,

J'ai réussi à désinstallé les 3 modules et a les resinstaller.J'avais une erreur dans le config.php.
J'ai réinstaller les 3 modules mais...pour Orm il m'annonce la version 3.1 alors que j'ai charger la 2.1...et je ne peux pas le desinstaller par l'admin car AVPVideoplayer Gallery est dépendant...
Je pense que l'erreur vient de la..
Comment peut on revenir à la version précédente d'un module?
#18

manuellement en uploadant le fichier tar.gz de la version précédente.

Mais une restauration SQL/data de ton site serait préférable je pense
Sujet fermé


Atteindre :


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