Keyword

Advanced Search

Search Results (Searched for: Fatal Error K2)

  • SD
  • SD's Avatar
14 Jul 2016 15:11 - 14 Jul 2016 21:23

RE: Fatal error After 3.6 Upgrade

Category: English K2 Community

Was trying to follow up on this but It's been locked and cannot respond. I have installed 2.7.1 dev K2 to the site and it has fixed the issue with front end editing. However it's seemed to have broken items within the site category listings layout and the articles themselves.

First in the articles the header under the article all the rate, print, font size etc are all lined up left justified, the image for the article is the same and everything below the body of the article has done the same. It looks like since applying 2.7.1 everything within my Dev site I'm testing this on has become left justified. The category layout with articles are all in one line to the left.

Is this an issue with K2? Can see an example of the Dev site HERE and the same article on the live site HERE for comparison purposes.


After the upgrade to 3.6 I am getting a blank page on the front end editing to add a new article within K2. With error reporting turned on I get the following error

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

I have reinstalled 2.6.9 K2 already and this hasn't seemed to take care of fixing the issue.

Ideas? Suggestions?
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
14 Jul 2016 12:58
Replied by Krikor Boghossian on topic Fatal error After 3.6 Upgrade

Fatal error After 3.6 Upgrade

Category: English K2 Community

Hello,

Can you try with the latest 2.7.1 DEV version?
github.com/getk2/k2
  • SD
  • SD's Avatar
14 Jul 2016 01:52
Fatal error After 3.6 Upgrade was created by SD

Fatal error After 3.6 Upgrade

Category: English K2 Community

After the upgrade to 3.6 I am getting a blank page on the front end editing to add a new article within K2. With error reporting turned on I get the following error

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

I have reinstalled 2.6.9 K2 already and this hasn't seemed to take care of fixing the issue.

Ideas? Suggestions?
  • Conversal
  • Conversal's Avatar
13 Jul 2016 16:31

Memory size exhausted when opening K2 items

Category: English K2 Community

When I want to open a K2 item which has a gallery with 15 pictures of around 100kb per picture, I get this error:

Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 139264 bytes) in /home/joomla/domains/joomla.conversal.eu/public_html/libraries/joomla/application/web.php on line 462

Memory limit is set to 128mb.

Is this normal? We had this before when we uploaded e.g. pictures of 5Mb per picture, but never with resized pictures. It doesn't seem normal to me and I don't want just to increase the memory size for this...

Thanks,
  • Suthu
  • Suthu's Avatar
28 Jun 2016 15:17 - 28 Jun 2016 15:19
Fehler im Backend was created by Suthu

Fehler im Backend

Category: Offizielle deutsche Gemeinschaft

Moin,

wenn ich im Backend K2 Kategorien auswähle, erhalte ich auf einer weißen Seite folgende Fehlermeldung:

Notice: Undefined variable: db in /www/htdocs/.../administrator/components/com_k2/models/category.php on line 167

Fatal error: Call to a member function setQuery() on null in /www/htdocs/.../administrator/components/com_k2/models/category.php on line 167

