Keyword

Advanced Search

Search Results (Searched for: Fatal Error K2)

  • Nuno Soares
  • Nuno Soares's Avatar
26 Feb 2012 21:16
Replied by Nuno Soares on topic Can't access K2 item editor

Can't access K2 item editor

Category: English K2 Community

Hi,

Turning the error reporting to Maximum, it gives me the following error:

"Notice: Undefined variable: user in ../administrator/components/com_k2/views/item/view.html.php on line 61

Fatal error: Call to a member function get() on a non-object in ../administrator/components/com_k2/views/item/view.html.php on line 61"

Any ideas?

Thanks,
Tiago
  • Saulius
  • Saulius's Avatar
26 Feb 2012 14:57
Replied by Saulius on topic K2, JoomFish and the "Fatal error"

K2, JoomFish and the "Fatal error"

Category: English K2 Community

Thanks, Bruno! That really solved the problem!
Sorry for my late reply, though ;)
  • Nichola Caddy
  • Nichola Caddy's Avatar
23 Feb 2012 15:22
k2 simple image gallery error was created by Nichola Caddy

k2 simple image gallery error

Category: Simple Image Gallery PRO

I get this error when i load the zip file in the k2 item

Fatal error: Call to undefined method SimpleImageGalleryProHelper::wordLimit() in /home/hughiesa/public_html/plugins/content/jw_sigpro/jw_sigpro/includes/helper.php on line 156

I have the latest versions joomla 2.5.1 sig pro 2.5.6 and k2 2.5.4

I really need help I have looked everywhere for and answer there seems to be others with the same problem.  I have two sites doing the same thing.
cheers Nichola
  • Antonio Bruno Barros Azevedo
  • Antonio Bruno Barros Azevedo's Avatar
16 Feb 2012 13:10
Replied by Antonio Bruno Barros Azevedo on topic K2, JoomFish and the "Fatal error"

K2, JoomFish and the "Fatal error"

Category: English K2 Community

Hi,

You need to open the k2_items.xml and change:


<translationfilters>
<K2_category>catid</K2_category>
(...)

to

<translationfilters>
<K2_categories>catid</K2_categories>
(...)

Solved.
  • Daniil
  • Daniil's Avatar
10 Feb 2012 09:31
  • Shari
  • Shari's Avatar
07 Feb 2012 17:53
Replied by Shari on topic Cannot upload item photo

Cannot upload item photo

Category: English K2 Community

I too am getting this error - recent update to Joomla 2.5 with K2 2.5.1 I can not upload an image using the image tab upload in K2. I can upload an image in the category image tab. Getting the error "
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3600 bytes) in
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3600 bytes) in mysite/administrator/components/com_k2/lib/class.upload.php on line 3161. I have many other sites on the server, all have no errors, it started to happen when I updated to the latest code. My server upload_max_filesize 80M, max_execution_time 500...

Is this a bug?
  • Saulius
  • Saulius's Avatar
07 Feb 2012 13:50 - 07 Feb 2012 14:15
K2, JoomFish and the "Fatal error" was created by Saulius

K2, JoomFish and the "Fatal error"

Category: English K2 Community

Hello, everyone @k2 community,

to be honest I'm not that new to K2 itself - I have already build three sites with K2 integrated in the content. All of them work fine. However, I faced this problem the other night while trying to make K2 work with Joomfish. Had some problems with JoomFish not seeing K2 realted stuff but managed to sort that out after reading this post here: community.getk2.org/forum/topics/joomfish-and-k2-how-do-they I did exactly as Olivier Nolbert suggested:

Hi,
If you've installed JoomFish after K2, and don't want to make a full K2 update, just unzip the K2 zip install file in local and copy/upload all files under "/administrator/components/com_joomfish/contentelements" in the same directory on your website.
Olivier

After doing that I'm able to see and translate all things related to K2 (inc. K2 extra fileds, K2 categories, etc.) except K2 Items. That's a problem coz that's what I need to translate... After going to components/Joom!Fish/Translation in joomla admin and choosing the language and (Content elements) K2 Items from the drop-down menu I get the following error Fatal error: Call to undefined method translationFilter::translationFilter() in /home/angrupe/domains/iseta.lt/public_html/administrator/components/com_joomfish/contentelements/translationK2_categoryFilter.php on line 18. None of that happens when I choose for example K2 Categories from the same drop-down menus. Here's how the above mention php file looks like:

