Jump to content

changing domain and directory

Recommended Posts


I've tied to change prestashop 1.6 latest version of domain and directory to put it on my local wamp


I've these errors

Warning: Invalid argument supplied for foreach() in D:\wamp2013\www\prestashop_comptoir\classes\shop\Shop.php on line 321


Fatal error: Call to a member function fetch() on a non-object in D:\wamp2013\www\prestashop_comptoir\classes\db\DbPDO.php on line 101


Have you an idea



Link to comment
Share on other sites

  • 6 months later...



thanks for reply. I am sure that DB acces is OK.


Here is problem function:


97**public function nextRow($result = false)
99**if (!$result)
100**$result = $this->result;
101**return $result->fetch(PDO::FETCH_ASSOC);
97** ... are lines imagine it without this numbers and **
Link to comment
Share on other sites

  • Create New...