Forum Open Notice
Forum Open Notice
  1. Forum
  2. Search

Advanced Search

Search Options

Search Results Displaying 221–240 out of 1118 results.

English K2 Community 10 years 9 months ago

Fatal error: Class 'K2HelperUtilities' not found in /www/ht

When you goto my website, you get the following message

Fatal error: Class 'K2HelperUtilities' not found in /www/htdocs/w00d9e99/Joomla/administrator/components/com_k2/helpers/html.php on line 56

Joomla ver 2.5.28
K2 ver - 2.6.7
PHP version 5.4.45
MySQL version 5.5.46

I can log into admin site but website front page showing the error stated above.
site = pfc.renncenter-hamburg.de/

Can anyone please tell me what i can do to resolve this??
English K2 Community 10 years 9 months ago

[SOLVED] Fatal error "K2helperpermissions"

Thank you for reporting this Fred :)
English K2 Community 10 years 9 months ago

[SOLVED] Fatal error "K2helperpermissions"

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 :-)
English K2 Community 10 years 9 months ago

Fatal error after clicking on article to view entire article

@rudy

There is no get function involved in line 74 of that file: github.com/joomlaworks/k2/blob/a42022f4fccc678f54b4cd982e5deacdbe17f262/components/com_k2/views/item/view.html.php#L74

Open the file on your server to see what's the code that is causing the error.
English K2 Community 10 years 9 months ago

Fatal error after clicking on article to view entire article

Hello,

Have you edited K2's core files in any way?
English K2 Community 10 years 9 months ago

Fatal error after clicking on article to view entire article

Hi There,

I Get the following error:
Fatal error: Call to a member function get() on null in /usr/www/users/advenhcqxy/components/com_k2/views/item/view.html.php on line 74

When wanting to view the article from category view.

I'm running:

Php 5.6.18-1
k2 v2.6.9
Joomla 3.4.8

I've disabled all other plugins or components I can think of that could influence things.

I have a different site with the same version on the same server and template where things are working 100%

I've cleared cache. Not sure what to next.

Thanks!
English K2 Community 10 years 9 months ago

problem with add front article

Hello

I have set all the permissions, the latest version K2. When you want to add an article to the menu item, I get the message:
"
Warning: require_once(lib/framework/gk.const.php): failed to open stream: No such file or directory in /home/freepix1/public_html/sprawykuchenne1/templates/gk_news/component.php on line 29

Fatal error: require_once(): Failed opening required 'lib/framework/gk.const.php' (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/freepix1/public_html/sprawykuchenne1/templates/gk_news/component.php on line 29
"

How to fix it?
Thanks :)
English K2 Community 10 years 10 months ago

Smart Search K2 plugin preventing other plugin loads?

Thank you for your response Lefteris,

I was trying to run on the command line only because running the Smart Search Index is failing in the Smart Search Component. Basically it appears to be timing out. It never finishes. Then it also appears to have not indexed all of the K2 content and it also does not index any of the other content, including my EasyBlog content. I had thought this was possibly an EasyBlog problem but Mark from StackIdeas.com checked it out and let me know that the failure was coming from K2.

Because the indexer is failing I started searching for some possible solutions. I read on the Joomla.org site that sometimes the Indexer might fail if there are too many items to index. However, I have no idea how many is too many. I have just over 400 K2 items and just over 400 EasyBlog posts. So, somehow I do not believe I would qualify as having too many. But, I guess that is a possibility. Regardless, that is where I found instructions abour running on the command line might work.

After I ran on the command line I encountered the errors which I submitted. My assumption was that maybe those errors being from K2 might have been what Mark from StackIdeas had run into and why he stated that K2 was causing the Smart Search Index problems. Your reply seems to indicate that those errors will occur any time the indexing is done from the command line without the addition of the code you provider being added into the file at plugins/finder/k2.php

I did not yet add that code because I first want to solve the problem of why the Smart Search Index is not working from the Component. Mark from StackIdeas was able to get my other content indexed by disabling the Smart Search - K2 finder plugin, as well as all the content plugins and then indexing from within the Smart Search Component. After that I ran the index again and it got my K2 items indexed although I am not sure it got them all. In fact I would be surprised if it successfully indexed all my K2 items since it did not complete.

I also found something else that looked interesting to me at github.com/joomlaworks/k2/issues/79

The entry I found below makes me wonder if this is something that I could add in order to fix my problem with the Smart Search Index apparently crashing when launched from the Smart Search Component:
kavadas commented on Nov 29, 2013
I think that you should go with the web interface for this. That's also why the finder plugins are there. They will update the database when a record is updated. In any case try to add the following line in the file components/com_k2/helpers/route.php:

