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

Advanced Search

Search Options

Search Results Displaying 601–620 out of 1118 results.

English K2 Community 13 years 10 months ago

Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.

When you look at k2.php (the system plugin) you can see that the K2 devs are using

JRequest::getCmd()

which is deprecated.

They should use

JFactory::getApplication()->input->get() instead.

docs.joomla.org/Potential_backward_compatibility_issues_in_Joomla_3.0_and_Joomla_Platform_12.1

Workaround: Just select template name with checkbox and click on Edit button. That will do the same as if you clicked on template name ...

Perhaps "one day" the K2 guys will change that (and stop blaming Gantry) ...

I guess you could also just "search & replace"
JRequest::getCmd with Factory::getApplication()->input->get
in the k2.php ... but I haven't tested that.
English K2 Community 13 years 11 months ago

Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.

I have the same problem. Joomla 3.0.2. K2 2.6.2, Rocket Theme Cerulean template 1.0, Gantry 4.1.4

If I unpublish the System - K2 plugin I can then access the template from the backend.
English K2 Community 13 years 11 months ago

Re: White Page after Save or import - New installation

Thanks for the "switches"!

I got figured out like in this thread getk2.org/community/New-to-K2-Ask-here-first/165876-Fatal-Error---please-help#165876
that mbstring support is not enabled.

So i let enable mbstrings and try again.

I will insert feedback for doc later.
English K2 Community 13 years 11 months ago

call extra field one k2 module & show that

i want to call k2 extra field to one of k2 module to show that. about this work ther are 1 code one of that is k2 defult code & working right just in k2 component & do not work in my module:

<?php if($this->item->params->get('itemExtraFields') && count($this->item->extra_fields)): ?>
<!-- Item extra fields -->
<div class="itemExtraFields">
<ul>
<?php foreach ($this->item->extra_fields as $key=>$extraField): ?>
<?php if($extraField->value != ''): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">
<?php if($extraField->type == 'header'): ?>
<h4 class="itemExtraFieldsHeader"><?php echo $extraField->name; ?></h4>
<?php else: ?>
<span class="itemExtraFieldsValue"><?php echo $extraField->value; ?></span>
<?php endif; ?>
</li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>

whene add this to my module give this error : Fatal error: Using $this when not in object context in /opt/lampp/htdocs/worldnews/templates/sj_worldnews/html/mod_sj_megak2news/theme1.php on line 70
English K2 Community 13 years 11 months ago

Re: K2 - White screen when saving item and php error

Nate Covington wrote:
Susan Penter wrote:
Hi I thought this line my fix my problem since loading the additional information tab data but I still get this fatal error:

Fatal error: Call to undefined method K2ModelItemMultiImages::buildAliasBasedExtraFields() in /home/sites/SITENAME/public_html/genealogy/components/com_k2/models/item.php on line 1492

I also have the following plugin installed which may be involved as it is mentioned in the error message:
getk2.org/extend/extensions/date/item/763-k2-multiple-images-plugin


The other pages in the category that I have not added the additional data to are working fine but even after emptying the data out of the additional data tab of the broken page it still didn't work.

The multi image plug in is being used in a different category and is behaving fine.

Many thanks for any help.

Susan


I am having a similar issue with the extra fields, same error:
Fatal error: Call to undefined method K2ModelItemMultiImages::buildAliasBasedExtraFields() in /Applications/MAMP/htdocs/sitename/components/com_k2/models/item.php on line 1492

Same configuration - multi images plugin works on item view without K2 extra fields... both the image and extra fields work on the category view, but not on the item view. Even the new "image" type of extra field works, in the category view...

Anyone?


Just reporting back, I received an updated "K2 Multi Images Plugin" from Andrey (JoomCar) and it solved my issue. Hope this is helpful to someone.

Thanks!
Communauté française K2 13 years 11 months ago

Problème d'affichage élément K2

Bonjour,
j'essaie d'utiliser depuis peu K2. ma version de Joomla est le 2.5.1 et j'ai la dernière version de K2.
j'ai créé un lien vers une catégorie K2, en cliquant sur ce menu les éléments de la catégorie s'affiche mais quand je clique sur un élément j'ai le message suivant :
Fatal error: require_once() [function.require]: Failed opening required '/homez.395/useprrfp/www/components/com_mailto/helpers/mailto.php' (include_path='.:/usr/local/lib/php') in /homez.395/useprrfp/www/components/com_k2/views/item/view.html.php on line 305