Joomla!-Version 3.5.1
K2 v2.7.0
PHP-Version 5.6.21-nmm1
<?php /** * @version 2.7.x * @package K2 * @author JoomlaWorks https://www.joomlaworks.net * @copyright Copyright (c) 2006 - 2016 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html */ // no direct access defined('_JEXEC') or die; jimport('joomla.application.component.model'); JTable::addIncludePath(JPATH_COMPONENT.DS.'tables'); class K2ModelCategory extends K2Model { function getData() { $cid = JRequest::getVar('cid'); $row = JTable::getInstance('K2Category', 'Table'); $row->load($cid); return $row; } function save() { $mainframe = JFactory::getApplication(); jimport('joomla.filesystem.file'); require_once (JPATH_COMPONENT.DS.'lib'.DS.'class.upload.php'); $row = JTable::getInstance('K2Category', 'Table'); $params = JComponentHelper::getParams('com_k2'); if (!$row->bind(JRequest::get('post'))) { $mainframe->enqueueMessage($row->getError(), 'error'); $mainframe->redirect('index.php?option=com_k2&view=categories'); } $isNew = ($row->id) ? false : true; //Trigger the finder before save event $dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin('finder'); $results = $dispatcher->trigger('onFinderBeforeSave', array('com_k2.category', $row, $isNew)); $row->description = JRequest::getVar('description', '', 'post', 'string', 2); if ($params->get('xssFiltering')) { $filter = new JFilterInput( array(), array(), 1, 1, 0); $row->description = $filter->clean($row->description); } if (!$row->id) { $row->ordering = $row->getNextOrder('parent = '.(int)$row->parent.' AND trash=0'); } if (!$row->check()) { $mainframe->enqueueMessage($row->getError(), 'error'); $mainframe->redirect('index.php?option=com_k2&view=category&cid='.$row->id); } if (!$row->store()) { $mainframe->enqueueMessage($row->getError(), 'error'); $mainframe->redirect('index.php?option=com_k2&view=categories'); } if (!$params->get('disableCompactOrdering')) $row->reorder('parent = '.(int)$row->parent.' AND trash=0'); if ((int)$params->get('imageMemoryLimit')) { ini_set('memory_limit', (int)$params->get('imageMemoryLimit').'M'); } $files = JRequest::get('files'); $savepath = JPATH_ROOT.DS.'media'.DS.'k2'.DS.'categories'.DS; $existingImage = JRequest::getVar('existingImage'); if (($files['image']['error'] === 0 || $existingImage) && !JRequest::getBool('del_image')) { if ($files['image']['error'] === 0) { $image = $files['image']; } else { $image = JPATH_SITE.DS.JPath::clean($existingImage); } $handle = new Upload($image); if ($handle->uploaded) { $handle->file_auto_rename = false; $handle->jpeg_quality = $params->get('imagesQuality', '85'); $handle->file_overwrite = true; $handle->file_new_name_body = $row->id; $handle->image_resize = true; $handle->image_ratio_y = true; $handle->image_x = $params->get('catImageWidth', '100'); $handle->Process($savepath); if ($files['image']['error'] === 0) $handle->Clean(); } else { $mainframe->enqueueMessage($handle->error, 'error'); $mainframe->redirect('index.php?option=com_k2&view=categories'); } $row->image = $handle->file_dst_name; } if (JRequest::getBool('del_image')) { $currentRow = JTable::getInstance('K2Category', 'Table'); $currentRow->load($row->id); if (JFile::exists(JPATH_ROOT.DS.'media'.DS.'k2'.DS.'categories'.DS.$currentRow->image)) { JFile::delete(JPATH_ROOT.DS.'media'.DS.'k2'.DS.'categories'.DS.$currentRow->image); } $row->image = ''; } if (!$row->store()) { $mainframe->enqueueMessage($row->getError(), 'error'); $mainframe->redirect('index.php?option=com_k2&view=categories'); } //Trigger the finder after save event $dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin('finder'); $results = $dispatcher->trigger('onFinderAfterSave', array('com_k2.category', $row, $isNew)); $cache = JFactory::getCache('com_k2'); $cache->clean(); switch(JRequest::getCmd('task')) { case 'apply' : $msg = JText::_('K2_CHANGES_TO_CATEGORY_SAVED'); $link = 'index.php?option=com_k2&view=category&cid='.$row->id; break; case 'saveAndNew' : $msg = JText::_('K2_CATEGORY_SAVED'); $link = 'index.php?option=com_k2&view=category'; break; case 'save' : default : $msg = JText::_('K2_CATEGORY_SAVED'); $link = 'index.php?option=com_k2&view=categories'; break; } $mainframe->enqueueMessage($msg); $mainframe->redirect($link); } function countCategoryItems($catid, $trash = 0) { $query = "SELECT COUNT(*) FROM #__k2_items WHERE catid={$catid} AND trash = ".(int)$trash; $db->setQuery($query); $result = $db->loadResult(); $dispatcher = JDispatcher::getInstance(); JPluginHelper::importPlugin ('k2'); $additional_category_links=$dispatcher->trigger('onK2BeforeCountCategoryItemsAdmin', array(&$result,$catid,$trash)); $db = JFactory::getDBO(); $catid = (int)$catid; $query = "SELECT COUNT(*) FROM #__k2_items WHERE catid={$catid} AND trash = ".(int)$trash; $db->setQuery($query); $result = $db->loadResult(); return $result; } }