<?php
/**
* @version $Id: translationK2_categoryFilter.php 1034 2011-10-04 17:00:00Z joomlaworks $
* @package K2
* @author JoomlaWorks www.joomlaworks.gr
* @copyright Copyright (c) 2006 - 2010 JoomlaWorks Ltd. All rights reserved.
* @license GNU/GPL license: www.gnu.org/copyleft/gpl.html
*/

// Don't allow direct linking
defined( 'JPATH_BASE' ) or die( 'Direct Access to this location is not allowed.' );

class translationK2_categoryFilter extends translationFilter {
function translationK2_categoryFilter($contentElement) {
$this->filterNullValue = -1;
$this->filterType = "catid";
$this->filterField = $contentElement->getFilter("K2_category");
parent::translationFilter($contentElement);
}

function _createFilter() {
$database = &JFactory::getDBO();
if (!$this->filterField)
return "";
$filter = "";
if ($this->filter_value != $this->filterNullValue) {
$sql = "SELECT tab.id FROM #__k2_items as tab WHERE tab.catid=$this->filter_value";
$database->setQuery($sql);
$ids = $database->loadObjectList();
$idstring = "";
foreach ($ids as $pid) {
if (strlen($idstring) > 0)
$idstring .= ",";
$idstring .= $pid->id;
}
$filter = "c.id IN($idstring)";
}
return $filter;
}

function _createfilterHTML() {
if (!$this->filterField)
return "";
$db = &JFactory::getDBO();
$categoryOptions = array();
$categoryOptions[] = JHTML::_('select.option', '-1', JText::_('K2_SELECT_CATEGORY'));

$sql = "SELECT DISTINCT p.id, p.name FROM #__k2_categories as p, #__".$this->tableName." as c WHERE c.".$this->filterField."=p.id ORDER BY p.name";
$db->setQuery($sql);
$cats = $db->loadObjectList();
$catcount = 0;
foreach ($cats as $cat) {
$categoryOptions[] = JHTML::_('select.option', $cat->id, $cat->name);
$catcount++;
}
$catnameList = array();
$catnameList["title"] = JText::_('K2_CATEGORIES');
$catnameList["html"] = JHTML::_('select.genericlist', $categoryOptions, 'catid_filter_value', 'class="inputbox" size="1" onchange="document.adminForm.submit();"', 'value', 'text', $this->filter_value);
return $catnameList;
}
}
?>

Line number 18 I think is function translationK2_categoryFilter($contentElement)


What could be the problem...?
I would really appreciate your help!
  • Mauricio
  • Mauricio 's Avatar
03 Feb 2012 23:27
I can´t Create a User Group was created by Mauricio

I can´t Create a User Group

Category: English K2 Community

Hi

few days ago I install Joomla! 1.7.3 Stable [ Ember ] 14-Nov-2011 con K2 v2.5.4 in my site but,
went I try to make a new User Group, just take the follow page with that error message

Warning: require_once(/home/*******/public_html/***/administrator/components/com_k2/controllers/usergroups.php) [function.require-once]: failed to open stream: No such file or directory in /home/********/public_html/***/administrator/components/com_k2/admin.k2.php on line 119

Fatal error: require_once() [function.require]: Failed opening required '/home/*******/public_html/***/administrator/components/com_k2/controllers/usergroups.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/********/public_html/***/administrator/components/com_k2/admin.k2.php on line 119

Some can help me

Thanks in advance
  • Mauricio
  • Mauricio 's Avatar
03 Feb 2012 23:09
No puedo Crear Grupo de Usuarios was created by Mauricio

No puedo Crear Grupo de Usuarios

Category: Comunidad hispana oficial de K2

Buen dia tengan en la comunidad:

Les comento recien estoy instalando Joomla! 1.7.3 Stable [ Ember ] 14-Nov-2011 con K2 v2.5.4

al ingresar en el back end y seleccionar Grupo de Usuarios me manda a una pagina con este error

Warning: require_once(/home/*******/public_html/***/administrator/components/com_k2/controllers/usergroups.php) [function.require-once]: failed to open stream: No such file or directory in /home/********/public_html/***/administrator/components/com_k2/admin.k2.php on line 119

