Version 3.0.1 Admin crash.

Phoca Documentation - creating documentation in Joomla! CMS
djanubis
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 30 Dec 2013, 14:30

Version 3.0.1 Admin crash.

Post by djanubis » 01 Apr 2015, 10:29

Hi,

Joomla! 3.4.1, Phoca Doc 3.0.1

When editing or creating new article, system crashes with a fatal error
{quote]PHP Fatal error: Call to undefined method JComponentHelper::get_params() in ...components/com_phocadocumentation/helpers/route.php on line 36[/quote]
a patch for this is changing router file, line 35 for

Code: Select all

class PhocaDocumentationHelperRoute
{

	public static function getArticleRoute($id, $alias, $catid, $catalias, $itemid = 0) {

		$app			= JFactory::getApplication();
		// $params 		= $app->getParams();
		$params = JComponentHelper::getParams('com_phocadocumentation');
If this can help :)

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42557
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Version 3.0.1 Admin crash.

Post by Jan » 02 Apr 2015, 13:50

Hi, thank you for this info, I will take a look at it.

Jan
If you find Phoca extensions useful, please support the project

Post Reply