daviddado Posted September 27, 2013 Share Posted September 27, 2013 Hello please help, when i try to generate sitemap on my site www.hollistertrends.sk through google sitemap module i get error: Warning: array_key_exists() expects parameter 2 to be array, boolean given in /home/webspace/hollistertrends.sk/www/html/modules/gsitemap/gsitemap.php on line 658 Warning: Cannot modify header information - headers already sent by (output started at /home/webspace/hollistertrends.sk/www/html/modules/gsitemap/gsitemap.php:658) in /home/webspace/hollistertrends.sk/www/html/classes/exception/PrestaShopException.php on line 37 [PrestaShopDatabaseException]Unknown column 'ms.id_shop' in 'where clause' SELECT m.`id_manufacturer` FROM `ps_manufacturer` m INNER JOIN `ps_manufacturer_lang` ml on m.`id_manufacturer` = ml.`id_manufacturer` WHERE m.`active` = 1 AND m.`id_manufacturer` > 0 AND ms.`id_shop` = 1 AND ml.`id_lang` = 2 ORDER BY m.`id_manufacturer` ASCat line 613 in file classes/db/Db.php 607. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);608. }609. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))610. {611. if ($sql)612. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');613. throw new PrestaShopDatabaseException($this->getMsgError());614. }615. }616.617. /** DbCore->displayError - [line 313 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 488 - classes/db/Db.php] - [1 Arguments] DbCore->executeS - [line 394 - modules/gsitemap/gsitemap.php] - [1 Arguments] Gsitemap->_getManufacturerLink - [line 529 - modules/gsitemap/gsitemap.php] - [5 Arguments] Gsitemap->createSitemap - [line 135 - modules/gsitemap/gsitemap.php] - [0 Argument] Gsitemap->getContent - [line 675 - controllers/admin/AdminModulesController.php] - [0 Argument] AdminModulesControllerCore->postProcessCallback - [line 801 - controllers/admin/AdminModulesController.php] - [0 Argument] AdminModulesControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 50 - admin6529/index.php] - [0 Argument] Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 Hello! We have done some updates to the gsitemap module. What version of the gsitemap module are you using? Link to comment Share on other sites More sharing options...
daviddado Posted September 27, 2013 Author Share Posted September 27, 2013 2.2.10 but this error occurs always when i want to install any application..... Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 Hello, can you check with your hosting provider to make sure that magic_quotes is turned off. Link to comment Share on other sites More sharing options...
daviddado Posted September 27, 2013 Author Share Posted September 27, 2013 yes they are diasabled Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 I would definitely check with your hosting provider to see what the issue wit the server is. When did this problem start happening, can you give us a few more details. Link to comment Share on other sites More sharing options...
daviddado Posted September 27, 2013 Author Share Posted September 27, 2013 it started wgen i moved website from one hosting peovider to another .... i copied ftp and databases.... and i cannont install any application now ..... Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 Yes, I would say that you need to contact your hosting provider to see what the issue is. The problem occurred with the migration and I would expect the php or apache error log can tell you more. Link to comment Share on other sites More sharing options...
Recommended Posts