jeano0o
Members-
Posts
40 -
Joined
-
Last visited
Profile Information
-
Activity
Other
Recent Profile Visitors
2,492,644 profile views
jeano0o's Achievements
-
Thank you very much for your help I have changed the version of php to 7.1 and the error in the public part no longer appears. However, in the back office I still have the following error Warning à la ligne 40 du fichier /home/407418/domains/mon-domaine.com/public_html/modules/mailjet/mailjet.php [2] include_once(/home/407418/domains/mon-domaine.com/public_html/tools/swift/Swift.php): failed to open stream: No such file or directory Warning à la ligne 40 du fichier /home/407418/domains/mon-domaine.com/public_html/modules/mailjet/mailjet.php [2] include_once(): Failed opening '/home/407418/domains/mon-domaine.com/public_html/tools/swift/Swift.php' for inclusion (include_path='.:/opt/alt/php71/usr/share/pear') Warning à la ligne 41 du fichier /home/407418/domains/mon-domaine.com/public_html/modules/mailjet/mailjet.php [2] include_once(/home/407418/domains/mon-domaine.com/public_html/tools/swift/Swift/Connection/SMTP.php): failed to open stream: No such file or directory Warning à la ligne 41 du fichier /home/407418/domains/mon-domaine.com/public_html/modules/mailjet/mailjet.php [2] include_once(): Failed opening '/home/407418/domains/mon-domaine.com/public_html/tools/swift/Swift/Connection/SMTP.php' for inclusion (include_path='.:/opt/alt/php71/usr/share/pear')
-
erreurs v. 1.6.1.24
jeano0o replied to jeano0o's topic in PrestaShop Download : installation et mise à jour
Les modules Prestashop restent compatibles? Quels sont vos projets pour le futur de votre version? -
erreurs v. 1.6.1.24
jeano0o replied to jeano0o's topic in PrestaShop Download : installation et mise à jour
Merci, si je comprend bien il suffit de changer de template? -
jeano0o started following erreurs v. 1.6.1.24 and Unknown error
-
Hello, I changed the _PS_MODE_DEV_ value from "false" to "true" in defines.inc.php. I noticed that my site was full of errors. And that's when I realised why I couldn't update my site, which is currently in version 1.6.1.24. Public part error Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /home/u539407418/domains/mon-domaine.com/public_html/classes/Rijndael.php on line 124 Back office errors Warning à la ligne 551 du fichier /home/407418/domains/mon-domaine.com/public_html/classes/controller/AdminController.php [2] count(): Parameter must be an array or an object that implements Countable Unknown error à la ligne 2151 du fichier /home/407418/domains/mon-domaine.com/public_html/classes/Tools.php [8192] Function create_function() is deprecated Unknown error à la ligne 2151 du fichier /home/407418/domains/mon-domaine.com/public_html/classes/Tools.php [8192] Function create_function() is deprecated Unknown error à la ligne 2151 du fichier /home/407418/domains/mon-domaine.com/public_html/classes/Tools.php [8192] Function create_function() is deprecated Unknown error à la ligne 2151 du fichier /home/407418/domains/mon-domaine.com/public_html/classes/Tools.php [8192] Function create_function() is deprecated Warning à la ligne 3274 du fichier /home/407418/domains/mon-domaine.com/public_html/classes/controller/AdminController.php [2] count(): Parameter must be an array or an object that implements Countable Can you tell me where the problem is, and how to fix it? Thank you in advance
-
Bonjour, Après avoir changé le fichier defines.inc.php la valeur _PS_MODE_DEV_ de « false » à « true J’ai remarqué que mon site avait plein d’erreurs. Et c’est à ce moment-là que j’ai compris pourquoi je n’arrivais pas à mettre à jour mon site qui est actuellement dans la version 1.6.1.24. Erreur partie publique Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /home/u539407418/domains/mon-domaine.com/public_html/classes/Rijndael.php on line 124 Erreurs back office Warning à la ligne 551 du fichier /home/u539407418/domains/mon-domaine.com/public_html/classes/controller/AdminController.php [2] count(): Parameter must be an array or an object that implements Countable Unknown error à la ligne 2151 du fichier /home/u539407418/domains/mon-domaine.com/public_html/classes/Tools.php [8192] Function create_function() is deprecated Unknown error à la ligne 2151 du fichier /home/u539407418/domains/mon-domaine.com/public_html/classes/Tools.php [8192] Function create_function() is deprecated Unknown error à la ligne 2151 du fichier /home/u539407418/domains/mon-domaine.com/public_html/classes/Tools.php [8192] Function create_function() is deprecated Unknown error à la ligne 2151 du fichier /home/u539407418/domains/mon-domaine.com/public_html/classes/Tools.php [8192] Function create_function() is deprecated Warning à la ligne 3274 du fichier /home/u539407418/domains/mon-domaine.com/public_html/classes/controller/AdminController.php [2] count(): Parameter must be an array or an object that implements Countable Arrivez-vous à me dire où se trouve le problème, et comment le réparer ? Je vous remercie d’avance
-
page blanche admin
jeano0o replied to lauranya's topic in Utilisation de PrestaShop : configuration et difficultés
Bonjour, je suis dans le même cas de page blanche, voici l'erreur Fatal error: Declaration of AdminLoginControllerCore::viewAccess() must be compatible with AdminControllerCore::viewAccess($disable = false) in /.../controllers/admin/AdminLoginController.php on line 27 Pouvez-vous m'aider a comprendre svp -
version de PrestaShop 1.6.0.14 Informations sur votre serveur Linux #1 SMP Thu Jan 4 14:26:00 EST 2018 x86_64 Version du logiciel serveur Apache Version de PHP 5.5.38 Limite de mémoire 512M Temps d'exécution maximal (max_execution_time) 360 Je me demande s'il y a une option sur Prestashop qui permet d'activer ou désactiver l'envoie des produits dématérialisés? J'ai installé ce module https://addons.prestashop.com/en/virtual-products/3419-download-mp3-music-with-demo-player.html jusqu'à présent il m'a apporté que des problèmes
-
Bonjour, la dernière solution est réalisable, mais avoir du texte sur une image c'est toujours délicat il serait préférable de descendre le texte au lieu de le superposer sur l'image (dans la version 1.5 cela était possible) Savais-vous si c'est possible de faire ce changement? Merci d'avance
- 15 replies
-
Pas de son sur mon site
jeano0o replied to jeano0o's topic in Utilisation de PrestaShop : configuration et difficultés
Bonjour, j'ai trouvé la solution, il faut modifier l’éditeur de texte How to change simple text editor to full featured editor? In this prestashop version it's very easy. As i already mentioned it's necessary to modify only one file. This file is a js (javascript) file with tinymce execurtion and configuration code. Path to this file is: /js/tinymce.inc.js or /js/admin/tinymce.inc.js So, please open this file and change whole file contents to: function tinySetup(config) { if (typeof tinyMCE === 'undefined') { setTimeout(function() { tinySetup(config); }, 100); return; } if(!config) config = {}; var editor_selector = 'rte'; //if (typeof config['editor_selector'] !== 'undefined') //var editor_selector = config['editor_selector']; if (typeof config['editor_selector'] != 'undefined') config['selector'] = '.'+config['editor_selector']; //safari,pagebreak,style,table,advimage,advlink,inlinepopups,media,contextmenu,paste,fullscreen,xhtmlxtras,preview default_config = { selector: ".rte" , plugins : "visualblocks, preview searchreplace print insertdatetime, hr charmap colorpicker anchor code link image paste pagebreak table contextmenu filemanager table code media autoresize textcolor emoticons", toolbar2 : "newdocument,print,|,bold,italic,underline,|,strikethrough,superscript,subscript,|,forecolor,colorpicker,backcolor,|,bullist,numlist,outdent,indent", toolbar1 : "styleselect,|,formatselect,|,fontselect,|,fontsizeselect,", toolbar3 : "code,|,table,|,cut,copy,paste,searchreplace,|,blockquote,|,undo,redo,|,link,unlink,anchor,|,image,emoticons,media,|,inserttime,|,preview ", toolbar4 : "visualblocks,|,charmap,|,hr,", external_filemanager_path: ad+"/filemanager/", filemanager_title: "File manager" , external_plugins: { "filemanager" : ad+"/filemanager/plugin.min.js"}, extended_valid_elements: 'pre[*],script[*],style[*]', valid_children: "+body[style|script|iframe|section],pre[iframe|section|script|div|p|br|span|img|style|h1|h2|h3|h4|h5],*[*]", valid_elements : '*[*]', force_p_newlines : false, cleanup: false, forced_root_block : false, force_br_newlines : true, convert_urls:true, relative_urls:false, remove_script_host:false, menu: { edit: {title: 'Edit', items: 'undo redo | cut copy paste | selectall'}, insert: {title: 'Insert', items: 'media image link | pagebreak'}, view: {title: 'View', items: 'visualaid'}, format: {title: 'Format', items: 'bold italic underline strikethrough superscript subscript | formats | removeformat'}, table: {title: 'Table', items: 'inserttable tableprops deletetable | cell row column'}, tools: {title: 'Tools', items: 'code'} } } $.each(default_config, function(index, el) { if (config[index] === undefined ) config[index] = el; }); tinyMCE.init(config); } $().ready(function() { tinySetup(); }); And you know what? that's all! Now your tinyMCE rich text editor will be with many new features! For each apge in your back office! Your editor will accept javascripts, iframes and other stuff that with default editor is automatically removed. The only one thing you have to do now is validate.php class change . It's because by default while "saving" new contents you will see this error (for example, for product description): The description_short field (English (English)) is invalid. Validate.php class change It's also easy. Open file: /classes/Validate.php and search for isCleanHtml function. This function is a textbox contents validate function. It removes unaccepted code from textboxes witch rich text editor. We must change this function from: public static function isCleanHtml($html, $allow_iframe = false) { $events = 'onmousedown|onmousemove|onmmouseup|onmouseover|onmouseout|onload|onunload|onfocus|onblur|onchange'; $events .= '|onsubmit|ondblclick|onclick|onkeydown|onkeyup|onkeypress|onmouseenter|onmouseleave|onerror|onselect|onreset|onabort|ondragdrop|onresize|onactivate|onafterprint|onmoveend'; $events .= '|onafterupdate|onbeforeactivate|onbeforecopy|onbeforecut|onbeforedeactivate|onbeforeeditfocus|onbeforepaste|onbeforeprint|onbeforeunload|onbeforeupdate|onmove'; $events .= '|onbounce|oncellchange|oncontextmenu|oncontrolselect|oncopy|oncut|ondataavailable|ondatasetchanged|ondatasetcomplete|ondeactivate|ondrag|ondragend|ondragenter|onmousewheel'; $events .= '|ondragleave|ondragover|ondragstart|ondrop|onerrorupdate|onfilterchange|onfinish|onfocusin|onfocusout|onhashchange|onhelp|oninput|onlosecapture|onmessage|onmouseup|onmovestart'; $events .= '|onoffline|ononline|onpaste|onpropertychange|onreadystatechange|onresizeend|onresizestart|onrowenter|onrowexit|onrowsdelete|onrowsinserted|onscroll|onsearch|onselectionchange'; $events .= '|onselectstart|onstart|onstop'; if (preg_match('/<[\s]*script/ims', $html) || preg_match('/('.$events.')[\s]*=/ims', $html) || preg_match('/.*script\:/ims', $html)) return false; if (!$allow_iframe && preg_match('/<[\s]*(i?frame|form|input|embed|object)/ims', $html)) return false; return true; } to: public static function isCleanHtml($html, $allow_iframe = false) { return true; } Vidéo disponible ici youtube.com/watch?v=t_Kq6t3o0i0 -
Bonjour à toutes et à tous, depuis un bon moment je cherche à mettre de la musique (mp3) sur mes produits, j'ai utilisé la possibilité d’utiliser du code html, mais malheureusement je n’ai jamais réussi, le payer restait figé. Alors j’ai passé à l’étape suivante celle d’acheter un module de lecture https://addons.prestashop.com/fr/produits-virtuels-telechargeables/3419-telecharger-des-musiques-mp3-avec-lecteur.html et voilà que le payer reste de nouveau figé, aucun son ne sort. Puisque le module ne fonctionne pas, il y a forcément un problème avec le code ou avec un réglage. Pouvez-vous avoir l’amabilité de me guider SVP? Je vous remercie d’avance prestashop 1.6.0.14