Question

I'm having a problem where Magmi isn't saving the selected import option when clicking Save Profile. When clicking Save Profile, the page looks like it just refreshes, and the checkmarks don't show on the next page load. Everything works fine on stage/prod, just not in my dev/local environment on my Mac. I have updated the conf and ini files to match the Mac filesystem.

I wondered if anyone else has come across this situation and if they found a possible fix.

Thanks, Mark

Was it helpful?

Solution

Eh.. something with permissions. Not sure exactly which files, but chmod'ing everything 777 fixes it (and is fine on local). Maybe something with mod_security or Mac ssh security...

OTHER TIPS

Magmi needs to have 777 to conf, plugins and state to run without erros. BUT: Especially having your magmi.ini set to 777 is a big security risk, since Magmi is storing your database password in plain text in that file. If you have installed Magmi in your htdocs root, everyone can easily access it via yourdomain.com/magmi/conf/magmi.ini So setting everything to 777 is irresponsible. It's really sad that even in the Magmi wiki they recommend this without any notice.

If you need to access Magmi via web you should put a .htaccess file in your Magmi root and restrict access to either your IP if you have a static one, or set up a password protection for this directory.

Make sure you have correct permission to the magmi folders

  • Normal operation magmi needs following folders magmi/conf and magmi/state web-server user write and read permission

  • To install Extension or upgrade, its need the whole magmi dirs & subdirs should be writeable by the web server (Assuming you are doing the upgrade using web-UI)

  • If you are using magmi.cli.php to run profile, you don't need webserver write permission

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top