require_once JPATH_ADMINISTRATOR.'/components/com_k2/models/model.php';

Place it at the beginning of the file. Note that this might fix this issue but you may face other issues. K2 uses a system plugin to load it's classes. If the CLI does not invoke the system plugins you will get another Fatal error on some other file/line.

I have been hesitant to edit any K2 files but if you think that the instructions from jkavadas from Nov 29, 2013 are relevant than I can add it to the route.php file to see if it fixed the indexing from the component.

I can also add the five lines of code you provided to plugins/finder/k2.php and test from the command line afterwards.

I hope this makes sense. Have you ever seen K2 causing the Smart Search Index to fail from the Component?

Thank you, Sean Carney
English K2 Community 10 years 10 months ago

Smart Search K2 plugin preventing other plugin loads?

I found some Joomla.org pages about the Smart Search indexer that got me onto the command line where I ran a command and received the following errors. So, I think I am finding the answer.

I found the following page with instructions on how to run the indexer from the command line: docs.joomla.org/Setting_up_automatic_Smart_Search_indexing

When I followed the instructions and ran the indexer i got the following message ending with an error:
-sh-4.1$ php finder_indexer.php
Smart Search INDEXER
============================
Starting Indexer
Setting up Smart Search plugins
Setup 846 items in 0.194 seconds.
PHP Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-505587.cloudaccess.net/httpdocs/components/com_k2/helpers/route.php on line 191

Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-505587.cloudaccess.net/httpdocs/components/com_k2/helpers/route.php on line 191
PHP Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-505587.cloudaccess.net/httpdocs/components/com_k2/helpers/route.php on line 191

Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-505587.cloudaccess.net/httpdocs/components/com_k2/helpers/route.php on line 191
PHP Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-505587.cloudaccess.net/httpdocs/components/com_k2/helpers/route.php on line 191

Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /mnt/data/vhosts/casite-505587.cloudaccess.net/httpdocs/components/com_k2/helpers/route.php on line 191
PHP Fatal error: Class 'K2Model' not found in /mnt/data/vhosts/casite-505587.cloudaccess.net/httpdocs/components/com_k2/helpers/route.php on line 318

Fatal error: Class 'K2Model' not found in /mnt/data/vhosts/casite-505587.cloudaccess.net/httpdocs/components/com_k2/helpers/route.php on line 318
-sh-4.1$

I also found this page: docs.joomla.org/Smart_Search_on_large_sites
Sean Carney
English K2 Community 10 years 10 months ago

Article items display blank page when clicked

Ok, finally figured it out. The installation of mod_ruid2 to solve our issue problems with the server was somehow conflicting with PHP.

I checked the error_log and it turned out I had a "fatal error":

PHP Fatal error: Call to undefined function mb_internal_encoding() in /home/public_html/components/com_k2/helpers/route.php

Solution - install php-mbstring and not everything works.
English K2 Community 10 years 10 months ago

Article items display blank page when clicked

Hi Everyone,

For some reason all my front-end articles (ie. items) in K2 are throwing a blank white page. I can see a list of articles (as well as intro text) when the category is selected. But when title is clicked, it throws a blank page. I can see all the items in the back-end with no issue. Any ideas ?

Here's what I did so far:

