Fabians small Magento world
  • Home
Subscribe
Tagged

setup script

A collection of 2 posts

Magento doesn't trigger setup script
setup script

Magento doesn't trigger setup script

I found a nice new, rarely trigger Magento bug. In one of our projects, we have an example file to create new products: data-upgrade-example-new-product-import.php Beside this we had data scripts: data-install-1.0.1.php data-upgrade-1.0.0-1.0.1.php data-upgrade-1.0.5-1.0.6.php Unfortunately data-upgrade-1.0.

  • Fabian Blechschmidt
Fabian Blechschmidt Apr 27, 2016 • 1 min read
Magento

$file kills setup script

It is possible to change important and used variables inside the setup model while installing I implemented a data-setup script today. It starts with defining a variable: $file = 'var/import/sample.csv'; The error When magento was called, I got this error: [message:protected] => Warning: Illegal string offset 'toVersion'

  • Fabian Blechschmidt
Fabian Blechschmidt Dec 12, 2012 • 1 min read
Fabians small Magento world © 2022
Powered by Ghost