Keyword

Advanced Search

Search Results (Searched for: Upgrade k2)

  • michaelmaedoc
  • michaelmaedoc's Avatar
17 Oct 2012 01:22
Replied by michaelmaedoc on topic Upgraded to K2 2.6

Upgraded to K2 2.6

Category: English K2 Community

Thanks Frost for your help. However, I can't find any previous versions on the site. I've asked support if they have a link.
  • MaTsch
  • MaTsch's Avatar
16 Oct 2012 17:57

Error: Class 'K2Table' not found in k2user.php

Category: English K2 Community

Hi guys!

I searched for help in the forum, but didn't find a solution yet... I use Joomla v2.5.7 (with Community Builder v1.8.1). I upgraded K2 from v2.5.7 to v2.6.1 and all my registered visitors got that fatal error ("Fatal error: Class 'K2Table' not found in xxx/administrator/components/com_k2/tables/k2user.php on line 13").

If I clear my browser's cache and cookies the site works as intented. But the error can be reproduced with the following three steps:

1.) Check the box "Remember Me" and log in.
2.) Close your browser while being logged in.
3.) Open your browser and visit the site again. The error message appears again.

I can get rid of that error again and again by clearing my browser's cache and cookies as stated above. But that error will come back after closing my browser while being logged in. For me it seems like an error with the cookies... A new install of the version 2.6.1 didn't help. Any idea how to fix that? Thanks in advance!
  • frost
  • frost's Avatar
16 Oct 2012 15:14
Replied by frost on topic Upgraded to K2 2.6

Upgraded to K2 2.6

Category: English K2 Community

You can download previous versions from this site.
  • george
  • george's Avatar
16 Oct 2012 11:16 - 17 Oct 2012 10:40

[SOLVED] Seeing unpublished items when logged in front end

Category: English K2 Community

I had the same problem and I did this hack to fix this. Please make sure you have a backup and of course as with all hacks you should do this in each and every upgrade you make. The fix is not the best, but sure its tha fastest way to solve this issue.

Open components/com_k2/models/itemlist.php

Around line 339 under this line
JPluginHelper::importPlugin('k2');

put this code
 // Lollypop.gr fix $lollygroups = array(); foreach ($user->groups as $key => $value){ $lollygroups[] = $key; } if(in_array(3,$lollygroups) OR in_array(8,$lollygroups)){ $query = str_replace("i.published = 1 AND","",$query); } // EOF lollypop.gr fix

So with this hack allow Admins and authors to view Un-bpublished items in category listings. The ID's 3 and 8 are for Authors and Superadmins in a default Jinstallation. You can put many more if you like other groups to see this as well.

Also in the overridden view file /templates/templatename/html/com_k2/default/category_item.php

around line 54 add this line, so you can see what articles are un-published
<?php if($this->item->published==0) {?><span><sup>Unpublished</sup></span><?php }?>


And at last, in order to see the un-published item you do something similar.

open /components/com_k2/views/item/view.html.php and around line 106 replace this
if (!$item->published || $item->trash) { JError::raiseError(404, JText::_('K2_ITEM_NOT_FOUND')); }

with this
// Published check // if (!$item->published){ // Lollypop fix $lollygroups = array(); foreach ($user->groups as $key => $value){ $lollygroups[] = $key; } if(!in_array(3,$lollygroups) AND !in_array(8,$lollygroups)){ JError::raiseError(403, JText::_('K2_ALERTNOTAUTH')); return; } // EOF lollypop } if ($item->trash) { JError::raiseError(404, JText::_('K2_ITEM_NOT_FOUND')); }

It worked perfect for me.
  • michaelmaedoc
  • michaelmaedoc's Avatar
16 Oct 2012 11:01
Replied by michaelmaedoc on topic Upgraded to K2 2.6

Upgraded to K2 2.6

Category: English K2 Community

Thanks. Unfortunately, I do not have the zip for the older version that I updated from. I did try 2.4.1 but that did not work. I'll have to restore the old K2 files and database... I think.

