Keyword

[SOLVED] Fatal error "K2helperpermissions"

More
9 years 3 months ago #144738 by Hung Tran
Replied by Hung Tran on topic [SOLVED] Fatal error "K2helperpermissions"
The same problem, the same error with K2 2.6.9 and Joomla 3.4.1 (fresh install, no third-party extensions).

Set error reporting to "Development" in Joomla's Global Configuration, go to site.com/administrator/index.php?option=com_k2, we get
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in administrator/components/com_k2/k2.php on line 20
Notice: Use of undefined constant DS - assumed 'DS' in administrator/components/com_k2/k2.php on line 38
Notice: Use of undefined constant DS - assumed 'DS' in administrator/components/com_k2/k2.php on line 38
Notice: Use of undefined constant DS - assumed 'DS' in administrator/components/com_k2/k2.php on line 38
Notice: Use of undefined constant DS - assumed 'DS' in administrator/components/com_k2/k2.php on line 38
Fatal error: Class 'K2HelperPermissions' not found in administrator/components/com_k2/k2.php on line 39

The same problem happens with K2 2.6.6, 2.6.7, 2.6.8.

However, if you use an older version of Joomla, everything is good.

To work around, I installed Joomla 3.2, installed K2 2.6.9, everything was successful, then update to Joomla 3.4.1. Now K2 works. This solution can only be used if you start a new site/project which uses K2. If you already have a site with lots of installed extensions and data, this solution is not possible.

I hope this info is helpful.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago #144767 by Krikor Boghossian
Replied by Krikor Boghossian on topic [SOLVED] Fatal error "K2helperpermissions"
This only happens if you have the system plugin disabled.
Enable the plugin and K2 will work properly.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
8 years 7 months ago #151628 by fred
Problem with plugin Smart Search - K2 too.
Not activated on starting install
Activate: K2 will work correctly then
Joo 3.4.8 + K2 2.6.9

have a good day :-)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #151640 by Krikor Boghossian
Replied by Krikor Boghossian on topic [SOLVED] Fatal error "K2helperpermissions"
Thank you for reporting this Fred :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
8 years 1 month ago #156808 by fred
Hello,
For me, very simple solution: changed CHmod on components/com_k2/helpers/permissions.php (was 604 -> causes fatal error)
kisses
(Joo 3.5.1 // K2 2.7.0)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 1 month ago #157023 by Krikor Boghossian
Replied by Krikor Boghossian on topic [SOLVED] Fatal error "K2helperpermissions"
Make sure that your folder/file permission is set to 755/644 so you won't have any more issues :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum