
ginotoffoli
Members-
Posts
17 -
Joined
-
Last visited
Everything posted by ginotoffoli
-
Purtroppo ancora nulla. Tuttavia penso che il problema sia il server live che probabilmente blocca l'esecuzione di long query e quindi anche dell'indicizzazione, infatti in locale tutto funziona perfettamente. Ho provato a copiare le tabelle ps_search_word e ps_search_index da locale a live ma inizialmente la ricerca non funziona e poco dopo la tabella ps_search_index torna a 0 righe.
-
Mi potresti dire come devono essere settati i permessi delle cartelle? Grazie per il tuo supporto
-
Dimenticavo di dire che fino a poco tempo fa l'indicizzazione funzionava perfettamente.
-
Grazie per la risposta. Ho provato già a svuotare le tabelle e rifare l'indicizzazione. Purtroppo non succede nulla. Ogni volta che clicco su -> Aggiungi i prodotti mancanti all'indice. -> Ricostruire l'intero indice. la pagina carica qualche secondo e poi mi da "aggiornato con successo" ma non è stato indicizzato alcun prodotto: I prodotti indicizzati sono stati analizzati da PrestaShop e appariranno nei risultati della ricerca in front office Prodotti indicizzati 0 / 14761. Ecco il mio file php.ini Ho provato anche a mettere il db in locale. Riesco a fare tranquillamente l'indicizzazione di tutti i prodotti. Esportando poi le tabelle ps_search_index e ps_search_word sul server live no cambia nulla, i prodotti indicizzati risultano sempre 0, inoltre se provo ad aggiungere i prodotti mancanti all'indice le tabelle vengono svuotate.
-
Qualcuno ha risolto il problema? Presta 1.5.6 Server OVH
-
Cannot rebuild search index
ginotoffoli replied to kernowit's topic in Configuring and using PrestaShop
Me too!! Please help -
Salve, da qualche giorno anche io ho lo stesso problema, non solo non riesco ad indicizzare i prodotti, ma nemmeno riesco ad inserirne di nuovi. Immagino che sia un problema dell'hosting, ma non so cosa possa aver provocato il problema. Il resto del sito funziona correttamente. Aiuto!
-
Hi, Since 2 days I am not anymore able to load CSV files or reindex the products. About CSV the website return timout error even with one only product or category. About reindex when I click on add missing product to the index the website return operation sussesfull but no actions are execute and no products are added. The website works properly http://store.otticapomezia.it but I am not able to update it anymore via CSV. Please suggest me some actions to take, it could be a problem with DB, my hosting is OVH with a private Sql. Everythings worked fine about one month ago, maybe the statistics create problems in the last period.
-
- timeout
- new product
-
(and 2 more)
Tagged with:
-
Hi, I am developing a script to automatic import csv files in prestashop 1.5.6. I know that there are modules out there but I am doing a custom one. This is the script I'am using is from here and it works for categories and products, but I have problems on combinations. I am trying to understand how to add combinations. <?php define('_PS_ADMIN_DIR_', getcwd()); include(_PS_ADMIN_DIR_.'/../config/config.inc.php'); include(_PS_ADMIN_DIR_.'/functions.php'); if (!isset($_GET['entity'])) die(); $import = new AdminImportController(); switch ($_GET['entity']) { case 0: loadCategoriesPost(); $import->categoryImport(); break; case 1: loadProductsPost(); $import->productImport(); break; case 2: loadCombinationsPost(); $import->attributeImport(); break; } function loadCategoriesPost() { $_POST = array ( 'tab' => 'AdminImport', 'skip' => '1', 'csv' => '20131209133157-categoria2.csv', 'convert' => '', 'entity' => '0', 'separator' => ';', 'multiple_value_separator' => ',', 'import' => '1', 'iso_lang' => 'es', 'forceIDs' => '1', 'type_value' => array ( 0 => 'id', 1 => 'active', 2 => 'name', 3 => 'parent', 4 => 'is_root_category', 5 => 'description', 6 => 'meta_title', 7 => 'meta_keywords', 8 => 'meta_description', 9 => 'link_rewrite', 10 => 'image', 11 => 'shop' ), ); } function loadProductsPost() { $_POST = array ( 'tab' => 'AdminImport', 'skip' => '1', 'csv' => '20131210093530-productos2.csv', 'convert' => 'on', 'regenerate' => '', 'entity' => '1', 'iso_lang' => 'es', 'match_ref' => '1', 'separator' => ';', 'multiple_value_separator' => ',', 'import' => '1', 'type_value' => array ( 0 => 'id', 1 => 'active', 2 => 'name', 3 => 'category', 4 => 'price_tex', 5 => 'id_tax_rules_group', 6 => 'wholesale_price', 7 => 'on_sale', 8 => 'reduction_price', 9 => 'reduction_percent', 10 => 'reduction_from', 11 => 'reduction_to', 12 => 'reference', 13 => 'supplier_reference', 14 => 'supplier', 15 => 'manufacturer', 16 => 'ean13', 17 => 'upc', 18 => 'ecotax', 19 => 'width', 20 => 'height', 21 => 'depth', 22 => 'weight', 23 => 'quantity', 24 => 'minimal_quantity', 25 => 'visibility', 26 => 'additional_shipping_cost', 27 => 'unity', 28 => 'unit_price_ratio', 29 => 'description_short', 30 => 'description', 31 => 'tags', 32 => 'meta_title', 33 => 'meta_keywords', 34 => 'meta_description', 35 => 'link_rewrite', 36 => 'available_now', 37 => 'available_later', 38 => 'available_for_order', 39 => 'available_date', 40 => 'date_add', 41 => 'show_price', 42 => 'image', 43 => 'delete_existing_images', 44 => 'features', 45 => 'online_only', 46 => 'condition', 47 => 'customizable', 48 => 'uploadable_files', 49 => 'text_fields', 50 => 'out_of_stock', 51 => 'advanced_stock_management', 52 => 'shop' ), ); function loadCombinationsPost() { $_POST = array ( 'tab' => 'AdminImport', 'skip' => '1', 'csv' => 'comb.csv', 'convert' => 'on', 'entity' => '2', 'iso_lang' => 'it', 'separator' => ';', 'multiple_value_separator' => ',', 'type_value' => array ( 0 => 'id_product', 1 => 'group', 2 => 'attribute', 3 => 'quantity', 4 => 'reference' ), ); }
-
Mymodule translation problem
ginotoffoli replied to ginotoffoli's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
SOLVED!! The solution was to update the translation selecting the theme and not the default translation. In the theme folder PS made all the new translations files. -
Mymodule translation problem
ginotoffoli replied to ginotoffoli's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Do I have to reinstall the module? The strange thing is that in the translation page I have 3 fields that result translated, but this fields does not appear in any files within my module. -
Mymodule translation problem
ginotoffoli replied to ginotoffoli's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Thank you! I solved the problem with the template, but adding language variables they do not appear in the translation page and I do not get translations on the website changing languages. -
Hi, I did a my own module. Everything works fine, but now I have problems with translation. I created two files en.php and it.php.When I put in the mymodule.tpl file something like {1 s='Choose lens pack' mod='mymodule'} it appears in the module translation page where I can update the translation, but looking in the files in the module folder they are not updated and changing language on the website it does not translate 'Choose lens pack' in the language selected. Moreover, if I add another {1 s='Choose another lens pack' mod='mymodule'} the result is a blank page and it does not appear in the translation page. Any idea?
-
Can't Rebuild Index
ginotoffoli replied to soluthier's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
A solution could be to perform it on a local copy of the site and then replace the DB on the live website. Gino -
I have a problem with product text fields customization. I added two text customization fields to a product and one upload field and I gave them label names and checked the request option. I saved the product and I cleared the cache but the text fields do not appear on the product page. Must this fields be connected to particular options to be visible? Thank in advance. Gino
-
[Solved] Top Horizontal Menu sub category depth = 1
ginotoffoli replied to yaniv14's topic in Core developers
Yaniv, you are the man!!