Tester son module est une opération constante dans le développement de celui-ci mais les tests avant la sortie officielle sont primordiaux.
La phase d'essai est presque aussi longue que le développement à proprement parler. Ce n'est pas la phase que je préfère mais elle doit être réalisée avec le plus grand soin pour le fonctionnement du module sur d'autres installations.
En effet, je me suis incidemment aperçu qu'il me fallait modifier mes tests avant la sortie officielle. La tête dans le guidon, l'envie d'avancer toujours plus vite et paf ! On a zappé l'erreur qui peut empêcher le bon fonctionnement du module. Résultat , on s'est pris les pieds dans le tapis.
Je me suis donc résous à allonger cette phase en créant , en local d'abord, deux autres installations, une vierge pour l'installation et une autre pour la mise à jour (upgrade). Cela m'a permis de rectifier un certain nombre de bugs rédhibitoires.
Cette réflexion m'a aussi amené à me dire qu'il est préférable d'avancer à petits pas, de faire des sorties (releases) plus régulières.
Plus d'articles:
Deprecated: Using unregistered function "shuffle" in a template is deprecated and will be removed in a future release. Use Smarty::registerPlugin to explicitly register a custom modifier. in
/home/agiwebco/www/lib/smarty/sysplugins/smarty_internal_compile_private_modifier.php on line
113
Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in
/home/agiwebco/www/modules/CGSmartImage/lib/class.cgsi_utils.php on line
930
Contact
Deprecated: Creation of dynamic property fbTextField::$IsDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
55
Deprecated: Creation of dynamic property fbTextField::$IsEmailDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
56
Deprecated: Creation of dynamic property fbTextField::$IsDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
55
Deprecated: Creation of dynamic property fbTextField::$IsEmailDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
56
Deprecated: Creation of dynamic property fbTextField::$IsDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
55
Deprecated: Creation of dynamic property fbTextField::$IsEmailDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
56
Deprecated: Creation of dynamic property fbTextAreaField::$IsDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
55
Deprecated: Creation of dynamic property fbTextAreaField::$IsEmailDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
56
Deprecated: Creation of dynamic property fbTextField::$IsDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
55
Deprecated: Creation of dynamic property fbTextField::$IsEmailDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
56
Deprecated: Creation of dynamic property fbDispositionEmail::$IsDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
55
Deprecated: Creation of dynamic property fbDispositionEmail::$IsEmailDisposition is deprecated in
/home/agiwebco/www/modules/FormBuilder/classes/FieldBase.class.php on line
56
Warning: Trying to access array offset on null in
/home/agiwebco/www/modules/Captcha/lib/class.plugins_ops.php on line
60
Deprecated: Return type of Captcha\config::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in
/home/agiwebco/www/modules/Captcha/lib/class.config.php on line
129
Deprecated: Return type of Captcha\config::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in
/home/agiwebco/www/modules/Captcha/lib/class.config.php on line
134
Deprecated: Return type of Captcha\config::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in
/home/agiwebco/www/modules/Captcha/lib/class.config.php on line
146
Deprecated: Return type of Captcha\config::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in
/home/agiwebco/www/modules/Captcha/lib/class.config.php on line
151
Deprecated: Creation of dynamic property hn_captcha_X1::$usedchars is deprecated in
/home/agiwebco/www/modules/Captcha/plugins/hn_captcha/lib/hn_captcha.class.php5 on line
486
Deprecated: Creation of dynamic property hn_captcha_X1::$messages is deprecated in
/home/agiwebco/www/modules/Captcha/plugins/hn_captcha/lib/hn_captcha.class.php5 on line
487
Deprecated: Implicit conversion from float 1014160.0000000001 to int loses precision in
/home/agiwebco/www/modules/Captcha/plugins/hn_captcha/lib/hn_captcha.class.php5 on line
1006
Time: 7.41504 / SQL: 0.05971s for 66 queries / Net Memory: 15445552 / Peak: 15891912
Debug: (0.00908) - (net usage: 894424) - (peak: 1502056)
Initialize Database
Debug: (0.012982) - (net usage: 1162608) - (peak: 1625056)
Done Initializing Database
Debug: (0.01301) - (net usage: 1162768) - (peak: 1625056)
initialize internal global cache
Debug: (0.037759) - (net usage: 1492560) - (peak: 1942608)
done initializing global cache
Debug: (0.037792) - (net usage: 1492344) - (peak: 1942608)
Loading Modules
Debug: (0.089105) - (net usage: 4266016) - (peak: 4813048)
SET @xt_ZEROTIME = NOW() - INTERVAL 150 YEAR,@xt_FUTURETIME = NOW() + INTERVAL 5 YEAR
Debug: (0.117418) - (net usage: 5887232) - (peak: 6642968)
SET @CG_ZEROTIME = NOW() - INTERVAL 150 YEAR,@CG_FUTURETIME = NOW() + INTERVAL 5 YEAR
Debug: (0.144837) - (net usage: 8234248) - (peak: 8822704)
SELECT * FROM nagi_module_smarty_plugins ORDER BY module
Debug: (0.159638) - (net usage: 9624368) - (peak: 10397312)
INSERT INTO nagi_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1776913585,0,NULL,-1,'Core','Cannot load module Inscriptions ... Problem loading dependent module Messages version 0.3',NULL)
Debug: (0.159667) - (net usage: 9623696) - (peak: 10397312)
Cannot load Inscriptions... cannot load it's dependants.
Debug: (0.165739) - (net usage: 9987808) - (peak: 10575160)
INSERT INTO nagi_adminlog (timestamp, user_id, username, item_id, item_name, action, ip_addr) VALUES (1776913585,0,NULL,-1,'Core','Cannot load module Presence ... Problem loading dependent module Messages version 0.3',NULL)
Debug: (0.165763) - (net usage: 9986976) - (peak: 10575160)
Cannot load Presence... cannot load it's dependants.
Debug: (0.167511) - (net usage: 10144280) - (peak: 10598136)
End of Loading Modules
Debug: (0.170531) - (net usage: 10202008) - (peak: 10641928)
SELECT * FROM nagi_mod_cmsjobmgr WHERE start < UNIX_TIMESTAMP() AND created < UNIX_TIMESTAMP() ORDER BY errors ASC,created ASC LIMIT 1
Debug: (0.17346) - (net usage: 10408944) - (peak: 10928760)
SELECT * FROM nagi_content WHERE content_id = 47 LIMIT 1
Debug: (0.175037) - (net usage: 10432752) - (peak: 10928760)
UPDATE nagi_siteprefs SET sitepref_value = 1776913586 WHERE sitepref_name = 'CmsJobManager_mapi_pref_last_async_trigger'
Debug: (0.663325) - (net usage: 10359544) - (peak: 10928760)
Initialize Smarty
Debug: (0.663354) - (net usage: 10360024) - (peak: 10928760)
Done Initialing Smarty
Debug: (0.665633) - (net usage: 10417584) - (peak: 10928760)
SELECT sitepref_name,sitepref_value FROM nagi_siteprefs
Debug: (0.667445) - (net usage: 10422000) - (peak: 10993904)
cms_content_cache: begin load needed content objects
Debug: (0.716314) - (net usage: 10422256) - (peak: 10993904)
cms_content_cache: end loading needed content objects
Debug: (0.717318) - (net usage: 10456912) - (peak: 10993904)
SELECT * FROM nagi_content WHERE content_id = 35 LIMIT 1
Debug: (0.718235) - (net usage: 10474040) - (peak: 10993904)
SELECT * FROM nagi_content_props WHERE content_id = 35
Debug: (0.719332) - (net usage: 10498672) - (peak: 10993904)
SELECT SQL_CALC_FOUND_ROWS * FROM nagi_module_seoboost_settings LIMIT 0, 1000
Debug: (0.719599) - (net usage: 10516152) - (peak: 10993904)
SELECT FOUND_ROWS() LIMIT 1
Debug: (0.734251) - (net usage: 12000192) - (peak: 12975536)
process template top
Debug: (0.736254) - (net usage: 12158976) - (peak: 12975536)
SELECT * FROM nagi_layout_templates WHERE id = 19 LIMIT 1
Debug: (0.74345) - (net usage: 12421480) - (peak: 12975536)
SELECT * FROM nagi_layout_tpl_type WHERE originator = 'News' AND name = 'detail' LIMIT 1
Debug: (0.743948) - (net usage: 12431984) - (peak: 12975536)
SELECT * FROM nagi_layout_templates WHERE type_id = '7' AND type_dflt = 1 LIMIT 1
Debug: (0.746581) - (net usage: 12515736) - (peak: 13038616)
SELECT mn.*, mnc.news_category_name FROM nagi_module_news mn
LEFT OUTER JOIN nagi_module_news_categories mnc ON mnc.news_category_id = mn.news_category_id
WHERE status = 'published' AND news_id = 64
AND ( IFNULL(start_time, '1970-01-01 01:00:01') < NOW()) LIMIT 1
Debug: (0.747853) - (net usage: 12558024) - (peak: 13046336)
SELECT * FROM nagi_module_news_fielddefs WHERE public = 1 ORDER BY item_order
Debug: (0.748806) - (net usage: 12560712) - (peak: 13046336)
SELECT A.news_id,A.fielddef_id,A.value FROM nagi_module_news_fieldvals A
INNER JOIN nagi_module_news_fielddefs B
ON A.fielddef_id = B.id
WHERE news_id IN (64)
ORDER BY A.news_id,B.item_order
Debug: (0.751023) - (net usage: 12677296) - (peak: 13244448)
SELECT news_category_name FROM nagi_module_news_categories where news_category_id=4 LIMIT 1
Debug display of 'Start Load Smarty Plugin Navigator/function':(0.757213) - (net usage: 12769312) - (peak: 13244448)
Debug display of 'Start Load Smarty Plugin search/function':(0.768851) - (net usage: 12827232) - (peak: 13276512)
Debug display of 'Start Load Smarty Plugin news/function':(0.770455) - (net usage: 12931536) - (peak: 13437944)
Debug: (0.774687) - (net usage: 12983656) - (peak: 13463488)
Start Navigator default action
Debug: (0.776035) - (net usage: 13035416) - (peak: 13497816)
SELECT * FROM nagi_layout_templates WHERE name = 'BLOG1200-menu' LIMIT 1
Debug: (0.776742) - (net usage: 13039888) - (peak: 13497816)
SELECT * FROM nagi_content FORCE INDEX (nagi_index_content_by_idhier) WHERE content_id IN (48,58,59) AND active = 1 ORDER BY hierarchy
Debug: (0.777489) - (net usage: 13095800) - (peak: 13525680)
SELECT * FROM nagi_content_props WHERE content_id IN (48,58,59) ORDER BY content_id
Debug: (0.785878) - (net usage: 13287376) - (peak: 13771168)
End Navigator default action
Debug: (0.78691) - (net usage: 13297120) - (peak: 13771168)
SELECT * FROM nagi_layout_tpl_type WHERE originator = 'Search' AND name = 'searchform' LIMIT 1
Debug: (0.787351) - (net usage: 13299216) - (peak: 13771168)
SELECT * FROM nagi_layout_templates WHERE type_id = '10' AND type_dflt = 1 LIMIT 1
Debug: (0.792084) - (net usage: 13367744) - (peak: 13867400)
SELECT * FROM nagi_layout_templates WHERE name = 'BLOG1200-news-summary' LIMIT 1
Debug: (0.792765) - (net usage: 13380384) - (peak: 13867400)
SELECT * FROM nagi_layout_tpl_type WHERE originator = 'News' AND name = 'browsecat' LIMIT 1
Debug: (0.793172) - (net usage: 13382776) - (peak: 13867400)
SELECT * FROM nagi_layout_templates WHERE type_id = '9' AND type_dflt = 1 LIMIT 1
Debug: (0.793616) - (net usage: 13387088) - (peak: 13867400)
SELECT * FROM nagi_module_news_categories ORDER BY hierarchy
Debug: (0.795979) - (net usage: 13393440) - (peak: 13867400)
SELECT news_category_id,COUNT(news_id) AS cnt FROM nagi_module_news WHERE news_category_id IN (1,3,4,5,8,9,10,11) AND ( IFNULL(start_time, '1970-01-01 01:00:01') < '2026-04-23 05:06:25') AND (( IFNULL(end_time, '1970-01-01 01:00:01') = '1970-01-01 01:00:01') OR (end_time > '2026-04-23 05:06:25')) AND status = 'published' GROUP BY news_category_id
Debug: (0.800009) - (net usage: 13396992) - (peak: 13896912)
SELECT * FROM nagi_layout_templates WHERE name = 'BLOG1200-news-summary-more' LIMIT 1
Debug: (0.80482) - (net usage: 13403608) - (peak: 13896912)
SELECT SQL_CALC_FOUND_ROWS
mn.*,
mnc.news_category_name,
mnc.long_name,
u.username,
u.first_name,
u.last_name
FROM nagi_module_news mn
LEFT OUTER JOIN nagi_module_news_categories mnc
ON mnc.news_category_id = mn.news_category_id
LEFT OUTER JOIN nagi_users u
ON u.user_id = mn.author_id
WHERE
status = 'published'
AND
IF(start_time IS NULL AND end_time IS NULL,news_date <= NOW(),NOw() BETWEEN start_time AND end_time)ORDER BY mn.news_date desc LIMIT 0, 5
Debug: (0.805178) - (net usage: 13423128) - (peak: 13896912)
SELECT FOUND_ROWS() LIMIT 1
Debug: (0.805868) - (net usage: 13431128) - (peak: 13896912)
SELECT A.news_id,A.fielddef_id,A.value FROM nagi_module_news_fieldvals A
INNER JOIN nagi_module_news_fielddefs B
ON A.fielddef_id = B.id
WHERE news_id IN (85,86,91,92,95)
ORDER BY A.news_id,B.item_order
Debug: (0.809597) - (net usage: 13486688) - (peak: 13916568)
SELECT news_category_id,COUNT(news_id) AS cnt FROM nagi_module_news WHERE news_category_id IN (1,3,4,5,8,9,10,11) AND ( IFNULL(start_time, '1970-01-01 01:00:01') < '2026-04-23 05:06:26') AND (( IFNULL(end_time, '1970-01-01 01:00:01') = '1970-01-01 01:00:01') OR (end_time > '2026-04-23 05:06:26')) AND status = 'published' GROUP BY news_category_id
Debug: (0.851263) - (net usage: 14275184) - (peak: 15876600)
SELECT form_id from nagi_module_fb_form WHERE alias = 'BLOG120'
Debug: (0.852103) - (net usage: 14282456) - (peak: 15876600)
SELECT * FROM nagi_module_fb_form WHERE form_id='6'
Debug: (0.853819) - (net usage: 14300264) - (peak: 15876600)
SELECT name,value FROM nagi_module_fb_form_attr WHERE form_id='6'
Debug: (0.856427) - (net usage: 14308024) - (peak: 15876600)
SELECT * FROM nagi_module_fb_field WHERE form_id='6' and type='DispositionFormBrowser'
Debug: (0.858801) - (net usage: 14308240) - (peak: 15876600)
SELECT * FROM nagi_module_fb_field WHERE form_id='6' ORDER BY order_by
Debug: (0.86024) - (net usage: 14358104) - (peak: 15876600)
SELECT type FROM nagi_module_fb_field WHERE field_id='41'
Debug: (0.861237) - (net usage: 14379456) - (peak: 15876600)
SELECT * FROM nagi_module_fb_field WHERE field_id='41' LIMIT 1
Debug: (0.862268) - (net usage: 14380408) - (peak: 15876600)
SELECT name, value FROM nagi_module_fb_field_opt WHERE field_id='41' ORDER BY option_id
Debug: (0.862581) - (net usage: 14363832) - (peak: 15876600)
SELECT type FROM nagi_module_fb_field WHERE field_id='42'
Debug: (0.863061) - (net usage: 14385152) - (peak: 15876600)
SELECT * FROM nagi_module_fb_field WHERE field_id='42' LIMIT 1
Debug: (0.863568) - (net usage: 14386104) - (peak: 15876600)
SELECT name, value FROM nagi_module_fb_field_opt WHERE field_id='42' ORDER BY option_id
Debug: (0.863894) - (net usage: 14369312) - (peak: 15876600)
SELECT type FROM nagi_module_fb_field WHERE field_id='43'
Debug: (0.864234) - (net usage: 14391912) - (peak: 15876600)
SELECT * FROM nagi_module_fb_field WHERE field_id='43' LIMIT 1
Debug: (0.864644) - (net usage: 14392864) - (peak: 15876600)
SELECT name, value FROM nagi_module_fb_field_opt WHERE field_id='43' ORDER BY option_id
Debug: (0.867579) - (net usage: 14409768) - (peak: 15876600)
SELECT type FROM nagi_module_fb_field WHERE field_id='44'
Debug: (0.868099) - (net usage: 14430712) - (peak: 15876600)
SELECT * FROM nagi_module_fb_field WHERE field_id='44' LIMIT 1
Debug: (0.868381) - (net usage: 14431664) - (peak: 15876600)
SELECT name, value FROM nagi_module_fb_field_opt WHERE field_id='44' ORDER BY option_id
Debug: (0.868629) - (net usage: 14414856) - (peak: 15876600)
SELECT type FROM nagi_module_fb_field WHERE field_id='45'
Debug: (0.868883) - (net usage: 14436176) - (peak: 15876600)
SELECT * FROM nagi_module_fb_field WHERE field_id='45' LIMIT 1
Debug: (0.869149) - (net usage: 14437144) - (peak: 15876600)
SELECT name, value FROM nagi_module_fb_field_opt WHERE field_id='45' ORDER BY option_id
Debug: (0.870298) - (net usage: 14528536) - (peak: 15876600)
SELECT type FROM nagi_module_fb_field WHERE field_id='46'
Debug: (0.870535) - (net usage: 14549496) - (peak: 15876600)
SELECT * FROM nagi_module_fb_field WHERE field_id='46' LIMIT 1
Debug: (0.870987) - (net usage: 14550424) - (peak: 15876600)
SELECT name, value FROM nagi_module_fb_field_opt WHERE field_id='46' ORDER BY option_id
Debug: (0.888636) - (net usage: 14715712) - (peak: 15876600)
UPDATE nagi_siteprefs SET sitepref_value = 'hn_captcha' WHERE sitepref_name = 'Captcha_mapi_pref_active_lib'
Debug: (0.901083) - (net usage: 14701680) - (peak: 15876600)
SELECT sitepref_name,sitepref_value FROM nagi_siteprefs
Debug display of 'CMSModuleDbTemplateResource startFormBuilder;fb_6':(7.365189) - (net usage: 14968176) - (peak: 15876600)
Debug: (7.366382) - (net usage: 14986488) - (peak: 15876600)
SELECT * from nagi_module_templates WHERE module_name = 'FormBuilder' and template_name = 'fb_6' LIMIT 1
Debug display of 'CMSModuleDbTemplateResource endFormBuilder;fb_6':(7.366414) - (net usage: 14974080) - (peak: 15876600)
Debug: (7.407548) - (net usage: 15129160) - (peak: 15876600)
SELECT * FROM nagi_layout_templates WHERE name = 'BLOG1200-description' LIMIT 1
Debug: (7.413544) - (net usage: 15346912) - (peak: 15891912)
SELECT SQL_CALC_FOUND_ROWS S.id FROM nagi_layout_stylesheets S LEFT JOIN nagi_layout_design_cssassoc D ON S.id = D.css_id WHERE D.design_id = 2 ORDER BY D.item_order ASC LIMIT 0, 1000
Debug: (7.413945) - (net usage: 15364416) - (peak: 15891912)
SELECT FOUND_ROWS() LIMIT 1
Debug: (7.414612) - (net usage: 15381008) - (peak: 15891912)
SELECT id,name,content,description,media_type,media_query,created,modified FROM nagi_layout_stylesheets WHERE id IN (1,2,3)