- Posts: 6
COMMUNITY FORUM
Error with K2 v2.6.0 and new Joomla 2.5.7
- George Petcu
-
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
This file is not used anymore. In the next release we are going to add an automatic removal of the file in the installation proccess.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- chris
-
- Offline
- New Member
- Posts: 2
The problem occurs because of the line 360
K2Model::addIncludePath(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models');
in file plugins/system/k2/k2.php
you can replace it with the following,
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'item.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'categories.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'category.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'comments.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'cpanel.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'extrafield.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'extrafields.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'items.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'model.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'settings.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'tag.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'tags.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'user.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'usergroup.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'usergroups.php');
require_once (JPATH_ADMINISTRATOR.DS.'components'.DS.'com_k2'.DS.'models'.DS.'users.php');
basically instead of using the method addIncludePath to include the files in the model folder you call require_once for each file in the modle folder.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
Using the API is the prefered method to load models. It's also much more shorter. I also think that is more easy for a non programmer to just remove a file than messing with code. Anyway we have already fixed that in the SVN version.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- karlo
-
- Offline
- New Member
- Posts: 15
Sorry for the late reply.
Fatal error: Call to a member function categoriesTree() on a non-object in /home/.../public_html/sites/test/administrator/components/com_k2/views/items/view.html.php on line 124
Joomla 2.5.7
K2mart
K2 - Css4K2
PHP 5.3.17
After the update, the error occurs when the administration should be selected K2 articles.
Delete the file / administrator/components/com_k2/models/cpanel.php.
but the error persists. If you want to give access to the site.
Regards !!!
Please Log in or Create an account to join the conversation.
- Jose Ignacio Huerta Gray
-
- Offline
- New Member
- Posts: 1
¿Is that a bug or it has been removed on purpose?
Reinstalling version 2.5.7 everything works fine
Attachment not found
Regards
Jose
Please Log in or Create an account to join the conversation.
- Eduardo Santos
-
- Offline
- New Member
- Posts: 5
Now I can't change item's order.
Please Log in or Create an account to join the conversation.
- jacob
-
- Offline
- New Member
- Posts: 8
K2 is not installed! Error! Unable to retrieve any Images!
As far as I can see K2 appears to have installed, as I am able to add K2 content generally, so why am I getting the above error message?
Thanks in advance for your help.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
The ordering function has not be changed. You just need to first sort by the Order column.
@jacob
You need to contact the developers of the module. Probably the will already have an update.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
When does the error occur? Are you using K2 2.6.1?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- karlo
-
- Offline
- New Member
- Posts: 15
I installed 2.6.1, but the error persists. Do not use plugin for photos, only K2mart.
Please Log in or Create an account to join the conversation.
- Miguel Villela
-
- Offline
- New Member
- Posts: 10
It seems like the only real solution is to revert back to version 2.5.7 until this issue is resolved.
Since both K2 and K2 Mart are JoomlaWorks products, they should be able to figure it out.
Please Log in or Create an account to join the conversation.
- jacob
-
- Offline
- New Member
- Posts: 8
The error started when I updated K2, not the Captify Content module? What is the logic that I need to contact the authors of the module?
Thank you in advance for your help.
Please Log in or Create an account to join the conversation.
- jacob
-
- Offline
- New Member
- Posts: 8
Lefteris Kavadas wrote: @Jose @Eduardo Santos
The ordering function has not be changed. You just need to first sort by the Order column.
@jacob
You need to contact the developers of the module. Probably the will already have an update.
Hello,
The error started when I updated K2, not the Captify Content module? What is the logic that I need to contact the authors of the module?
Thank you in advance for your help.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
#extension Updated Captify Conten tot be compatible with K2 2.6 and Joomla 3.0 docs.joomlabamboo.com/joomla-extensions/captify-content-changelog
Please Log in or Create an account to join the conversation.
- jacob
-
- Offline
- New Member
- Posts: 8
William White wrote: This may be of some help from a tweet 1 hr ago from joomlabamboo
#extension Updated Captify Conten tot be compatible with K2 2.6 and Joomla 3.0 docs.joomlabamboo.com/joomla-extensions/captify-content-changelog
Thank you for your comeback. However, I've updated Captify Content with the latest unified version for 2.5-3.0. Using Joomla 2.5.7 and K2 2.6.1
Problem persists. Error message (with K2 not installed!) now doesn't show the error message anymore, but just as before, the Captify Content module doesn't load the images from K2 categories or items. I don't know if the problem is with Captify Content or K2? I would assume it's a problem with K2 since the error popped up immediately on updating to K2 2.6 initially, before that Captify Content was working perfectly.
Finding this process frustrating. Firstly, the authors for the Captify Content module (JoomlaBamboo) only provide support if you pay for a subscription?! Since I have already paid for a commercial template that came with Captify Content built in - and my template provider is only taking responsibility for their part of the template, where do I get help and who is ultimately responsible?
Thanking you again for your time.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
I think that the problem lies with open source and "free" in general.
All "free" cms and extensions to them are "free" for us to use and change if we like. There are not guarantees for all environments and more especially no guarantees with mixtures of components.
When we rush to upgrade from stable, tested, and fixed versions of the cms or an extension, we become a part of the testing process in some ways. Sometimes components lag way behind the cms release cycle, especially when there is a short term cycle as in 3.0. I still have stable 1.5 with k2 2.4.1 sites running without errors and with addins that cause no problems along with 2.5 sites with k2 2.5.7.
If it doesnt work when i test it, I wait...and do not hack the core (except for testing and bug reporting) and when I as site owner have tested completely, i go live with upgraded software. This can be seen by the advice given by the official joomla site about who should upgrade to 3.0 and also on many of the different dev's sites answering the same question. Things are in a constant state of evolution.
I guess we as site owners are ultimately responsible
Please Log in or Create an account to join the conversation.
- efrain
-
- Offline
- New Member
- Posts: 3
on Joomla 1.5.26
K2 v2.6.1
and I dont have the file under administrator/components/com_k2/models
please help?
Please Log in or Create an account to join the conversation.
- jacob
-
- Offline
- New Member
- Posts: 8
William White wrote: This will not be a popular post.
I think that the problem lies with open source and "free" in general.
All "free" cms and extensions to them are "free" for us to use and change if we like. There are not guarantees for all environments and more especially no guarantees with mixtures of components.
When we rush to upgrade from stable, tested, and fixed versions of the cms or an extension, we become a part of the testing process in some ways. Sometimes components lag way behind the cms release cycle, especially when there is a short term cycle as in 3.0. I still have stable 1.5 with k2 2.4.1 sites running without errors and with addins that cause no problems along with 2.5 sites with k2 2.5.7.
If it doesnt work when i test it, I wait...and do not hack the core (except for testing and bug reporting) and when I as site owner have tested completely, i go live with upgraded software. This can be seen by the advice given by the official joomla site about who should upgrade to 3.0 and also on many of the different dev's sites answering the same question. Things are in a constant state of evolution.
I guess we as site owners are ultimately responsible
William,
Thank you for taking the time to reply. I agree with you completely on the points you make about open source, free cms and the fact that there are no guarantees with this 'free' method of building a website. My question though, was really trying to understand where I should look to for help in this situation? I've only just begun building my website, so everything that happens on the site now is a learning process and not mission critical. However, the Captify Content module was one of the main attractions of the template design which I decided to purchase for my website. After all, when money exchanges hands, it isn't free any more and the product must operate reasonably as described, no?
Naturally, I have the option to go to the template vendor and get a refund, since it was their product which I purchased and the product is no good to me without the intended compatibility of K2 and Captify Content. However, I don't really want to do this as I would much rather have the product work as described. Hence my earlier question on the K2 Forum, 'who is ultimately responsible?' If it was the K2 update that caused the compatibility issue, (which I assume was the case, since everything was working before the K2 2.6 update) then perhaps the K2 team could indicate the best solution, or even simple acknowledge it was a K2 issue. Failing this, then at least I can move on and find a new template that doesn't use K2, or Captify Content (whichever party is causing the issue).
So essentially I am looking for who might be able to help me, not who might I blame? Once again, I thank you kindly for your time.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
- Posts: 3722
It could be that there is something else causing the problems or captify is partially fixed and needs more work. Give him access to the site, and i feel sure they will be working on it
Please Log in or Create an account to join the conversation.