- All permissions are set properly: dir 755, files 644
- Disabled SEF URLs - did not help
- Tested with different template - did not help (so it's not template issue)
- Set Error Reporting: (see below)

Notice: Undefined property: stdClass::$numOfComments in /home/public_html/components/com_k2/views/item/view.html.php on line 264
Fatal error: Call to undefined function mb_internal_encoding() in /home/public_html/components/com_k2/helpers/route.php on line 93


NOTE: I have not installed any new plugins, etc or done any upgrades. This problem appeared after my webhost enabled mod_ruid2 to resolve some user/process/cPanel permission issues on the server.

I do see a warning under extensions that says: "The PHP temporary folder is not set". But I can still upload, delete, update components just fine.

Im using Joomla 3.4.8, K2 2.6.9 - Should I reinstall K2?
English K2 Community 10 years 11 months ago

Have a fatal error with K2 in Joomla CMS

Hello,

This issue is coming from mod_submenu, not from K2. You need to address this issue to the module's developer.
English K2 Community 10 years 11 months ago

Have a fatal error with K2 in Joomla CMS

Hello,

I am getting an error when trying to get into various K2 functions that I have installed. The specific error is listed below;

Fatal error: Cannot redeclare g4a7d8e() (previously declared in /home/mydomain/public_html/administrator/modules/mod_submenu/tmpl/default.php:1) in /home/mydomain/public_html/administrator/modules/mod_submenu/tmpl/default.php on line 1

Unfortunately I dont have a good backup and I'm wondering If there is a way to just reinstall the K2 componant. The rest of he site functions fine, in fact the K2 pages on the site are ok but in the administration mode I get errors in all the K2 functions.

I am hoping that I can just uninstall and reinstall it.

Thanks in advance for any help.
English K2 Community 10 years 11 months ago

Can't edit or update an existing K2 article

This is what I found


Strict Standards: Only variables should be assigned by reference in /home/jus/public_html/plugins/editors-xtd/jatypobutton/jatypobutton.php on line 36

Strict Standards: Only variables should be assigned by reference in /home/jus/public_html/plugins/editors-xtd/jatypobutton/jatypobutton.php on line 39

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1151167 bytes) in /home/jus/public_html/libraries/cms/html/select.php on line 720
English K2 Community 11 years 1 week ago

Unsure what is wrong

Yes certainly is enabled.

I asked JomSocial for assistance also because their Share Box isnt working and their reply was:

This issue caused by modal box from K2, I suggest you contact K2 developer for this.
jQuery(function($) {
SqueezeBox.initialize({});
SqueezeBox.assign($('a.k2modal').get(), {
parse: 'rel'
});
});
function jModalClose() {
SqueezeBox.close();
}

this is error detail :
Uncaught ReferenceError: SqueezeBox is not defined

Also on Kunena Forum when I went to post a topic i get this fatal error:

Fatal error: require_once(): Failed opening required '/home/therunel/public_html/modules/mod_k2_userDShelper.php' (include_path='.:/opt/php/php-5.5.0/lib/php') in /home/therunel/public_html/modules/mod_k2_user/mod_k2_user.php on line 20

When I look at the path for this, it is just mod_k2_user/helper.php, i.e. there is no 'DS' in the path.

This whole thing is still related to my previous tickets. I think i will be going line by line with the test install I have done.
English K2 Community 11 years 2 weeks ago

Edit Category Times Out

What do you do if there's a bug in K2? I would buy support but I can't figure out how to. Does anyone know?

Edit K2 Category, click save:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/planet/public_html/libraries/joomla/database/query.php on line 95
English K2 Community 11 years 3 weeks ago

just installed, i am a new user

I have same problem ... here is the message :

Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /home/drencre/public_html/ver3/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 15

Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /home/drencre/public_html/ver3/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 23

Notice: Use of undefined constant DS - assumed 'DS' in /home/drencre/public_html/ver3/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 29

Warning: require_once(/home/drencre/public_html/ver3/administrator/modules/mod_k2_statsDShelper.php): failed to open stream: No such file or directory in /home/drencre/public_html/ver3/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 29

Fatal error: require_once(): Failed opening required '/home/drencre/public_html/ver3/administrator/modules/mod_k2_statsDShelper.php' (include_path='.:/opt/ntphp/php54/lib/php') in /home/drencre/public_html/ver3/administrator/modules/mod_k2_stats/mod_k2_stats.php on line 29
English K2 Community 11 years 3 weeks ago

Comments not loading after posting

Alright, thank you very much Lefteris! After enabling error reporting I got at the very end of the page this error:
Notice: Undefined property: stdClass::$comments in /mnt/webb/c0/85/53913885/htdocs/de/templates/jf_taman/html/com_k2/default/item.php on line 538 Warning: Invalid argument supplied for foreach() in /mnt/webb/c0/85/53913885/htdocs/de/templates/jf_taman/html/com_k2/default/item.php on line 538 Fatal error: Call to a member function getPagesLinks() on a non-object in /mnt/webb/c0/85/53913885/htdocs/de/templates/jf_taman/html/com_k2/default/item.php on line 595