Fatal error: require_once() [function.require]: Failed opening required '/home/*******/public_html/***/administrator/components/com_k2/controllers/usergroups.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/********/public_html/***/administrator/components/com_k2/admin.k2.php on line 119

y no he podido solucionarlo alguna pista con ello
Gracias de antemano
  • Mo
  • Mo's Avatar
30 Jan 2012 17:03

Categories vanished frontend !!

Category: English K2 Community

Hi, I did set up K2 categories and filled them - all fine and showed in the frontend when double checked. Even though not visible in frontend - everything looks fine in the backend. Now I am getting the following error:

Fatal error: Call to a member function getLanguageFilter() on a non-object in /home/xxxxx/public_html/components/com_k2/models/itemlist.php on line 702

K2 Version 2.5.4
Joomla l.7

Can anyone tell me how to go about to get them working on frontend again ? Thanks for support... I am not a total newby but I am not a pro either... :)

best regards
Monika
  • Mo
  • Mo's Avatar
30 Jan 2012 15:46
K2 Kategorien verschwunden !! was created by Mo

K2 Kategorien verschwunden !!

Category: Offizielle deutsche Gemeinschaft

Hi, ich habe eben mit Schrecken festgestellt, dass meine Kategorien "unsichtbar" geworden sind und eine Fehlermeldung:..... Fatal error: Call to a member function getLanguageFilter() on a non-object in /home/xxxxxxx/public_html/components/com_k2/models/itemlist.php on line 702.......dafür erscheint.

Ich habe an Berechtigungen und Kommentaren gearbeitet - aber ich vermute, das hat nichts damit zu tun.

Kann mir bitte jemand damit helfen ?? Bin nicht ganz neu aber auch kein Pro :)

Herzlichen Dank im voraus
Gruss
Monika
  • Gerard Donnelly
  • Gerard Donnelly's Avatar
24 Jan 2012 16:29
USER GROUPS SECTION MISSING ON BACK END was created by Gerard Donnelly

USER GROUPS SECTION MISSING ON BACK END

Category: English K2 Community

Hi,

When I am in the k2 joomla back end and click on the user groups tab it does not appear and instead I get the following message:

Warning: require_once(/home/fhlinux160/n/nichronicle.co.uk/user/htdocs/administrator/components/com_k2/controllers/usergroups.php) [function.require-once]: failed to open stream: No such file or directory in /home/fhlinux160/n/nichronicle.co.uk/user/htdocs/administrator/components/com_k2/admin.k2.php on line 119

Fatal error: require_once() [function.require]: Failed opening required '/home/fhlinux160/n/nichronicle.co.uk/user/htdocs/administrator/components/com_k2/controllers/usergroups.php' (include_path='.:/usr/share/pear-php5') in /home/fhlinux160/n/nichronicle.co.uk/user/htdocs/administrator/components/com_k2/admin.k2.php on line 119

Any Help on this would be greatly appreciated.

Regards,

Gerard
  • J Louie Lewis
  • J Louie Lewis's Avatar
23 Jan 2012 23:20
invalid argument possible SOLUTION! was created by J Louie Lewis

invalid argument possible SOLUTION!

Category: English K2 Community

I was having trouble installing k2 without getting a BUNCH of fatal errors about invalid arguments...


My SOLUTION:

I was (unnecessarily) using something called qcache that created two files in my Joomla database called mysqli_cached and mysql_cache

The global configs were using one of the files as the database.

