Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

mail_open
Magmi Works on local but not running on Server
Avatar
rossmchugh

Excellent
June 26, 2015 - 1:44 pm
Member Since: June 9, 2015
Forum Posts: 14
sp_UserOfflineSmall Offline

I have magmi almost running as I wish on my local machine and I set it up on my server to add some test products and categories.

When I try to run it on the server it just hangs on Import Mode: Create when I run the import. See attached.

It works fine on my local machine and I think I have all my permissions set up correctly.

Capture-1.JPGImage Enlarger

Just checked my nginx server error logs and found these notices & error.

Catchable fatal error: Object of class Magmi_ProductImportEngine could not be converted to string in /var/www/qa-hoi/magmi-importer/inc/magmi_mixin.php on line 9

This is the magmi_mixin.php file

<?php
class Magmi_Mixin
{
protected $_callers;

public function bind($caller)
{
$this->_callers[]=$caller;
$this->_callers=array_unique($this->_callers); // LINE 9
}

public function unbind($caller)
{

$ks=array_keys($this->_callers,$caller);
if(count($ks)>0)
{
foreach($ks as $k)
{
unset($this->_callers[$k]);
}
}

}

public function __call($data,$arg)
{
if(substr($data,0,8)=="_caller_")
{
$data=substr($data,8);
}
for($i=0;$i<count($this->_callers);$i++)
{
if(method_exists($this->_callers[$i],$data))
{
return call_user_func_array(array($this->_callers[$i],$data), $arg);
}
else
{
die("Invalid Method Call: $data – Not found in Caller");
}
}
}
}

sp_PlupAttachments Attachments
Avatar
Dave Furness

Founder
June 29, 2015 - 7:53 pm
Member Since: July 19, 2013
Forum Posts: 4606
sp_UserOfflineSmall Offline

Hi Ross,

Hmmm we have never needed to run Magmi on a local setup, but I will see if Matt can help here…otherwise it might be one for Sebastian at Magmi.

Dave

Every expert was once a beginner

Avatar
rossmchugh

Excellent
June 30, 2015 - 8:19 am
Member Since: June 9, 2015
Forum Posts: 14
sp_UserOfflineSmall Offline

Thanks Dave,

I’d really appreciate Matt or Sebastian’s help.

To clarify it works fine on my local setup but not on my server which runs facebook’s HHVM technology to improve performance/speed. I’m almost certain HHVM is conflicting with Magmi as it requires very strict PHP.

I posted my problem on StackOverflow which has more details.
http://stackoverflow.com/q/310…..35/1814446

Also I reported the issue on HHVM’s & Magmi‘s GitHub page.
https://github.com/facebook/hhvm/issues/5551
https://github.com/dweeves/magmi-git/issues/286

Avatar
Matthew Ogborne

Founder
July 2, 2015 - 12:37 pm
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Howdy Ross,

Yep thats the best place to raise that issue as it’s not something we can help with.

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Avatar
rossmchugh

Excellent
July 7, 2015 - 8:31 am
Member Since: June 9, 2015
Forum Posts: 14
sp_UserOfflineSmall Offline

Ok Matt, can you mention it to Sebastian aswell if you’re acquainted with him.

 

Why Should You Join UnderstandingE?

 
  • Access to over 500 step-by-step video tutorials
  • +20 video courses available
  • Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
  • Everything is in 100% Plain English
  • Learn how to build your own multi-channel software for eBay & Amazon
  • Access to the community forums, meet fellow business owners like yourself

Join Now with 2 Clicks

 

Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.

 

Forum Timezone: Europe/London

Most Users Ever Online: 1012

Currently Online:
23 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Jim @ Moogento: 688

Steve Froggatt: 514

Badeth - UE: 513

Jimbob: 453

Paul Cartwright: 414

Forum Stats:

Groups: 6

Forums: 37

Topics: 5223

Posts: 27502

Administrators: Matthew Ogborne: 4565, Dave Furness: 4606