Kann mir bitte jemand weiterhelfen - Danke
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
27 Jun 2016 15:12
Replied by Krikor Boghossian on topic SOLVED - K2 Item Images Cannot be Added!!

SOLVED - K2 Item Images Cannot be Added!!

Category: English K2 Community

Which extensions are you using on the site that is producing the issue which are not present in your other sites?

You can start by deactivating these extensions.

Furthermore, it has happened in the past, you could have reached the limit of your available disk space.

Finally you can enable error reporting and set it to development so any potential PHP fatal errors can show up.
  • Omar Almeida
  • Omar Almeida's Avatar
25 Jun 2016 01:21
Error helpers/html.php on line 56 was created by Omar Almeida

Error helpers/html.php on line 56

Category: English K2 Community

Hello, I'm transferring site of a Reseller Hosting to another and I am with this link in error_log:
[22-Jun-2016 18:13:09 Etc / GMT] PHP Fatal error: Class 'K2HelperUtilities' not found in /home/*****/public_html/administrator/components/com_k2/helpers/html.php online 56

All permissions are correct, clean temporary files, PHP and MySql correct and was transferred by Akeeba. Panel on Administration K2 is with blank page, the Home also is blank.
In another VPS server also occurred this problem.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
24 Jun 2016 14:22
Replied by Krikor Boghossian on topic fatal error with widgetkit and multilanguage

fatal error with widgetkit and multilanguage

Category: English K2 Community

Hello,

The error indicates that somehow the K2 content module is triggered in the administration area.
This is a widgetkit issue, you need to address this issue to the widgetkit devs.
  • smarterweb
  • smarterweb's Avatar
24 Jun 2016 02:55

fatal error with widgetkit and multilanguage

Category: English K2 Community

Hi,
with latest K2.7 and latest Widgetkit 2.7.4 AND multilanguage, we get a fatal error when trying to save a K2 item with the widgetkit code in it.
So in my K2 item I have:
<p>[widgetkit id="1" name="testwidget"]</p>

The content provider of the widget MUST be K2 for the problem to show. If I use any other content provider, it works just fine. But with K2 as widgetkit content provider, all we get is:

Fatal error: Call to undefined method JApplicationAdministrator::getLanguageFilter() in \modules\mod_k2_content\helper.php on line 202

Thanks for any help with this!
  • Sathesh
  • Sathesh's Avatar
08 Jun 2016 06:40
Replied by Sathesh on topic K2 not uploading images

K2 not uploading images

Category: English K2 Community

Hi Krikor,

This was the error I got when I turned on error reporting:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/brahmakumaris/public_html/administrator/components/com_k2/lib/class.upload.php on line 5028

I've tried increasing. the max_execution_time as you suggested (www.joomlaworks.net/forum/k2-en/40397-solved-upload-images-in-article). I tried doing it in php.ini, but no difference. I've asked my hosting company to increase it. Let's see if that helps. Thank you.


Best wishes,
Sathesh.
  • vtmod
  • vtmod's Avatar
06 Jun 2016 12:58 - 06 Jun 2016 13:06
Replied by vtmod on topic [SOLVED] how to change item via code?

[SOLVED] how to change item via code?

Category: English K2 Community

Hi,
The code is used within a custom Joomla plugin whereby only the very basics of Joomla/K2 are loaded. Its part of a sort of stand-alone application (sort of command line application if you like) . So there are no request variables or similar.

By "doesn't work" I mean : the item is not updated in the database, so there is also no change to see in the back-end.

There is also no error, anywhere (i have very pedantic & verbose debug settings showing pretty much all ). The code also proceeds so there was no fatal error or similar.

