sunnysmoker Posted August 8, 2013 Share Posted August 8, 2013 Hello everybody! This is the first time I work on Prestashop. I started designing, configuring and adding content on a local server using Wamp for windows, and everything went fine! When I tried to migrate from local to live server, in the front office, I only had the header and horizontal menu displayed, no footer, no product... meanwhile, the back office is OK. I turned on the error display, and here is the result, on a product page: Warning: Invalid argument supplied for foreach() in /homez.428/happysmo/www/new/classes/tax/TaxRulesTaxManager.php on line 97 Warning: Invalid argument supplied for foreach() in /homez.428/happysmo/www/new/controllers/front/ProductController.php on line 346 Warning: Invalid argument supplied for foreach() in /homez.428/happysmo/www/new/controllers/front/ProductController.php on line 513 Warning: Invalid argument supplied for foreach() in /homez.428/happysmo/www/new/classes/Tab.php on line 261 Any suggestion or help please! Thank you. Link to comment Share on other sites More sharing options...
kubaz Posted August 8, 2013 Share Posted August 8, 2013 Hi sunnysmoker, Are you sure you've copied the whole database? Link to comment Share on other sites More sharing options...
sunnysmoker Posted August 8, 2013 Author Share Posted August 8, 2013 Hi sunnysmoker, Are you sure you've copied the whole database? Yes, and I've done this many times, but still get the same error... Link to comment Share on other sites More sharing options...
sunnysmoker Posted August 8, 2013 Author Share Posted August 8, 2013 (edited) Server Informations Server informations: Linux #2 SMP Wed May 15 18:28:22 CEST 2013 x86_64 Server version: Apache PHP version: 5.2.17 Memory limit: 128M Maximal execution time (max_execution_time): 120 Database informations MySQL version: 5.1.66-0+squeeze1-log MySQL engine: MyISAM Table prefix: ss_ Store information PrestaShop version: 1.5.4.1 Used theme: magari Edited August 9, 2013 by sunnysmoker (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted August 8, 2013 Share Posted August 8, 2013 did you first run the ps installer (use the native ps release you shop is based on) to determine your server compatibility? In other words have you ever run ps on in that hosting environment? Link to comment Share on other sites More sharing options...
sunnysmoker Posted August 8, 2013 Author Share Posted August 8, 2013 did you first run the ps installer (use the native ps release you shop is based on) to determine your server compatibility? In other words have you ever run ps on in that hosting environment? Yes, I even tried a clean installation, and everything went fine The problem only occurs when I load the backup I've made from my local copy. Link to comment Share on other sites More sharing options...
El Patron Posted August 8, 2013 Share Posted August 8, 2013 Yes, I even tried a clean installation, and everything went fine The problem only occurs when I load the backup I've made from my local copy. can you give us an idea of the steps you used to move from local to remote. also: back office-->advanced parameters-->scroll down to 'list of changed files', post the changed files here (screen shot) Link to comment Share on other sites More sharing options...
sunnysmoker Posted August 8, 2013 Author Share Posted August 8, 2013 Sure! - Export database from local server (290 tables) - find and replace db name and some URLs - Import it to live server (290 tables) - Copy the files using FTP - modify "settings.inc.php" the list of modified files is long, so I'll paste it in "Pastebin.com", here is it http://pastebin.com/xpg34uy4 Thanks for your help! Link to comment Share on other sites More sharing options...
El Patron Posted August 8, 2013 Share Posted August 8, 2013 can you pm me your front office logon and link please Link to comment Share on other sites More sharing options...
sunnysmoker Posted August 8, 2013 Author Share Posted August 8, 2013 can you pm me your front office logon and link please Sent Link to comment Share on other sites More sharing options...
sunnysmoker Posted August 29, 2013 Author Share Posted August 29, 2013 Hi again! the bug disappeared magically, then, when I made the migration, it appears again and now, I'm still trying without success any help will be much appreciated! Thank you Link to comment Share on other sites More sharing options...
kubaz Posted August 29, 2013 Share Posted August 29, 2013 Hi, Can you pm your access details. Thanks Link to comment Share on other sites More sharing options...
sunnysmoker Posted August 29, 2013 Author Share Posted August 29, 2013 Hi, Can you pm your access details. Thanks wich one, FTP or back office? Regards, Link to comment Share on other sites More sharing options...
kubaz Posted August 29, 2013 Share Posted August 29, 2013 I may need both Link to comment Share on other sites More sharing options...
register25 Posted December 18, 2013 Share Posted December 18, 2013 Hello have you found where is problem as i have the same issue Link to comment Share on other sites More sharing options...
sunnysmoker Posted December 18, 2013 Author Share Posted December 18, 2013 Hello have you found where is problem as i have the same issue It was the server php version! Link to comment Share on other sites More sharing options...
register25 Posted December 18, 2013 Share Posted December 18, 2013 My server configuration is: PHP version: 5.3.28 Memory limit: 128M Max execution time: 300 Which version i need to choose to avoid this problem? Thanks Link to comment Share on other sites More sharing options...
sunnysmoker Posted December 18, 2013 Author Share Posted December 18, 2013 My server configuration is: PHP version: 5.3.28 Memory limit: 128M Max execution time: 300 Which version i need to choose to avoid this problem? Thanks when I had this issue, I was using a previous version, but now I'm on "5.3.3-7+squeeze17" and everything is fine... Try to disable your modules one by one to identify the source of the issue and let us know! Link to comment Share on other sites More sharing options...
Recommended Posts