quelqu'un peut-il m'aider? Merci
Eric
English K2 Community 13 years 11 months ago

Re: K2 - White screen when saving item and php error

Susan Penter wrote:
Hi I thought this line my fix my problem since loading the additional information tab data but I still get this fatal error:

Fatal error: Call to undefined method K2ModelItemMultiImages::buildAliasBasedExtraFields() in /home/sites/SITENAME/public_html/genealogy/components/com_k2/models/item.php on line 1492

I also have the following plugin installed which may be involved as it is mentioned in the error message:
getk2.org/extend/extensions/date/item/763-k2-multiple-images-plugin


The other pages in the category that I have not added the additional data to are working fine but even after emptying the data out of the additional data tab of the broken page it still didn't work.

The multi image plug in is being used in a different category and is behaving fine.

Many thanks for any help.

Susan


I am having a similar issue with the extra fields, same error:
Fatal error: Call to undefined method K2ModelItemMultiImages::buildAliasBasedExtraFields() in /Applications/MAMP/htdocs/sitename/components/com_k2/models/item.php on line 1492

Same configuration - multi images plugin works on item view without K2 extra fields... both the image and extra fields work on the category view, but not on the item view. Even the new "image" type of extra field works, in the category view...

Anyone?
English K2 Community 13 years 11 months ago

Re: K2 Items Disappeared

That is a "warning" not a fatal error, it should not remove anything.
Turn error reporting to none in Joomla Global Settings Server Tab and the warning should go away.

What have you changed, added, or updated on your site just before the items went away?
English K2 Community 13 years 11 months ago

K2 Component & JomHoliday

Good Day

Last evening I purchased the Joomla Component JomHoliday.

The component was configured and assigned to menu item but page loads with the following error message:

Fatal error: Call to a member function getUserProfile() on a non-object in /home/hbkvilla/public_html/components/com_k2/helpers/utilities.php on line 73

Can you please provide assistance in resolving?

Joomla Version 2.5.8
K2: (Last update: November 23rd, 2012 - Version 2.6.2)
Gantry 4.1.4
Template: Rocket Theme993

Your assistance is resolving ASAP is appreciated.

Regards
Juanna
English K2 Community 13 years 11 months ago

k2_override problem

Hi,
I had a problem as i was trying to create a k2_content override.

I followed the instructions at
getk2.org/documentation/tutorials/item/77-k2-template-override-package-comparison
I want to have more that one k2_content override so inside my mytempate/html/mod_k2_content folder i copied and pasted twice the default folder and i gave defferent names.
Then i set some of my k2_content modules to use the sub-templates i created.
That's all i did, i didnt change anything at the php files yet.

When i work locally, i m able to see the sub-templates and assign them to some of my modules, with no problem.

But when i put the site online i get this error

Warning: require(/home/egnapost/public_html/modules/mod_k2_content/tmpl/default.php) [function.require]: failed to open stream: No such file or directory in /home/egnapost/public_html/modules/mod_k2_content/mod_k2_content.php on line 55

Fatal error: require() [function.require]: Failed opening required '/home/egnapost/public_html/modules/mod_k2_content/tmpl/default.php' (include_path='.:/opt/php53/lib/php') in /home/egnapost/public_html/modules/mod_k2_content/mod_k2_content.php on line 55

Also i cant see the sub-templates i created from the backend of the online site, but the override folders are at their place.

Am I doing something wrong?

Thanks for your time
yorgos

PS. If i set my online site's modules to use the default sub-template, the site works normally.
English K2 Community 13 years 11 months ago

Re: Fatal error: Call to undefined function mb_interna

Goto the k2 dashboard, check the information tab.
You will likely find that mb_string is not enabled on your server.
Contact your host and have them turn it on
English K2 Community 13 years 11 months ago

Re: Blank Page

mmmm, as soon as I enabled that, I got the following:
Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with that of JRegistry::loadSetupFile() in /home/samprins/public_html/libraries/joomla/html/parameter.php on line 512