Any suggestions anyone? I could restore the old site then update it all over again but there has to be a way to retrieve old content. I'd like to learn that method as I'll need it in the future.
  • triggeru571
  • triggeru571's Avatar
16 Oct 2012 09:31
404 - An error has occurred. was created by triggeru571

404 - An error has occurred.

Category: English K2 Community

Hi, just upgraded joomla and k2 using the remote upgrade and I now get an error in the administrator when I try to access k2 - 404 - An error has occurred. The current path in Joomla admin menu for k2 is administrator/index.php?option=com_k2

Note that the component is installed and published and everything on the front end appears correctly.
  • frost
  • frost's Avatar
16 Oct 2012 05:15
Replied by frost on topic Upgraded to K2 2.6

Upgraded to K2 2.6

Category: English K2 Community

Before you restore your site backup, have you tried just rolling back your k2 to the version that was previously installed when your site was working? I had the same issue with my site when I updated to a new version of k2, I had lost all my content. I just reinstalled the older version of k2 (without installing the newer version). Once I did that it corrected all my issues.

However, if that is not the case with yours and you do need to restore your site I suggest you post on the joomla forums as your questions would be more inline with that user base imo.

Just my two cents, I hope you get it working.
  • michaelmaedoc
  • michaelmaedoc's Avatar
16 Oct 2012 03:07 - 16 Oct 2012 03:25
Replied by michaelmaedoc on topic Upgraded to K2 2.6

Upgraded to K2 2.6

Category: English K2 Community

I found the backup of the web site and downloaded it. What files do I need to pull from the backup to retrieve my content?

I have a backup of the database from before I updated K2 and Joomla 1.5.7 to Joomla 1.5.26. if I replace the database will that affect the update to Joomla 1.5.26? I assume it won't...
  • Goh Yew Hoe
  • Goh Yew Hoe's Avatar
16 Oct 2012 02:03 - 16 Oct 2012 02:04

K2 Images not resized properly when uploaded

Category: English K2 Community

I've upgraded to K2 2.6.1 and during my testing, I found that images that have been uploaded in K2 are not re-sized properly. Looking at the cache folder, I found that all the images XS,S,M,L,XL all have the same file size and same width of 480px regardless what I have specified under Image Option in K2 Parameters.

Anyone else have this same issue? I'm on Joomla 2.5.7.
  • michaelmaedoc
  • michaelmaedoc's Avatar
15 Oct 2012 23:15
Upgraded to K2 2.6 was created by michaelmaedoc

Upgraded to K2 2.6

Category: English K2 Community

:ohmy: I downloaded the latest K2 Zip file and installed it through my extension manager. Now, I have lost all my categories and items. K2 appears to work just fine but I have lost ALL my content.

I have Joomla 1.5.26, and am planning upgrade to 2.5 in the spring, but for now I tried loading K2 2.6 into my Joomla 1.5.26 version. Could that be the problem?

I am trying to get my site back up after being hacked and need to update my software.
  • Francisco Arteaga
  • Francisco Arteaga's Avatar
15 Oct 2012 19:46 - 15 Oct 2012 19:47
K2 Image upload, generates 0 bytes files was created by Francisco Arteaga

K2 Image upload, generates 0 bytes files

Category: English K2 Community

Does anybody knows why, from one day to another, K2 stop uploading images on items correctly and started generating 0 bytes files? Obviously those files doesn't show up.

Attachment not found



I've upgraded to K2 v2.6.0 and it worked for a day but then stopped working.
Help me please!
  • Jake Knight
  • Jake Knight's Avatar
15 Oct 2012 16:16
Problem with K2 Save was created by Jake Knight

Problem with K2 Save

Category: English K2 Community

I have a recurring issue that I have previously solved with a slight change in the K2 code.

After an upgrade, I can't find the override to fix the issue as it was in a post on the old K2 board.

The issue I have is that when a user on the front end, edits an item and clicks save, the item does not save and the site's homepage loads in the K2 popup.

This seems to be a problem with the relative url used by the script based on my server. I just can't find how to fix it.