Thanks a lot for popping up.

Maybe there is a K2 plugin doing this kind of thing, something i could paste over...
  • Marcel
  • Marcel's Avatar
02 Jun 2016 11:59

Layout issue when publishing comment on k2 item

Category: English K2 Community

No same issue when disabling overrides..
The css of the template is removed. It appears the item is displayed i a new window without inheriting the template or k2 css.
Comments for this item are also not displayed, in fact that's where this messages appear.

Error reporting says:

Notice: Undefined property: stdClass::$comments in /var/www/vhosts/vanaarledelaat.nl/httpdocs/components/com_k2/templates/default/item.php on line 592

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/vanaarledelaat.nl/httpdocs/components/com_k2/templates/default/item.php on line 592

Fatal error: Call to a member function getPagesLinks() on null in /var/www/vhosts/vanaarledelaat.nl/httpdocs/components/com_k2/templates/default/item.php on line 647
  • Scott
  • Scott's Avatar
31 May 2016 13:34 - 31 May 2016 13:45

Got PHP 5.3.27 and MySQL 4.1.22, is K2 2.6.7 ok with this?

Category: English K2 Community

Hello Krikor, I am having the same issues blank pages with joomla 3.5 using K2 2.7 and tried 2.69

Error: reporting: Fatal error: Call to undefined function mb_internal_encoding() in /home/britepen/public_html/TRIAX/components/com_k2/helpers/route.php on line 93

Line 94 from route.php: mb_regex_encoding("UTF-8");

You suggested multibyte module not install would this apply to my issue as well?

britepencil.com/TRIAX
check TEST ARTIVLE menu button
Database client version: libmysql - 5.1.73
MYPHP: 4.4.15.6

Scott
  • Esteban Romero
  • Esteban Romero's Avatar
28 May 2016 19:54
Error al subir Imagen Principal en K2 was created by Esteban Romero

Error al subir Imagen Principal en K2

Category: Comunidad hispana oficial de K2

1) Hola, no puedo subir una imagen de tan solo 498 kb, me tira

Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in /home/indianau/public_html/nuevositio/administrator/components/com_k2/lib/class.upload.php on line 2910

Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in /home/indianau/public_html/nuevositio/administrator/components/com_k2/lib/class.upload.php on line 2950

Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in /home/indianau/public_html/nuevositio/administrator/components/com_k2/lib/class.upload.php on line 2977

Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in /home/indianau/public_html/nuevositio/administrator/components/com_k2/lib/class.upload.php on line 3004

Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in /home/indianau/public_html/nuevositio/administrator/components/com_k2/lib/class.upload.php on line 3022

Fatal error: Maximum execution time of 30 seconds exceeded in /home/indianau/public_html/nuevositio/administrator/components/com_k2/lib/class.upload.php on line 5007


Por lo que pude averiguar se debe a que el servidor no tiene los recursos necesarios.
Pero con SigPro me sube varias y más pesadas! no entiendo...
Alguna solución viable??

2) Además les pregunto si conocen alguna "load bar" (barra de carga) que indique el porcentaje de carga. Sé que aparece en la barra de estado del navegador, pero los clientes nunca lo ven... talvez haya algo más "visual".

Muchas gracias por la ayuda.
  • Abdulaziz Mierza
  • Abdulaziz Mierza's Avatar
10 May 2016 14:20
Replied by Abdulaziz Mierza on topic Error 500 when to download attachment

Error 500 when to download attachment

Category: English K2 Community

Hi Krikor,
Thanks for your response
This the error

Fatal error: Cannot redeclare class K2ModelItem in /public_html/administrator/components/com_k2/models/item.php on line 1375
  • Wilma van den Brink-Messink
  • Wilma van den Brink-Messink's Avatar
10 May 2016 12:20
Error after installing K2 was created by Wilma van den Brink-Messink

Error after installing K2

Category: English K2 Community

