Keyword

Advanced Search

Search Results (Searched for: How do I check K2 version)

  • Georg von Sperling
  • Georg von Sperling's Avatar
13 Feb 2014 12:33 - 13 Feb 2014 12:40
Upload Item Image - incomplete response was created by Georg von Sperling

Upload Item Image - incomplete response

Category: English K2 Community

Hello,

I am new to K2 (used as part of a template I purchased). Fighting my way through on how it works. I am having issues uploading item and category images. When I attempt to upload through the backend, a white screen returns (source view shows partially generated HTML).

I have searched on this forum and attempted all suggestions I have found that seemed relevant.

Here some information:

System: WAMP - all folders writable, increased PHP Memory Size to 1024M

Step 1: select image:
Step 2: image selected:
Step 3: wait 5 seconds and see white page:
Step 4: view source of the white page:

Same result when I use "browse on server" and select any image from the media library
Super weird is the fact that occasionally I see the image in
  • Yiota
  • Yiota's Avatar
30 Jan 2014 15:55
Replied by Yiota on topic How to change date format?

How to change date format?

Category: English K2 Community

Is a link to your page available to check it out?

Also try to upgrade your K2 to the 2.6.8 SVN version which is compatible with 3.2.1 joomla! and fixes some issues.
Download it here: getk2.org/assets/get/

Don't forget to get a backup of your site first.
  • Detlef
  • Detlef's Avatar
23 Jan 2014 10:26
Replied by Detlef on topic Attachments Not Showing

Attachments Not Showing

Category: English K2 Community

Yiota Ziaggou wrote: Please try to upgrade with K2 SVN version 2.6.8 and check again.
Download it from here: getk2.org/assets/get/


Same result,also with the dev version....

It will NOT work when you choose a file from the server!
II WORKS when you choose a file from the PC

regards
  • Yiota
  • Yiota's Avatar
22 Jan 2014 17:22
Replied by Yiota on topic Attachments Not Showing

Attachments Not Showing

Category: English K2 Community

Please try to upgrade with K2 SVN version 2.6.8 and check again.
Download it from here: getk2.org/assets/get/
  • Pete Monfre
  • Pete Monfre's Avatar
19 Dec 2013 21:56
Brand new site - K2 items show 403 error was created by Pete Monfre

Brand new site - K2 items show 403 error

Category: English K2 Community

I just installed a fresh Joomla install 3.2.1 into a subdirectory (member.explorationnation.com). I installed K2 (latest version) with no other plug-ins. I am using a default template for now.