Solution. Go to your global configuration and make sure your database says "Mysql" (or mysqli if that's what kind of db you have) only.
  • Itamar Gur
  • Itamar Gur's Avatar
18 Jan 2012 16:55

Fatal error: Class 'SimpleImageGalleryProHelper' not found

Category: Simple Image Gallery PRO

hi
i see this error
Fatal error: Class 'SimpleImageGalleryProHelper' not found in /home/simplewb/toolguidesites.com/qatzrin/plugins/content/jw_sigpro/jw_sigpro.php on line 153

in this k2 item
toolguidesites.com/qatzrin/index.php?option=com_k2&view=item&id=14:%D7%A9%D7%A4%D7%95%D7%AA-%D7%9B%D7%9E%D7%95-%D7%9C%D7%94%D7%A0%D7%95%D7%AA&Itemid=161
  • Ayoola Ajebeku
  • Ayoola Ajebeku's Avatar
18 Jan 2012 14:41
Replied by Ayoola Ajebeku on topic Fatal error after login /helpers/route.php on line

Fatal error after login /helpers/route.php on line

Category: English K2 Community

I had the same error until I added this line to the /helpers/route.php file


require_once(JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'utilities.php');
  • Philippe Ranc
  • Philippe Ranc's Avatar
17 Jan 2012 12:01
Replied by Philippe Ranc on topic Sub template problem with mod_k2_content

Sub template problem with mod_k2_content

Category: Communauté française K2

Salut Olivier,

Merci pour le conseil. Mais cela ne change rien.

Le problème, selon moi est le suivant:

En introduction, voici le message complet:

Warning: require() [function.require]: Unable to access /home/httpd/vhosts/ambiances.org/httpdocs/modules/mod_k2_content/tmpl/news/default.php in /home/httpd/vhosts/ambiances.org/httpdocs/modules/mod_k2_content/mod_k2_content.php on line 48

Warning: require(/home/httpd/vhosts/ambiances.org/httpdocs/modules/mod_k2_content/tmpl/news/default.php) [function.require]: failed to open stream: No such file or directory in /home/httpd/vhosts/ambiances.org/httpdocs/modules/mod_k2_content/mod_k2_content.php on line 48

Warning: require() [function.require]: Unable to access /home/httpd/vhosts/ambiances.org/httpdocs/modules/mod_k2_content/tmpl/news/default.php in /home/httpd/vhosts/ambiances.org/httpdocs/modules/mod_k2_content/mod_k2_content.php on line 48

Warning: require(/home/httpd/vhosts/ambiances.org/httpdocs/modules/mod_k2_content/tmpl/news/default.php) [function.require]: failed to open stream: No such file or directory in /home/httpd/vhosts/ambiances.org/httpdocs/modules/mod_k2_content/mod_k2_content.php on line 48

Fatal error: require() [function.require]: Failed opening required '/home/httpd/vhosts/ambiances.org/httpdocs/modules/mod_k2_content/tmpl/news/default.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/httpd/vhosts/ambiances.org/httpdocs/modules/mod_k2_content/mod_k2_content.php on line 48

Puis, mon explication:

Il fait référence au chemin :
/httpdocs/modules/mod_k2_content/tmpl/news/

or... si je customize mon template en ajoutant un répertoire /template/html/mod_k2_content , c'est pour que k2 pointe à cet endroit et non dans le répertoire standard du module.

Sinon, je peux aussi aller éditer le module dans /module/mod_k2_content/ mais si je pouvais éviter... ce serait mieux.
  • mrey
  • mrey's Avatar
16 Jan 2012 18:13
Error with k2 was created by mrey

Error with k2

Category: English K2 Community

My website is unable to load due to server error after upgrading my extensions for my site for an original problem created in k2 where i received the following error message when opening an item:

Calendar.setup: Nothing to setup (no fields found). Please check your code

(picture also attached)

Here is the error log after upgrading my extensions now that my website no longer loads:

[16-Jan-2012 10:23:24] PHP Warning: Missing argument 3 for plgContentJA_tabs::onPrepareContent() in /home2/legsbums/public_html/plugins/content/ja_tabs.php on line 83

[16-Jan-2012 10:23:24] PHP Fatal error: Call to undefined method K2ModelItemlist::hasChildren() in /home2/legsbums/public_html/modules/mod_jabulletin/helper.php on line 377
  • mrey
  • mrey's Avatar
12 Jan 2012 19:05

simple image gallery pro conflicting with K2

Category: Simple Image Gallery PRO

Try to use a smaller gallery cause there is no much memory size limit left in your server and this cause this fatal error. Obviously you need to ask your hosting company to increase your memory size limit soon.

Remember to set your Error Reporting back to your previous setting.


the gallery only has about 6 picture in it?
  • Katia
  • Katia's Avatar
12 Jan 2012 19:01

simple image gallery pro conflicting with K2

Category: Simple Image Gallery PRO

Try to use a smaller gallery cause there is no much memory size limit left in your server and this cause this fatal error. Obviously you need to ask your hosting company to increase your memory size limit soon.

Remember to set your Error Reporting back to your previous setting.
Displaying 801 - 820 out of 1119 results.

Powered by Kunena Forum