All Activity
- Past hour
-
kikinails started following Problema errore rest password, ogni 360 minuti
-
Alcune mie clienti, oltre a mille altri errori...riscontrano un errore durate il reset della password. Nonostante lo clicchino solo una volta viene un messaggio con scritto "PUOI RIGENERARE LA TUA PASSWORD SOLO OGNI 360 MINUTI" con screen allegato
-
hypronline9 joined the community
-
Andrz2556 started following The action uninstall is not available for module
-
Hello, I made some small changes in my module and now I can`t see any of possibility changing my module like I can`t uninstall or install it or configure This code for the module <?php header("Access-Control-Allow-Origin: *"); include_once(__DIR__ . '/Ps_IntroSlider.php'); if (!defined('_PS_VERSION_')) { exit; } $autoloadPath = __DIR__ . '/vendor/autoload.php'; if (file_exists($autoloadPath)) { require_once $autoloadPath; } use introslider\Controller\AdminIntrosliderController; use PrestaShop\PrestaShop\Adapter\SymfonyContainer; use introslider\Ps_IntroSlider; class introslider extends Module { protected $_html = ''; protected $default_width = 779; protected $default_speed = 5000; protected $default_pause_on_hover = 1; protected $default_wrap = 1; protected $templateFile; public function __construct() { $this->name = 'introslider'; $this->tab = 'front_new_office_features'; $this->version = '1.0.0'; $this->author = 'HIC'; $this->need_instance = 0; $this->secure_key = Tools::encrypt($this->name); $this->bootstrap = true; $this->ps_versions_compliancy = [ 'min' => '1.6', 'max' => _PS_VERSION_, ]; $this->bootstrap = true; parent::__construct(); $this->displayName = $this->getTranslator()->trans('Intro slider', array(), 'Modules.Introslider.Admin'); $this->description = $this->l('Add new splash screen and product slides for mobile.'); $this->confirmUninstall = $this->l('Are you sure you want to uninstall?'); if (!Configuration::get('introslider')) { $this->warning = $this->l('No name provided'); } $tabNames = []; foreach (Language::getLanguages(true) as $lang) { $tabNames[$lang['locale']] = $this->trans('Introslider Admin', [], 'Modules.Introslider.Admin', $lang['locale']); } $this->tab_class = array( 'AdminIntrosliderModule' => array( 'id_parent' => 0, 'label' => $this->l('Introslider'), 'icon' => 'false' ), 'AdminIntroslider' => array( 'id_parent' => Tab::getIdFromClassName('AdminIntroslider'), 'label' => $this->l('Introslider list'), 'icon' => 'false' ) ); } public function install() { /* Adds Module */ if (parent::install() && $this->registerHook('displayHeader') && $this->registerHook('displayHome') && $this->registerHook('actionShopDataDuplication') ) { $shops = Shop::getContextListShopID(); $shop_groups_list = array(); /* Setup each shop */ foreach ($shops as $shop_id) { $shop_group_id = (int)Shop::getGroupFromShop($shop_id, true); if (!in_array($shop_group_id, $shop_groups_list)) { $shop_groups_list[] = $shop_group_id; } /* Sets up configuration */ $res = Configuration::updateValue('INTROSLIDER_SPEED', $this->default_speed, false, $shop_group_id, $shop_id); $res &= Configuration::updateValue('INTROSLIDER_PAUSE_ON_HOVER', $this->default_pause_on_hover, false, $shop_group_id, $shop_id); $res &= Configuration::updateValue('INTROSLIDER_WRAP', $this->default_wrap, false, $shop_group_id, $shop_id); } /* Sets up Shop Group configuration */ if (count($shop_groups_list)) { foreach ($shop_groups_list as $shop_group_id) { $res &= Configuration::updateValue('INTROSLIDER_SPEED', $this->default_speed, false, $shop_group_id); $res &= Configuration::updateValue('INTROSLIDER_PAUSE_ON_HOVER', $this->default_pause_on_hover, false, $shop_group_id); $res &= Configuration::updateValue('INTROSLIDER_WRAP', $this->default_wrap, false, $shop_group_id); } } /* Sets up Global configuration */ $res &= Configuration::updateValue('INTROSLIDER_SPEED', $this->default_speed); $res &= Configuration::updateValue('INTROSLIDER_PAUSE_ON_HOVER', $this->default_pause_on_hover); $res &= Configuration::updateValue('INTROSLIDER_WRAP', $this->default_wrap); /* Creates tables */ $res = $this->createTables(); return (bool)$res; } return false; } public function uninstall() { return ( parent::uninstall() && Configuration::deleteByName('INTROSLIDER_SPEED') && Configuration::deleteByName('INTROSLIDER_PAUSE_ON_HOVER') && Configuration::deleteByName('INTROSLIDER_WRAP') ); } private function manuallyInstallTab() { $res = true; $id_parent = 0; foreach ($this->tab_class as $class => $value){ $tab = new Tab(); $tab->class_name = $class; $tab->id_parent = $id_parent; $tab->module = $this->name; $tab->name[(int)Configuration::get('PS_LANG_DEFAULT')] = $value['label']; if (true == Tools::version_compare(_PS_VERSION_, '1.7.0.0', '>=') && $value['icon']) { $tab->icon = $value['icon']; } $res &= $tab->add(); if (!$id_parent) { $id_parent = (int)$tab->id; } } return $res; } private function uninstallTab() { $res = true; foreach (array_keys($this->tab_class) as $class) { $idTab = Tab::getIdFromClassName($class); if ($idTab != 0) { $tab = new Tab($idTab); $res &= $tab->delete(); } } return $res; }
-
dtsggl2024 joined the community
-
ilBofio started following Critical error x_x
-
Buongiorno Stamattina ho riscontrato questo errore in una installazione prestashop Ho attivato il debug e mi esce la seguente segnalazione ps: ho censurato il nome del sito
-
34win79club changed their profile photo
- Today
-
Al Sampedro started following EXPORTAR TODOS LOS DATOS DE UN BLOG
-
Buenos días, tengo el problema de que tengo un montón de artículos en el blog de mi tienda, el blog es EverBlog, pero este no es compatible con Elementor, y por consiguiente la cabecera que he diseñado para la tienda no funciona en las páginas del blog... ¿Alguien sabe la manera de exportar todos los datos de EverBlog a otro blog que sea compatible con Elementor? Un saludo y gracias por su ayuda. Al Sampedro, Webmaster de cacetines.com
-
Globaleyestore changed their profile photo
-
golftesterscom changed their profile photo
-
Is Silica a Mineral changed their profile photo
-
Disable "Shipped" Email Notification to Customer
skijump replied to skijump's topic in General topics
Thanks! I keep forgetting there are tabs in the pages of the Settings! (I wish the tabs never existed haha.) In PS 8.1 I went to Shop Parameters -> Order Settings -> Statues Tab and changed the email up settings for Shipped. - Yesterday
-
virtualitgroupllc changed their profile photo
-
How to add invoice fields to order list view
aliasali replied to LucasV's topic in Configuring and using PrestaShop
Hi, Did you have the solution? -
Saludos de nuevo. Le estoy dando vueltas, no escuentro una solució. Según he leido, la funcion que causa el error es "idn_to_ascii" que no la encuentra. Esta funció lo que tendria que hacer es analizar el texto de la dirección electronica para comprovar que no contiene ningún caracter que no se pueda usar en la dirección email. (acentos, simbolos. . .) Me ha pasado por la cabeza que puedo sencillamente anularla, haciendo lo siguiente: Linea actual correcta: in classes\Mail.php (line 901)--> " return $address[0] . '@' . idn_to_ascii($address[1]); " La cambio y lo dejo así. " return $address[0] . '@' . ($address[1]); " Que alguien me diga en que puede afectar este cambio en el funcionamiento general de la web. A parte de que si alguien pone un carácter no permitido en su dirección email, no será detectado y seguramente dará un error. ¿se bloqueara la web? ¿Puede crear un problema superior? ¿Hay alguna alternativa a esta función? Saludos.
-
JSON-LD error. Missing '}' or object member name
justmeagain replied to yaKay's topic in General topics
What version of PS & PHP are you using? -
Hi In the image you are showing that wont change. The ones with magnifying glasses with a plus symbol in them just denote that there are subcategories within those categories, clicking the magnifying glass will open them up for you to edit/delete/activate. If you do not have any subcategories in AR Pistols then it will only ever show the Edit option. Regards S
-
Bonjour, Savez-vous s'il est possible de paramétrer Wishlist block (module natif gratuit) sur un PS 1.7 pour que le cœur de sélection apparaisse uniquement sur la fiche produit et pas sur les listes de catégories par exemple Merci par avance pour votre partage d'expérience ! Sébastien
-
gacam67acom changed their profile photo
-
Bonjour à tous, j'ai un problème uniquement avec la barre de recherche (theme-enfant du theme par défaut) en mode debug. En mode normal tout se passe bien... Je n'arrive pas à identifier le problème. Quand il est activé (debug), si je fais une recherche ça m'affiche une liste de résultats vides de caractères et quand je clique dessus j'ai ce warning : (1/1) ContextErrorException Notice: Undefined index: category in 0cb7e44b487bf92db169a82bcefdf1c2112122ef_2.file.products.tpl.php line 41 Je vous joins des screenshot surement plus parlants. Vous auriez une idée d'où cela pourrait venir ? PI PS 1.7.7.8 & PHP 7.3. Merci par avance pour d'éventuelles solutions, pistes
-
PS 8.1.5 : Changing state of order is very slow
bliscar replied to bliscar's topic in General topics
Yes right, I increased PHP memory_limit to 1024M. But the problem still occurs. -
Hi PS members, since several weeks I'm facing a Google error while testing my web pages at search console. I get an "uncategorized error": "JSON-LD Missing '}' or object member name." Even if my knoledges are quite low on coding, structure looks ok so I totally don't understand the error. May somebody else experience the same problem too? or is just my own problem related to some editing? Here a link: https://yakay.it/varie-giocattoli/9221-magica-specchiera-toys-garden-8007632272432.html Thanks in advance for your time, Marcello
-
PHP Memory is allocated via php.ini of the PHP you are using. It needs to be raised manually.
-
PS 8.1.5 : Changing state of order is very slow
bliscar replied to bliscar's topic in General topics
Yes right, after upgrading, I double the memory of the server (which is now 4 GB). But the problem still occurs. -
twinselectric changed their profile photo
-
When you started out with your shop what version was that? People update and update and most do that on their server with resources which were purchased a while ago. Every PhP version upgrade needs more memory https://calistocode.com/how-to-increase-php-memory-limit/
-
Roombanker changed their profile photo
-
i9betgs changed their profile photo
-
Salve, una domanda Sabato ho ricevuto un ordine con consegna a Milano in un posto da dove poi spediscono a Hong Kong. ULTIMAMENTE mi arrivano ordini da cinesi che poi hanno telefoni a cui non rispondono e neanche alle mail rispondono. Pagano con carta di credito che io rifiuto sistematicamente per vari motivi . Di solito faccio il rimborso ma questa volta il rimborso è impossibile. Non ho capito perché. Paypal dice che devo farmi dare una mail per collegare il conto, perché lui ha pagato come ospite e se è un ospite non si può rimborsare.. in realtà lui ha pagato con una carta di credito e da sempre io rimborso anche le carte di credito con Paypal Checkout e non solo quelli che hanno un account Paypal. Io non capisco se stanno tentando di truffarmi. Io non posso rimborsare e loro mi faranno un chargeback probabilmente. Ho cercato di googlere il dominio della mail inctart.com con cui questo cinese si è iscritto. Non ho ben capito ma sembra un dominio che si usa per mail momentanee (io ho capito così) A voi è mai capitata una cosa dio questo genere parlo ai webmaster ma anche ai commercianti. Grazie se potrete aiutarmi Sara
-
PS 8.1.5 : Changing state of order is very slow
Prestashop Addict replied to bliscar's topic in General topics
Maybe a module, look at modules hooked in actionOrderStatusPostUpdate -
Hi, My VPS went down due to a connectivity issue on the hosting side, so I had to temporarily move the backup to another server. After it went online again, I wanted to export and import the database, but someone had already placed a new order on the production server before I got the chance to go into maintenence mode and do this. How can I export and import a single customer and order from the database on my backup server to the production server? (and, of course use a new customer and order ID) Thank you.