J! v 1.5.26
K2 2.5.6
  • Xeni
  • Xeni's Avatar
15 Oct 2012 14:11

cannot upload zip file in image gallery

Category: English K2 Community

I cannot upload zip file in image gallery tab after upgrade to K2 v2.6.1

anyone any ideas why?
permissions are all fine
  • MaTsch
  • MaTsch's Avatar
15 Oct 2012 12:48 - 15 Oct 2012 12:50

Help! Major roblems after upgrading to Joomla 2.5

Category: English K2 Community

Same error here. I use Joomla v2.5.7, Community Builder v1.8.1. Yesterday I upgrade K2 from v2.5.7 to v2.6.1 and today all my registered visitors got that fatal error ("Fatal error: Class 'K2Table' not found in /administrator/components/com_k2/tables/k2user.php on line 13").

I try to provide some more information on that issue:

If you clear your browser's cache and cookies the site works as intented. But you can reproduce the error in three steps:

1.) Log in and check the box "Remember Me".
2.) Close your browser.
3.) Open your browser and visit the site again. The error message appears again.

You can get rid of that error again and again by clearing your browser's cache and cookies as stated above. But that error will come back after closing your browser while being logged in. For me it seems like an error with the cookies... A new install of the version 2.6.1 didn't help. Any idea how to fix that? Thanks in advance!
  • Joe
  • Joe's Avatar
15 Oct 2012 07:24

Error in update... better but not enough

Category: English K2 Community

I tried what was mentioned in this post and it worked.

Hopefully a future version of the K2 these problems are solved
  • Adam Francese
  • Adam Francese's Avatar
14 Oct 2012 13:17
Replied by Adam Francese on topic Error after upgrade to k2 2.6.0

Error after upgrade to k2 2.6.0

Category: English K2 Community

Try this...
In you joomla admin panel goto Extensions > Extension Manager and Click on the "Manage" Tab

Disable this: System - K2 Mart (Plugin)

Everything seems to work for me (including k2 mart) after that..
  • Ashfaq Rahman
  • Ashfaq Rahman's Avatar
14 Oct 2012 13:16
K2 tag not working on joomla 2.5 backend was created by Ashfaq Rahman

K2 tag not working on joomla 2.5 backend

Category: English K2 Community

Hi after searching a lot I,m posting this question. When trying to add a tag in k2 item in joomla 2.5 backend, nothing happens. I have pressed enter and also tried with comma. I have tried with updating k2 latest version. But still same problem. I,m using ja_wall template, joomla 2.5. Also I,m getting this error after k2 upgrade

Model class cpanelModelCpanel not found in file

Can anyone help please.
  • william white
  • william white's Avatar
13 Oct 2012 15:55
Replied by william white on topic Sub-templating issue

Sub-templating issue

Category: English K2 Community

The movies from ostraining under documentation show how to correctly configure a k2 template or override
the override should be a copy of the folder
YoursiteRoot/components/com_k2/templates/default
placed in
YourSiteRoot/Templates/YourTemplateName/html/com_k2/templates and renamed from default to your custom template name
It will then show in the pick list when you look at a k2 category and it contains the php files to edit so you can both change the display of the items and also not loose your changes upon upgrade
  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
13 Oct 2012 04:48
Replied by Kannan Naidu Venugopal on topic Facebook Share returning Blank Thumbnail

Facebook Share returning Blank Thumbnail

Category: English K2 Community

The path should be /templates/YOURJOOMLATEMPLATE/html/com_k2/

It's better to upgrade to K2 2.6.x (latest version) as it already comes with OGP meta tags.
  • william white
  • william white's Avatar
12 Oct 2012 22:01
Replied by william white on topic K2 - White screen when saving item and php error

K2 - White screen when saving item and php error

Category: English K2 Community

You should not make changes to the file in the k2 core. All changes will be lost when you upgrade.
Try setting javascript in the k2 options layout tab at the top on your localhost version to load local copy and see if that may be the problem.
Displaying 1241 - 1260 out of 2231 results.

Powered by Kunena Forum