By Mel on Friday, 31 January 2014
Posted in General
Replies 9
Likes 0
Views 2.2K
Votes 0
I have recently upgraded my site to Joomla 3 and Jomsocial Socialize template. Everything is working fine, except for the easyblog plugins. I have so far resolved the issue with Jomsocial profiles, but now trying to figure out how to fix the Events plugin.

I get the following error when I try to vie an event:

Notice: Undefined variable: isFile in /home/mysite/public_html/plugins/system/eventeasyblog/eventeasyblog.php on line 407

Notice: Undefined property: plgSystemEventEasyBlog::$parser in /home/mysite/public_html/plugins/system/eventeasyblog/eventeasyblog.php on line 409

Fatal error: Call to a member function xpath() on a non-object in /home/mysite/public_html/plugins/system/eventeasyblog/eventeasyblog.php on line 409

I have examined the eventeasyblog.php file, and it seems to relate to this section:

if( EasyBlogHelper::getJoomlaVersion() >= '3.0' )
{
$parser = JFactory::getXML( $contents , $isFile );

$version = $this->parser->xpath( 'version' );
return $version[0 ];
}

$parser = JFactory::getXMLParser('Simple');
$parser->loadString( $contents );

$version = $parser->document->getElementByPath( 'version' );
$version = $version->data();


I tried changing the value for Jooma to the version installed on my site "3.2.1" and it got rid of 2 of the errors, leaving just:

Fatal error: Call to undefined method JFactory::getXMLParser() in /home/mysite/public_html/plugins/system/eventeasyblog/eventeasyblog.php on line 413

I am not sure how to correct this, or what is causing it.
Hello Mel,

I am sorry for the delay of this reply as it is actually a long holiday for us here in Malaysia. Can you please provide us with the back end and FTP access to the site?
·
Friday, 31 January 2014 19:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,

this is not my registered site, but I am upgrading my registered site too so these same errors will occur on that too. I have added the details you requested below.

Mel
Mel
·
Friday, 31 January 2014 19:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mel,

I tried to login to your site's back end but it doesn't seem to work. This is what I am getting, http://screencast.com/t/ZHeLhZFMeEJ
·
Saturday, 01 February 2014 01:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi mark,

my apologies, I have just figured out why - it needs the ip address rather than domain name. I have edited the details now - can you try it again?

Mel
Mel
·
Saturday, 01 February 2014 01:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mel, I have applied some fixes for you on the site, can you try this again?
·
Sunday, 02 February 2014 01:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,

brilliant - its works perfectly

It is very much appreciated, as I know you are all on your holiday - exceptional support at stackideas!

Mel
Mel
·
Sunday, 02 February 2014 01:31
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Sunday, 02 February 2014 02:49
·
0 Likes
·
0 Votes
·
0 Comments
·
I have been with yourselves for a number of years, and having dealt with so many other Joomla component providers, you are one of my top providers in terms of quality products and first class customer service. Other providers could learn so much from you.

Thanks again - particularly as its a weekend and you were not meant to be responding! Well impressed.
Mel
·
Sunday, 02 February 2014 04:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mel, appreciate it very much
·
Sunday, 02 February 2014 19:30
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post