site: panne récurrente

Support en français pour CMS Made Simple.

Moderator: jce76350

Post Reply
archeo
Forum Members
Forum Members
Posts: 107
Joined: Tue Oct 21, 2014 12:47 pm
Location: Lorient (France)

site: panne récurrente

Post by archeo »

Bonjour,

Tout les 2 mois voir toute les semaines mon site (http://www.evolution-biologique.org/) tombe en panne avec affichage de l'erreur :

ERROR at line 29 of file /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
ERROR MESSAGE:

Syntax error in template "tpl_body:tpl_body:93" on line 29 "
{search lang='fr_FR' submit='OK' search_method="post" searchtext="Rechercher sur le site" passthru_News_detailpage='actualite' detailpage='353' }
" unknown tag "search"
TRACK TRACE:

#0 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(738): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "se...', 29, true)
#1 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(486): Smarty_Internal_TemplateCompilerBase->compileTag2('search', Array, Array)
#2 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_templateparser.php(1667): Smarty_Internal_TemplateCompilerBase->compileTag('search', Array)
#3 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_templateparser.php(2684): Smarty_Internal_Templateparser->yy_r31()
#4 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_templateparser.php(2779): Smarty_Internal_Templateparser->yy_reduce(31)
#5 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(114): Smarty_Internal_Templateparser->doParse(10, ' }')
#6 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(404): Smarty_Internal_SmartyTemplateCompiler->doCompile('</__body>\r\n \r\n{gl...', true)
#7 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(335): Smarty_Internal_TemplateCompilerBase->compileTemplateSource(Object(CMS_Smarty_Template), false, NULL)
#8 /home/evolutionk/www/lib/smarty/sysplugins/smarty_template_compiled.php(204): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(CMS_Smarty_Template))
#9 /home/evolutionk/www/lib/smarty/sysplugins/smarty_template_compiled.php(100): Smarty_Template_Compiled->compileTemplateSource(Object(CMS_Smarty_Template))
#10 /home/evolutionk/www/lib/smarty/sysplugins/smarty_template_compiled.php(163): Smarty_Template_Compiled->process(Object(CMS_Smarty_Template))
#11 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_template.php(206): Smarty_Template_Compiled->render(Object(CMS_Smarty_Template))
#12 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_templatebase.php(216): Smarty_Internal_Template->render(false, 0)
#13 /home/evolutionk/www/lib/smarty/sysplugins/smarty_internal_templatebase.php(107): Smarty_Internal_TemplateBase->_execute(Object(CMS_Smarty_Template), 'p370', NULL, NULL, 0)
#14 /home/evolutionk/www/lib/classes/internal/class.CMS_Smarty_Template.php(20): Smarty_Internal_TemplateBase->fetch(NULL, 'p370', NULL, NULL)
#15 /home/evolutionk/www/index.php(160): CMS_Smarty_Template->fetch()
#16 {main}

La réparation est facile puisqu'il suffit de supprimer la base de données du serveur et de la remplacer par sa sauvegarde. Le problème c'est que cela nuit à la fiabilité du site.

J'ai déjà:
Changé le mot de passe de la base de données
nettoyé est téléchargé une installation opérationnelle en local

hébergement: OVH mutualisé

ci-dessous mes infos système

----------------------------------------------

Cms Version: 2.2.15

Installed Modules:

AceEditor: 1.0
AceEditor2: 1.05
AdminSearch: 1.0.5
AjaxMadeSimple: 0.4.0
CGExtensions: 1.65.2
CGFeedFactory: 1.0
CGFeedMaker: 1.0.20
CGSimpleSmarty: 2.0
CGSmartImage: 1.22.7
CMSContentManager: 1.1.9
CMSMailer: 5.2.4
CmsJobManager: 0.1.3
CodeMirror: 3.0.0
DesignManager: 1.1.9
DocumentSearch: 1.4.5
DownCnt: 2.5.0
EUCookie: 0.3.1
FileManager: 1.6.12
FilePicker: 1.0.5
Gallery: 2.4.2
MenuManager: 1.50.3
MicroTiny: 2.2.5
ModuleManager: 2.1.8
ModuleXtender: 1.10.6
Navigator: 1.0.9
News: 2.51.11
NewsSlides: 1.4
Polls: 1.1.0
Printing: 1.0.4
Quizzard: 0.9
Search: 1.52
Showtime: 3.4
SiteMapMadeSimple: 1.2.8
Slide: 1.0
Statistics: 1.1.3
ThemeManager: 1.1.8
TinyMCE: 2.9.12
UsersGuide: 1.8.1

Config Information:

php_memory_limit:
max_upload_size: 128000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Paris
permissive_smarty: false

Php Information:

phpversion: 7.3.20
md5_function: On (Vrai)
json_function: On (Vrai)
gd_version: 2
tempnam_function: On (Vrai)
magic_quotes_runtime: Off (Faux)
E_ALL: 32759
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: Aucune différence de date du système trouvée
test_db_timedifference: Aucune différence de date du système trouvée
create_dir_and_file: 1
memory_limit: 512M
max_execution_time: 165
register_globals: Off (Faux)
output_buffering: On
disable_functions: _dyuweyrj4, _dyuweyrj4r, dl
open_basedir:
test_remote_url: Valable
file_uploads: On (Vrai)
post_max_size: 130M
upload_max_filesize: 128M
session_save_path: /tmp (0700)
session_use_cookies: On (Vrai)
xml_function: On (Vrai)
xmlreader_class: On (Vrai)
check_ini_set: On (Vrai)
curl: On

Performance Information:

allow_browser_cache: On (Vrai)
browser_cache_expiry: 6000
php_opcache: Off (Faux)
smarty_cache: Off (Faux)
smarty_compilecheck: Off (Faux)
auto_clear_cache_age: On (Vrai)
Server Information:

Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 4.14.154-ovh-vps-grsec-zfs-classid On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.50
Server Db Grants: Trouvé un privilège "GRANT ALL" qui semble être adapté

Permission Information:

tmp: /home/evolutionk/www/tmp (0705)
tmp_cache: /home/evolutionk/www/tmp/cache (0705)
templates_c: /home/evolutionk/www/tmp/templates_c (0705)
modules: /home/evolutionk/www/modules (0705)
uploads: /home/evolutionk/www/uploads (0705)
Masque de création de fichier (umask) : /home/evolutionk/www/tmp/cache (0705)
config_file: 0404
----------------------------------------------
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: site: panne récurrente

Post by Rolf »

Try {Search ... starting with a capital S
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
archeo
Forum Members
Forum Members
Posts: 107
Joined: Tue Oct 21, 2014 12:47 pm
Location: Lorient (France)

Re: site: panne récurrente

Post by archeo »

Thanks Rolf, but it does not explain the sporadic failures.
I also try suppressing the ligne with Search but doing that the following module in the page causes error.
archeo
Forum Members
Forum Members
Posts: 107
Joined: Tue Oct 21, 2014 12:47 pm
Location: Lorient (France)

Re: site: panne récurrente

Post by archeo »

New failure today. Same problem. Same solution.

I try this : I replace the database of a local operational installation by the database with problem : the same problem occures. So I compare the to data base with notepad++
for exemple
in the operational database
CREATE TABLE `cms_additional_users` (
`additional_users_id` int(11) NOT NULL,
`user_id` int(11) DEFAULT NULL,
`page_id` int(11) DEFAULT NULL,
`content_id` int(11) DEFAULT NULL

) ENGINE=MyISAM DEFAULT CHARSET=utf8;

the database with problem

DROP TABLE IF EXISTS `cms_additional_users`;
CREATE TABLE IF NOT EXISTS `cms_additional_users` (
`additional_users_id` int(11) NOT NULL,
`user_id` int(11) DEFAULT NULL,
`page_id` int(11) DEFAULT NULL,
`content_id` int(11) DEFAULT NULL,
PRIMARY KEY (`additional_users_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

there is a similar difference for all the table
Post Reply

Return to “French - Français”