Strict Standards: Declaration of fancyboxClass::getHeaderLibrary() should be compatible with that of JAPopupHelper::getHeaderLibrary() in /home/samprins/public_html/plugins/system/japopup/fancybox/fancybox.php on line 17

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/plugins/system/k2/k2.php on line 306

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/plugins/system/k2/k2.php on line 27

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/plugins/system/k2/k2.php on line 120

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/plugins/system/jalazyload/jalazyload.php on line 37


And then when I go to the comments area to check what error I get, I see nothing but this:
Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with that of JRegistry::loadSetupFile() in /home/samprins/public_html/libraries/joomla/html/parameter.php on line 512

Strict Standards: Declaration of fancyboxClass::getHeaderLibrary() should be compatible with that of JAPopupHelper::getHeaderLibrary() in /home/samprins/public_html/plugins/system/japopup/fancybox/fancybox.php on line 17

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/plugins/system/k2/k2.php on line 306

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/plugins/system/k2/k2.php on line 27

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/admin.k2.php on line 14

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/admin.k2.php on line 18

Strict Standards: Non-static method K2HelperPermissions::checkPermissions() should not be called statically in /home/samprins/public_html/administrator/components/com_k2/admin.k2.php on line 39

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/components/com_k2/helpers/permissions.j16.php on line 19

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/components/com_k2/helpers/permissions.j16.php on line 20

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/admin.k2.php on line 66

Strict Standards: Declaration of K2ControllerComments::display() should be compatible with that of JController::display() in /home/samprins/public_html/administrator/components/com_k2/controllers/comments.php on line 15

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/views/comments/view.html.php on line 21

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/views/comments/view.html.php on line 22

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/views/comments/view.html.php on line 40

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/views/comments/view.html.php on line 41

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/models/comments.php on line 65

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/models/comments.php on line 68

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/models/comments.php on line 21

Strict Standards: Only variables should be assigned by reference in /home/samprins/public_html/administrator/components/com_k2/models/comments.php on line 24

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 82 bytes) in /home/samprins/public_html/libraries/joomla/database/database/mysql.php on line 706


Any ideas?
English K2 Community 13 years 11 months ago

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!
English K2 Community 13 years 11 months ago

Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.

Same issue here.
Using Gantry framework, and Cerulean Rockettheme template with Joomla 3.0.4 & K2 2.6.2

As soon as K2 was uninstalled, I had access to the template again.
English K2 Community 14 years 8 hours ago

Re: filtering the categories.

Hi,

thx for the re. I'm using joomla 2.5.8 and K2 2.6.1.
If we update to k2 2.6.2 there are fatal errors in the site.

grts,

Benny
English K2 Community 14 years 9 hours ago

Re: Doubts about the new extra fields features v2.6.2

Hi William... the error is this:

Fatal error: Using $this when not in object context in /home/d/mysite/www/templates/protostar/html/mod_k2_content/gastes/default.php on line 9

Regards!

BTW: The code is working fine in category_item.php
English K2 Community 14 years 1 day ago

Re: K2 - can't add category - getting blank

I'm getting:
Fatal error: Class 'JdFinderIndexerAdapter' not found in /var/www/vhosts/edgetech.lv/httpdocs/joomla1/plugins/finder/jdcontent/jdcontent.php on line 37
English K2 Community 14 years 2 days ago

Re: Fatal error attaching file Joomla 3.0.1. K2 2.6.1.

Is there any update on how to fix this issue?
English K2 Community 14 years 2 days ago

after installing K2 website crashes

I have just installed K2 2.6.2 in a Joomla 2.6 site, now my site is not functioning anymore. Even the admin is not available. What happend?


Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /home/lactacar/public_html/administrator/components/com_k2/models/model.php on line 41
English K2 Community 14 years 4 days ago

k2+jomsocial error

install new joomla 2.5.8 + jomsocial 2.6.2 + k2 2.6.2
have error on frontpage
Fatal error: Cannot make static method JModel::addIncludePath() non static in class K2Model in /home/o/orekhov2k/site.ru/public_html/administrator/components/com_k2/models/model.php on line 0