Keyword

Slight issue with K2 on joomla-admin

  • Matt F
  • Matt F's Avatar Topic Author
  • Offline
  • New Member
More
11 years 10 months ago - 11 years 10 months ago #107449 by Matt F
Slight issue with K2 on joomla-admin was created by Matt F
Hello -

Today I have installed a fresh copy of Joomla, K2, and a computer template. I am looking to modify the template using K2 however whenever I go to access a section of the site it brings up nothing but a white page. Please view my attachments. Joomla version is 2.5.8 and the latest version of K2.

Screenshot 1 shows my list of categories. I clicked on "Pricing"

Screenshot 2 shows a new tab of just white. Nothing else loads. Also I am using Chrome.

Please help me with this issue, I'd like to edit the site.

Thanks!
Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #107450 by william white
Replied by william white on topic Re: Slight issue with K2 on joomla-admin
Joomla - Global Configuration - SErver Tab - Error Reporting - Turn it on to highest and reload the blank page. There may be an error notice that will be helpful

Please Log in or Create an account to join the conversation.

  • Matt F
  • Matt F's Avatar Topic Author
  • Offline
  • New Member
More
11 years 10 months ago #107451 by Matt F
Replied by Matt F on topic Re: Slight issue with K2 on joomla-admin
Hi William - You are correct. Here is the message I receive.

Fatal error: Call to undefined method stdClass::onDisplay() in /home2/domain/public_html/libraries/joomla/html/editor.php on line 459

Would you be able to help me with this?

Thank you!

Please Log in or Create an account to join the conversation.

  • Matt F
  • Matt F's Avatar Topic Author
  • Offline
  • New Member
More
11 years 10 months ago #107452 by Matt F
Replied by Matt F on topic Re: Slight issue with K2 on joomla-admin
this is what line 459 is:

if ($temp = $plugin->onDisplay($editor, $this->asset, $this->author))

Please Log in or Create an account to join the conversation.

  • Matt F
  • Matt F's Avatar Topic Author
  • Offline
  • New Member
More
11 years 10 months ago #107453 by Matt F
Replied by Matt F on topic Re: Slight issue with K2 on joomla-admin
This has been solved!

I replaced the text in the editor on line 459 with

if (method_exists($plugin,'onDisplay') && $temp = $plugin->onDisplay($editor, $this->asset, $this->author))

for everyone else having issues like this.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum