Jump to content

Recommended Posts

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

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 by sunnysmoker (see edit history)
Link to comment
Share on other sites

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

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

  • 3 weeks later...
  • 3 months later...

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

×
×
  • Create New...