I did install K2.
In a 2.5.28 Joomla site.
I can't open K2 component. there is this error: Fatal error: Class 'K2HelperHTML' not found in /home/brink97/domains/zakelijkwonder.nl/public_html/administrator/components/com_k2/k2.php on line 80

Hope someone can help me with it.
Thank you so much.
  • Magnus Ehinger
  • Magnus Ehinger's Avatar
03 May 2016 22:40
Install fails was created by Magnus Ehinger

Install fails

Category: English K2 Community

I wish to give K2 a try, but the install fails in a peculiar fashion. During installation, everything is OK, and all is reported as installed. However, when I try to access K2 from Components > com-k2, I get an error message like the following:
Notice: Use of undefined constant K2_JVERSION - assumed 'K2_JVERSION' in /Applications/XAMPP/xamppfiles/htdocs/k2-test/administrator/components/com_k2/k2.php on line 20 Notice: Use of undefined constant DS - assumed 'DS' in /Applications/XAMPP/xamppfiles/htdocs/k2-test/administrator/components/com_k2/k2.php on line 38 Notice: Use of undefined constant DS - assumed 'DS' in /Applications/XAMPP/xamppfiles/htdocs/k2-test/administrator/components/com_k2/k2.php on line 38 Notice: Use of undefined constant DS - assumed 'DS' in /Applications/XAMPP/xamppfiles/htdocs/k2-test/administrator/components/com_k2/k2.php on line 38 Notice: Use of undefined constant DS - assumed 'DS' in /Applications/XAMPP/xamppfiles/htdocs/k2-test/administrator/components/com_k2/k2.php on line 38 Fatal error: Class 'K2HelperPermissions' not found in /Applications/XAMPP/xamppfiles/htdocs/k2-test/administrator/components/com_k2/k2.php on line 39

I'm sure the problem sits somewhere between the keyboard and the back of my chair, but I can't seem to realise what has gone wrong. My site runs Joomla 3.5.1 using PHP5.6.20 using XAMPP on Mac OSX 10.11.4 (running locally, just for testing purposes).

Any ideas?

/Magnus Ehinger
  • Javier Mejías
  • Javier Mejías's Avatar
23 Apr 2016 12:39
Replied by Javier Mejías on topic Error update Joomla 3.5.1

Error update Joomla 3.5.1

Category: English K2 Community

When I update the error is:

Fatal error: Class 'K2HelperPermissions' not found in /homepages/11/d615185925/htdocs/toroalbalafinal/administrator/components/com_k2/k2.php on line 41

However, if i Download the web to local and update in local server it is ok. What happened?

Thank you very much!!
  • Javier Mejías
  • Javier Mejías's Avatar
17 Apr 2016 15:10
Error update Joomla 3.5.1 was created by Javier Mejías

Error update Joomla 3.5.1

Category: English K2 Community

Hi all, it had mounted Joomla web 3.4 with the latest version of k2. I made the mistake of upgrading to 3.5.1 and k2 joomla stopped working in the manager. Every time I try to access any option k2 I get the following error

Fatal error: Class 'K2HelperPermissions' not found in /homepages/11/d615185925/htdocs/toroalbalafinal/administrator/components/com_k2/k2.php on line 39
  • Javier Mejías
  • Javier Mejías's Avatar
17 Apr 2016 15:01
Error al actualizar a Joomla 3.5.1 was created by Javier Mejías

Error al actualizar a Joomla 3.5.1

Category: Comunidad hispana oficial de K2

Hola a todos, tenía la web montada en Joomla 3.4 con la última versión de k2. He cometido el gran error de actualizar a joomla 3.5.1 y k2 ha dejado de funcionar en el administrador. Cada vez que intento acceder a alguna opción de k2 me sale el siguiente fallo

Fatal error: Class 'K2HelperPermissions' not found in /homepages/11/d615185925/htdocs/toroalbalafinal/administrator/components/com_k2/k2.php on line 39

He probado a actualizar a la ultima versión de k2 y nada. Agradecería enormemente cualquier ayuda o sugerencia.

Muchas gracias y un saludo.
Displaying 181 - 200 out of 1119 results.

Powered by Kunena Forum