item.php tells me this (as I assumed, it is something wrong with my templates' itemcomments - lines:522 - 598:
<div class="itemComments"> <?php if($this->item->params->get('commentsFormPosition')=='above' && $this->item->params->get('itemComments') && !JRequest::getInt('print') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2' && K2HelperPermissions::canAddComment($this->item->catid)))): ?> <!-- Item comments form --> <div class="itemCommentsForm"> <?php echo $this->loadTemplate('comments_form'); ?> </div> <?php endif; ?> <?php if($this->item->numOfComments>0 && $this->item->params->get('itemComments') && ($this->item->params->get('comments') == '1' || ($this->item->params->get('comments') == '2'))): ?> <!-- Item user comments --> <h3 class="itemCommentsCounter"> <span><?php echo $this->item->numOfComments; ?></span> <?php echo ($this->item->numOfComments>1) ? JText::_('K2_COMMENTS') : JText::_('K2_COMMENT'); ?> </h3> <ul class="itemCommentsList"> <?php foreach ($this->item->comments as $key=>$comment): ?> <li class="<?php echo ($key%2) ? "odd" : "even"; echo (!$this->item->created_by_alias && $comment->userID==$this->item->created_by) ? " authorResponse" : ""; echo($comment->published) ? '':' unpublishedComment'; ?>"> <span class="commentLink"> <a href="<?php echo $this->item->link; ?>#comment<?php echo $comment->id; ?>" name="comment<?php echo $comment->id; ?>" id="comment<?php echo $comment->id; ?>"> <?php echo JText::_('K2_COMMENT_LINK'); ?> </a> </span> <?php if($comment->userImage): ?> <img src="<?php echo $comment->userImage; ?>" alt="<?php echo JFilterOutput::cleanText($comment->userName); ?>" width="<?php echo $this->item->params->get('commenterImgWidth'); ?>" /> <?php endif; ?> <span class="commentDate"> <?php echo JHTML::_('date', $comment->commentDate, JText::_('K2_DATE_FORMAT_LC2')); ?> </span> <span class="commentAuthorName"> <?php echo JText::_('K2_POSTED_BY'); ?> <?php if(!empty($comment->userLink)): ?> <a href="<?php echo JFilterOutput::cleanText($comment->userLink); ?>" title="<?php echo JFilterOutput::cleanText($comment->userName); ?>" target="_blank" rel="nofollow"> <?php echo $comment->userName; ?> </a> <?php else: ?> <?php echo $comment->userName; ?> <?php endif; ?> </span> <p><?php echo $comment->commentText; ?></p> <?php if($this->inlineCommentsModeration || ($comment->published && ($this->params->get('commentsReporting')=='1' || ($this->params->get('commentsReporting')=='2' && !$this->user->guest)))): ?> <span class="commentToolbar"> <?php if($this->inlineCommentsModeration): ?> <?php if(!$comment->published): ?> <a class="commentApproveLink" href="<?php echo JRoute::_('index.php?option=com_k2&view=comments&task=publish&commentID='.$comment->id.'&format=raw')?>"><?php echo JText::_('K2_APPROVE')?></a> <?php endif; ?> <a class="commentRemoveLink" href="<?php echo JRoute::_('index.php?option=com_k2&view=comments&task=remove&commentID='.$comment->id.'&format=raw')?>"><?php echo JText::_('K2_REMOVE')?></a> <?php endif; ?> <?php if($comment->published && ($this->params->get('commentsReporting')=='1' || ($this->params->get('commentsReporting')=='2' && !$this->user->guest))): ?> <a class="modal" rel="{handler:'iframe',size:{x:560,y:480}}" href="<?php echo JRoute::_('index.php?option=com_k2&view=comments&task=report&commentID='.$comment->id)?>"><?php echo JText::_('K2_REPORT')?></a> <?php endif; ?> <?php if($comment->reportUserLink): ?> <a class="k2ReportUserButton" href="<?php echo $comment->reportUserLink; ?>"><?php echo JText::_('K2_FLAG_AS_SPAMMER'); ?></a> <?php endif; ?> </span> <?php endif; ?> <div class="clr"></div> </li> <?php endforeach; ?> </ul> <div class="itemCommentsPagination"> <?php echo $this->pagination->getPagesLinks(); ?> <div class="clr"></div> </div> <?php endif; ?>

Any idea?
English K2 Community 11 years 1 month ago

Fatal error: JApplicationAdministra

Thank you.
I toggled all k2 extra components and now it works (slow but it works)
now I try to activate one to one and understand which one is the problem-generator.
I will post it later, so maybe it can help someone else
English K2 Community 11 years 1 month ago

Fatal error: JApplicationAdministra

@elena ecaterina casartelli

The error indicates that somehow the K2 content module is triggered in the administration area.... This means that probably a plugin which is triggered on item save is executing the module code.

Try the following:

1. Disable all third-party K2 and content plugins.
2. Ensure that you are using the latest version of Joomla!.
3. Ensure that you are using the latest version of K2.