When I create an item it gives a 403 error (I'm a superuser). When I create a menu with a category listing or item from K2 same error.

I have set up usergroups in K2, checked permissions in Joomla and tried multiple combinations of public, registered, guest, etc. and K2 items simply don't work.

for the superuser group in K2 I checked "Yes" on everything and "none" on Filter.

When I log out the K2 menu item disappears.

Normal Joomla articles work fine.
  • jenci
  • jenci's Avatar
05 Dec 2013 20:41

Newly added extra fields doesnt shows in items

Category: English K2 Community

Hi,
I have interesting problem:
- I have 1700+ items
- I have extra field (textarea), which is correctly assigned to the extra fields group, the group is correctly assigned to the category.
- the problem occurs when I create new extrafield (textarea), assign it to the current group, but this newly added extra field doesnt shows in item view (everything is setted up correctly ... showing extrafields atc ,), only shows the extrafield which is added 3months ago.
- if you go to the k2 item, the extrafields are there ...
BUT, If I open a k2 item, then I resave, the newly added extrafields shows in frontend.
I tried to clear cache, purge cache, check in, clear browser cache, publish/unpublish item, trash it than renew it, move it ... nothing. Only resaving helps, but I really dont want to open 1700+ items - save than close :S :blink:
Joomla! 2.5.14
K2 v2.6.6
PHP Version 5.3.27
Database Version 5.5.32-cll

Any idea appreciated , please help :(
  • farid
  • farid's Avatar
27 Nov 2013 00:01
virtuemart and k2 was created by farid

virtuemart and k2

Category: English K2 Community

hi, I use quickstart include virtuemart and k2 and I upgraded to last version
when I unistall k2, virtuemart not worked checkout ! ,virtuemart dependent this plugin 'system-k2'
and k2 caused, show page login before respect to checkout
and register page don't want show fields k2, I need only user and password and email not more
plz help me, sorry abut not good my english
  • Mats Arvendal
  • Mats Arvendal's Avatar
11 Nov 2013 11:41
Replied by Mats Arvendal on topic Language problem after upgrade to Joomla 3.2

Language problem after upgrade to Joomla 3.2

Category: English K2 Community

This was exactly what happened when I began this upgrading: The 3.1.5 version announced that there were 2 upgrades. Joomla 3.2 and the Swedish language files. I upgraded both but the English expressions did not change into Swedish.

But I think I know what may be the problem: It worked when I created an override for K2_PRINT in Swedish:

Attachment not found



When I check the translation at transifex.com I discovered that K2_PRINT is translated into "Skriv ut".

So my conclusion is that the K2 language fles that I downloaded yesterday from getk2.org are not reliable. How often do they pull the language files from transifex.org?

Best regards
  • Davor
  • Davor's Avatar
20 Oct 2013 14:06

how to convert k2 items to default joomla articles

Category: English K2 Community

sorry for bumping old topic but still nobody find a solution for this

so I'm using j3.1.5 and I want to move K2 items to joomla content
I'm unsuccessfully using this sql query command but no luck, what am I doing wrong?

insert into `ZZZ_content` (id, title, alias, catid, introtext, fulltext, created, created_by, created_by_alias, checked_out, checked_out_time, modified, modified_by, publish_up, publish_down, access, featured, hits, language) select id, title, alias, catid, introtext, fulltext, created, created_by, created_by_alias, checked_out, checked_out_time, modified, modified_by, publish_up, publish_down, access, featured, hits, language from `ZZZ_k2_items`

- where ZZZ is prefix
- error I get: #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext, created, created_by, created_by_alias, checked_out, checked_out_time, ' at line 1
  • Alf
  • Alf's Avatar
19 Aug 2013 18:35 - 19 Aug 2013 18:39

K2 Items Not showing in Frontend

Category: English K2 Community

Hi, I'm new to k2.

Created an item to test k2 installation, and it doesn't appear only on front-end.
Items created previously on Joomla only appear OK.
I have imported the data from Joomla already.

Author publishing status:
Language =all
Access level =Public
Creation date = 21013_08_19
Start publishing 2013_08_18
Finish publishing =empty

What else should i check

Additional Data:
Joomla Version: 2.5.14
K2 Version: V2.6.6
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
23 Jul 2013 14:12
Replied by Krikor Boghossian on topic <img> Image in Intro Text not shown

<img> Image in Intro Text not shown

Category: English K2 Community

Hello Daniel,

k2.css is in fact in that folder but chances are your template uses its own version of k2.css.

If it doesn't you need to override this file. more info can be found here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

Did you try IAKI?

As for moving the image you have to open item.php locate the image block and move it where you want. No special skills are needed since the code is very well commented.
All you need to watch out is not to break any <?php if() ?> .. <?php endif; ?> checks.
  • marcos
  • marcos's Avatar
20 Jul 2013 12:54
Erro 1064 was created by marcos

Erro 1064

Category: Comunidade K2 Brasil

Dear members, need help :

1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2013-07-20 09:4' at line 1 SQL=SELECT a.*, c.name as categoryname,c.id as categoryid, c.alias as categoryalias, c.params as categoryparams FROM yql4k_k2_items as a LEFT JOIN yql4k_k2_categories c ON c.id = a.catid WHERE a.published = 1 AND a.access IN(1,1,5) AND a.trash = 0 AND c.published = 1 AND c.access IN(1,1,5) AND c.trash = 0 AND (a.created_by = 0 OR a.modified_by = 0) AND a.catid IN() AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2013-07-20 09:49:47' ) AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2013-07-20 09:49:47' ) ORDER BY a.ordering ASC

How do I fix this ?

Prezados membros,

De que forma, posso corrigir isto ?
  • jonny
  • jonny's Avatar
26 May 2013 05:58
URL Issue - Child Category was created by jonny

URL Issue - Child Category

Category: English K2 Community

Having an issue with second category. I am happy to see that the new version of K2 doesn't seem to have the issues of having "items" in their URL structure.

However, when creating a second/child category - I get the item id# in the URL. I checked the parameters and have checked it as off.

i.e. Created a "parent" category NEWS. Created a "child" and "second" category 2013.

Now the URL shows:

www.domain.com/news/2013/2-2013/newsarticle

If I select either child or create a separate category, this URL displays like this. Is there any other way to remove the "2" from appearing. 2013 is #2 category ID.

I would like:

www.domain.com/news/2013/newsarticle

Any advice?
  • Tony Hart
  • Tony Hart's Avatar
14 May 2013 17:10

K2 Camera Slider - Not working after update

Category: English K2 Community

I was hoping someone could point me in the right direction. We have Joomla 2.5.11 running with K2 2.6.6. After the upgrade, it would appear that the slider function is not working...

www.xcaliburfieldhockey.com

I have checked to make sure there are published articles and everything is enabled, but there is either an incompatibility that I am unaware of or I am missing something. I do know that there was an issue with the jQuery Easy update at the same time, but I don't know if the two are related. The latest version of jQuery Easy was installed over top since it wasn't updating properly.

I did note that there is at least one other post that said that the K2 Camera Slider version did not update to 2.6.6 for them and I can confirm that mine has not update either. It stayed at 2.5.7.

If I need to rollback K2 to the previous version to get the slider back, can anyone tell me how that is safely done?

Thanks,

Tony
  • marecekloool
  • marecekloool's Avatar
29 Apr 2013 07:07
Images in the article wont show was created by marecekloool

Images in the article wont show

Category: English K2 Community

Hi all

I have been using

I am using joomla 2.5.9 with K2 version 2.6.6
I have these seo settings:
SEF URLs ON
use URL rewriting ON
add suffix ON
UNICODE aliases OFF

I am using K2 for my articles. I insert some images directly in the text with help of the WYSIWYG editor and they dont show if I go to the article from an external link.
you can try it here kocko.sk/sutaze-v-bojovych-sportoch/64-gala-night-thaiboxing-2013-zilina.html

It seems that the image itself has a bad link generated to itself. I have them stored in /images/k2/galazilina2013/DSC_0203.jpg for example and thats how they usually work, but when I for example visit the article from Facebook link on my facebook or any other external link I get a imageless K2 article and when you check the image urls you have the article category generated in front of the like this kocko.sk/sutaze-v-bojovych-sportoch/images/k2/galazilina2013/DSC_0203.jpg <- this is the actual image url, which is ofcourse bad.

I did a test and I COPY-PASTEd the content of the article into a joomla article everything shows up as it should you can see the article here kocko.sk/faq.html
So I am assuming I have something wrong with my K2 settings.

Can someone please help me solve this?

Much appreciated
  • Supreme_Pizza
  • Supreme_Pizza's Avatar
27 Apr 2013 09:23 - 27 Apr 2013 09:53
[SOLVED] SQL syntax error was created by Supreme_Pizza

[SOLVED] SQL syntax error

Category: English K2 Community

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')}' at line 1 SQL=SELECT `catid` FROM xxxxx_k2_additional_categories WHERE `itemID` = {intval()}

Specifics
New Joomla 3.1 install
New K2 install from download link Date: 4/26
PHP 5.4
LAMP

How to reproduce:
Administrator>Control Panel
Click on "Add New Item"

Same result if you go to items page and click "+New"

Edit:
Reading the error I am unsure why it is trying to select since it is a new install and there have never been any items added.

If I knew where to find the query in the page I could debug but I don't know where you have the query code nested.

PHP MyAdmin


xxxxx_k2_additional_categories

Row Statistics
Format static
Collation utf8_general_ci
Rows 0
Next autoindex 1
Creation Apr 26, 2013 at 06:16 PM
Last update Apr 26, 2013 at 06:16 PM

SELECT `id` , `catid` , `itemID`
FROM `xxxxxxxx_joomla`.`xxxxx_k2_additional_categories`
MySQL returned an empty result set (i.e. zero rows). ( Query took 1.3554 sec )

Again from PHP MyAdmin

SELECT `catid`
FROM `xxxxx_k2_additional_categories`
WHERE `itemID` = '1'

MySQL returned an empty result set (i.e. zero rows). ( Query took 0.0019 sec )


Best guess:
{intval()} should not be getting passed to the query.
In other words.
The value of i (intval) should be getting passed to the query not the actual variable.
  • James
  • James's Avatar
02 Apr 2013 01:43
Replied by James on topic "Read more" doesn't work for Joomla 3.0

"Read more" doesn't work for Joomla 3.0

Category: English K2 Community

Hello again. Thanks for the advice.

My Joomla version is:Joomla! 3.0.3 Stable [ Ember ] 04-February-2013 14:00 GMT

My K2 is only a few weeks old. I've tried "Checking the extensions" from the extension manager and it doesn't find any updates.

Can I install the latest K2 over top my existing one? I don't want to lose my articles. I'm just using the protostar and beez default templates. Both aren't showing read more.

My K2 component and k2 plugins are all 2.6.5

One funny thing in Control Panel when I observe "Checking Joomla" on the right side, it says unknown version. If I click that it says:

An error has occurred.
0 No HTTP response received.
  • Rodrigo
  • Rodrigo's Avatar
21 Feb 2013 20:53 - 21 Feb 2013 20:55

Error with Joomla v2.5.9 and K2 v2.6.5

Category: English K2 Community

Hello,

I use Joomla 2.5.9 and i installed K2 v2.6.5., when i tried to create an article or category it shows me this error message:

"Declaration of JParameter::loadSetupFile() should be compatible with JRegistry::loadSetupFile() in..."

and this other message it`s just when i tried to create categories:

"Non-static methods JTable::isCheckedOut() should not be called statically in...."

Any help? I already tried to install previous versions of k2 (v2.5.7) and with that i got worst errors message.

I don`t want to use previous k2 versions, i want to use the most actual version... What should i do?
  • Helena
  • Helena's Avatar
21 Feb 2013 10:10

blog calendar doesn't pull from children categories

Category: English K2 Community

Hi Francisco José.

Finally I have adapt the code that you were raising in your post some time ago in order that my K2 calendar shows the children categories, but now I have a problem: when I click on the date in the calendar it jumps to a blank page. I am not a programmer and I don´t know what could be the reason, please could you (or someone) help me?

The code I have introduced in helper.php after replace itemlist.php is:

function getDateLink($day, $month, $year) {
$mainframe = JFactory::getApplication();
$user = JFactory::getUser();
$aid = $user->get('aid');
$db = JFactory::getDBO();
$jnow = JFactory::getDate();
$now = K2_JVERSION == '15' ? $jnow->toMySQL() : $jnow->toSql();
$nullDate = $db->getNullDate();
$languageCheck = '';
if (K2_JVERSION != '15')
{
$accessCheck = " access IN(".implode(',', $user->getAuthorisedViewLevels()).") ";
if ($mainframe->getLanguageFilter())
{
$languageTag = JFactory::getLanguage()->getTag();
$languageCheck = " AND language IN (".$db->Quote($languageTag).", ".$db->Quote('*').") ";
}
}
else
{
$accessCheck = " access <= {$aid}";
}
$query = "SELECT COUNT(*) FROM #__k2_items WHERE YEAR(created)={$year} AND MONTH(created)={$month} AND DAY (created)={$day} AND published=1 AND ( publish_up = ".$db->Quote($nullDate)." OR publish_up <= ".$db->Quote($now)." ) AND ( publish_down = ".$db->Quote($nullDate)." OR publish_down >= ".$db->Quote($now)." ) AND trash=0 AND {$accessCheck}
{$languageCheck} AND EXISTS(SELECT * FROM #__k2_categories WHERE id= #__k2_items.catid AND published=1 AND trash=0 AND
{$accessCheck} {$languageCheck})";
$catid = $this->category;
if ($catid > 0)
$categories = modK2ToolsHelper::getCategoryChildren($catid);
$categories[] = $catid;
$categories = @array_unique($categories);
$sql = @implode(',', $categories);
$query .= " AND catid IN ({$sql})";
$db->setQuery($query);
$result = $db->loadResult();
if ($db->getErrorNum())
{
echo $db->stderr();
return false;
}
if ($result > 0)
{
if ($catid > 0)
return JRoute::_(K2HelperRoute::getDateRoute($year, $month, $day, $catid));
else
return JRoute::_(K2HelperRoute::getDateRoute($year, $month, $day));
}
else
{
return false;
}
}

My K2 version is 2.6.5 and inks on dates are like this: .../joomla/index.php/component/k2/itemlist/date/2013/2/4?catid=115 and "catid" changes in consecutive numbers (115=February, 116 = March, etc ...)...
Thanks!
Helena



(Por fin he conseguido adaptar el código que planteabas en tu post de hace tiempo para que mi K2 calendar muestre las subcategorías, pero ahora tengo un problema y es que al pulsar sobre la fecha en el calendario me salta a una página en blanco. No soy programadora y no sé a qué se debe, ¿me puedes ayudar?
El código que he introducido en helper.php después de modificar el archivo itemlist.php es:
....
....
Mi versión de K2 es la 2.6.5 y el tipo de enlace que me sale en las fechas es: .../joomla/index.php/component/k2/itemlist/date/2013/2/4?catid=115 donde "catid" cambia por meses en números consecutivos (115=February, 116 = March, etc ...)...

Gracias!)
  • william white
  • william white's Avatar
20 Feb 2013 00:59
Replied by william white on topic How to disable auto publish in backend

How to disable auto publish in backend

Category: English K2 Community

Check both Joomla and K2 user group
Tested in J2.5.9 and k2 2.6.2
if a user is joomla-registared and
K2 - registared
K2 registard group does not have publish rights
User adds item from front end
Item is not published, but is saved

What versions are you using
Displaying 101 - 120 out of 270 results.

Powered by Kunena Forum