Jump to content

JRCFirewalker

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Activity
    User/Merchant

Recent Profile Visitors

2,059,097 profile views

JRCFirewalker's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

1

Reputation

  1. Ok, a very stupid "solution" to the issue that never pops up into my mind I'm posting just for other newbies like me: refresh the cache FROM BACKOFFICE after applying the changes to the code...any other newbie mean won't work Now Google is validating the changes, assessing whether they're effective or not. It says it will take some days for it. I'll keep you updated. @Daresh thank you for your prompt support! Very appreciated!
  2. I used your module, but Google keeps pointing out there are 3 products not fulfilling breadcrumb requirements. As far as I understand, this mod addresses the issue on the entire theme and anyway the issue itself shouldn't be related to single items, am I wrong?
  3. Check your file manager is showing hidden files: there should be a setting for this in the user interface
  4. In parte sì e in parte no, nel senso che il problema risiede effettivamente nel time-out del server, per cui ho "risolto" acquistando un modulo che mi permette di caricare i listini "a pezzi" senza intasare il server. Il problema resta per tutte quelle operazioni lunghe che vanno oltre i listini. Per il momento non ho molto tempo per testare il tuo suggerimento, ma appena ho un attimo provo Grazie!
  5. IMO it must be something related to a hidden 504 error, because it alternates with this one, but I'm not sure. The good thing is the products list get updated anyway. Another possibility may be the tags creation process called by the query, but again I don't know... SQL version is 5.5.48cll
  6. Hello everybody, from a couple of days I receive the following error while trying to upload a csv file. Can you help me out? [PrestaShopDatabaseException]Deadlock found when trying to get lock; try restarting transaction INSERT INTO `ps_product_tag` (`id_tag`, `id_product`, `id_lang`) VALUES (1,43,1),(22981,43,1),(387,43,1),(22982,43,1) at line 791 in file classes/db/Db.php 786. if ($webservice_call && $errno) { 787. $dbg = debug_backtrace(); 788. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 790. if ($sql) { 791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 792. } 793. 794. throw new PrestaShopDatabaseException($this->getMsgError()); 795. } 796. } DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments]420. $this->result = $this->_query($sql); 421. } 422. } 423. 424. if (_PS_DEBUG_SQL_) { 425. $this->displayError($sql); 426. } 427. 428. return $this->result; 429. } 430. DbCore->query - [line 601 - classes/db/Db.php] - [1 Arguments]596. { 597. if ($sql instanceof DbQuery) { 598. $sql = $sql->build(); 599. } 600. 601. $this->result = $this->query($sql); 602. if ($use_cache && $this->is_cache_enabled) { 603. Cache::getInstance()->deleteQuery($sql); 604. } 605. 606. return (bool)$this->result; DbCore->execute - [line 131 - classes/Tag.php] - [1 Arguments]126. } 127. $data = rtrim($data, ','); 128. 129. $result = Db::getInstance()->execute(' 130. INSERT INTO `'._DB_PREFIX_.'product_tag` (`id_tag`, `id_product`, `id_lang`) 131. VALUES '.$data); 132. 133. if ($list != array()) { 134. self::updateTagCount($list); 135. } 136. TagCore::addTags - [line 1796 - controllers/admin/AdminImportController.php] - [4 Arguments]1791. foreach ($tags as $one_tag) { 1792. $str .= $one_tag.$this->multiple_value_separator; 1793. } 1794. $str = rtrim($str, $this->multiple_value_separator); 1795. 1796. $is_tag_added = Tag::addTags($key, $product->id, $str, $this->multiple_value_separator); 1797. if (!$is_tag_added) { 1798. $this->addProductWarning(Tools::safeOutput($info['name']), (int)$product->id, 'Invalid tag(s) ('.$str.')'); 1799. break; 1800. } 1801. } AdminImportControllerCore->productImport - [line 3503 - controllers/admin/AdminImportController.php]3498. case $this->entities[$import_type = $this->l('Categories')]: 3499. $this->categoryImport(); 3500. $this->clearSmartyCache(); 3501. break; 3502. case $this->entities[$import_type = $this->l('Products')]: 3503. $this->productImport(); 3504. $this->clearSmartyCache(); 3505. break; 3506. case $this->entities[$import_type = $this->l('Customers')]: 3507. $this->customerImport(); 3508. break; AdminImportControllerCore->postProcess - [line 178 - classes/controller/Controller.php]173. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 174. $this->setMedia(); 175. } 176. 177. // postProcess handles ajaxProcess 178. $this->postProcess(); 179. 180. if (!empty($this->redirect_after)) { 181. $this->redirect(); 182. } 183. ControllerCore->run - [line 367 - classes/Dispatcher.php]362. if (isset($params_hook_action_dispatcher)) { 363. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 364. } 365. 366. // Running controller 367. $controller->run(); 368. } catch (PrestaShopException $e) { 369. $e->displayMessage(); 370. } 371. } 372. DispatcherCore->dispatch - [line 58 - admin/index.php]53. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) { 54. $_REQUEST['controller'] = strtolower($_REQUEST['tab']); 55. } 56. 57. // Prepare and trigger admin dispatcher 58. Dispatcher::getInstance()->dispatch();
  7. Salve a tutti, da qualche giorno quando provo a caricare un file csv (o a fare anche altre operazioni), ricevo il seguente errore: potreste darmi una mano? Grazie [PrestaShopDatabaseException]Deadlock found when trying to get lock; try restarting transaction INSERT INTO `ps_product_tag` (`id_tag`, `id_product`, `id_lang`) VALUES (1,43,1),(22981,43,1),(387,43,1),(22982,43,1) at line 791 in file classes/db/Db.php 786. if ($webservice_call && $errno) { 787. $dbg = debug_backtrace(); 788. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97); 789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 790. if ($sql) { 791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 792. } 793. 794. throw new PrestaShopDatabaseException($this->getMsgError()); 795. } 796. } DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments]420. $this->result = $this->_query($sql); 421. } 422. } 423. 424. if (_PS_DEBUG_SQL_) { 425. $this->displayError($sql); 426. } 427. 428. return $this->result; 429. } 430. DbCore->query - [line 601 - classes/db/Db.php] - [1 Arguments]596. { 597. if ($sql instanceof DbQuery) { 598. $sql = $sql->build(); 599. } 600. 601. $this->result = $this->query($sql); 602. if ($use_cache && $this->is_cache_enabled) { 603. Cache::getInstance()->deleteQuery($sql); 604. } 605. 606. return (bool)$this->result; DbCore->execute - [line 131 - classes/Tag.php] - [1 Arguments]126. } 127. $data = rtrim($data, ','); 128. 129. $result = Db::getInstance()->execute(' 130. INSERT INTO `'._DB_PREFIX_.'product_tag` (`id_tag`, `id_product`, `id_lang`) 131. VALUES '.$data); 132. 133. if ($list != array()) { 134. self::updateTagCount($list); 135. } 136. TagCore::addTags - [line 1796 - controllers/admin/AdminImportController.php] - [4 Arguments]1791. foreach ($tags as $one_tag) { 1792. $str .= $one_tag.$this->multiple_value_separator; 1793. } 1794. $str = rtrim($str, $this->multiple_value_separator); 1795. 1796. $is_tag_added = Tag::addTags($key, $product->id, $str, $this->multiple_value_separator); 1797. if (!$is_tag_added) { 1798. $this->addProductWarning(Tools::safeOutput($info['name']), (int)$product->id, 'Invalid tag(s) ('.$str.')'); 1799. break; 1800. } 1801. } AdminImportControllerCore->productImport - [line 3503 - controllers/admin/AdminImportController.php]3498. case $this->entities[$import_type = $this->l('Categories')]: 3499. $this->categoryImport(); 3500. $this->clearSmartyCache(); 3501. break; 3502. case $this->entities[$import_type = $this->l('Products')]: 3503. $this->productImport(); 3504. $this->clearSmartyCache(); 3505. break; 3506. case $this->entities[$import_type = $this->l('Customers')]: 3507. $this->customerImport(); 3508. break; AdminImportControllerCore->postProcess - [line 178 - classes/controller/Controller.php]173. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) { 174. $this->setMedia(); 175. } 176. 177. // postProcess handles ajaxProcess 178. $this->postProcess(); 179. 180. if (!empty($this->redirect_after)) { 181. $this->redirect(); 182. } 183. ControllerCore->run - [line 367 - classes/Dispatcher.php]362. if (isset($params_hook_action_dispatcher)) { 363. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 364. } 365. 366. // Running controller 367. $controller->run(); 368. } catch (PrestaShopException $e) { 369. $e->displayMessage(); 370. } 371. } 372. DispatcherCore->dispatch - [line 58 - admin/index.php]53. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) { 54. $_REQUEST['controller'] = strtolower($_REQUEST['tab']); 55. } 56. 57. // Prepare and trigger admin dispatcher 58. Dispatcher::getInstance()->dispatch();
  8. Hello everybody! After upgrade buttons don't work anymore, image sliding and drop-down menus neither! Try yourself here: www.wbsgames.com The cookie alert button dosn't work and I can't change language or anything else: seems any event automation is failing! Any help is very appreciated!
  9. Same here and no event is working: no hoovering, no button click on cookies banner, no transitions......
  10. Ciao a tutti ho effettuato l'aggiornamento a 1.6.1.1 da 1.6.0 ma dopo averlo fatto i pulsanti dei bottoni (tipo quello dell'infomativa dei cookies), l'evento hoovering e molti altri automatismi del sito non funzionano più. per chi volesse dargli un'occhiata: www.wbsgames.com Qualcuno ha un'idea? Grazie dell'aiuto
  11. Ciao a tutti. Quando vado a importare il mio file csv dei prodotti, pur avendo modificato le singole righe della colonna Action when out of stock con i valori 0 per non ordinabile, 1 per ordinabile, 2 default, al termine dell'importazione TUTTI i prodotti sono settati sull'opzione default. In questo modo non riesco a gestire i prodotti di cui ho un magari un solo esemplare in casa e che però sono fuori produzione, dato che in default posso solo permettere l'ordine (quindi me ne possono ordinare 2 anche se non ne ho), oppure negare l'ordine (per cui quell'unico esemplare mi rimarrà in casa per sempre). Grazie!
  12. In teoria concordo in pieno: ho speso già migliaia di euro affidando il sito ad aziende esperte, comprando moduli che non funzionavano e il risultato è che mi ritrovo punto e a capo...ma senza soldi, per cui non mi posso permettere di rifare un sito ex-novo. Detto questo, mi chiedo: come mai facendo il regenerate thumbnail il 50% delle foto è scomparsa e il 50% no? Come mai sono scomparse pur avendo cliccato "non cancellare le immagini pre-esistenti"? Soprattutto, Mi date un sistema valido per ricaricare le foto senza doverci impiegare mesi? Questo argomento mi sembra tornare su centinaia di topics in tutte le lingue senza che si arrivi ad una soluzione, almeno dal mio punto di vista. Spero di sbagliarmi e di ricevere validi suggerimenti in merito. Grazie!!
  13. Ogni volta che si mette mano a prestashop succede qualche catastrofe... oggi ho provato a caricare il nuovo logo da BO e sul pc su cui lavoro funziona, ma su gli altri e tablet no. Ok, refresh delle thumbnails e risultato: perso tutte le immagini, tranne alcune sporadiche. Ora per ricaricarle ci vorranno mesi..... Mi aiutate per cortesia per lo meno a far comparire il logo sulla home page? Grazie www.wbsgames.com Aggiornamento: sono riuscito a far comparire il logo anche sui tablet, sebbene il BO continui a fare uno swap delle immagini quando carichi un file del template: ad esempio se carico il logo dell'header mobile mi sostituisce tutti gli altri a cascata e viceversa, per cui storia infinita...ma alla fine ci sono riuscito partendo dal più in basso (credo sia invoice) e risalendo verso l'altro. ORA PASSIAMO AL VERO PROBLEMA: normalmente carico le foto UNA AD UNA perchè con 12000 foto da uploadare non vado certo a rinominarle per farle caricare a questa carretta via csv. Mi date qualche consiglio SERIO per fare questo lavoro senza che richieda MIGLIAIA DI ORE DI LAVORO? Ho già perso troppo tempo con questo schifo di programma. Grazie
×
×
  • Create New...