Keyword

Advanced Search

Search Results (Searched for: Upgrade k2)

  • Richard
  • Richard's Avatar
16 Mar 2016 01:57
mb_regex_encoding was created by Richard

mb_regex_encoding

Category: English K2 Community

After a server upgrade I am suddenly getting a blank page with this error on all K2 pages

Fatal error: Call to undefined function mb_regex_encoding() in /home/...../..../...../components/com_k2/helpers/route.php on line 94

Joomla! 3.4.8
K2 v2.6.9
PHP 5.5.33
MySQL 5.6.29
Apache/2.4.18

I know I can comment out the calls for mb_regex_encoding in k2category.php , k2item.php and route.php and the problem will go away, but I would like to know what is going on.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
08 Mar 2016 19:27
Replied by Krikor Boghossian on topic What Happened to K2 3.0?

What Happened to K2 3.0?

Category: English K2 Community

The 2.7 can be used for production sites. To be 101% sure you should backup. I personally use it in production sites as well.

The 2.x series will continue to support older versions of Joomla! while 3.x will only support the latest version.

This means that if you are stuck on an older version and cannot upgrade/ migrate to Joomla! 3.x you will still be able to use K2 v2.x.
  • MOSES COLLON
  • MOSES COLLON's Avatar
01 Mar 2016 08:51
K2 component display wrong language code. was created by MOSES COLLON

K2 component display wrong language code.

Category: English K2 Community

After update to Latest Joomla 3.4, K2 components and it's module display wrong language code.
Search module show (SEARCH_ME) & Contact form from K2 component show Like NAME_LABEL_CONTACT, EMAIL_LABEL_CONTACT, K2_SUBMIT_YOUR_COMMENT..., instead of Language.

I decide to upgrade to Joomla 3.5 beta 3, but problem still there. Any help please????
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
22 Feb 2016 19:14
Replied by Krikor Boghossian on topic What Happened to K2 3.0?

What Happened to K2 3.0?

Category: English K2 Community

Hello Paulo,

Nice talking to you again, I hope you and your wife are good.
It was a really nice experience in Brazil.

Unfortunately there were a few setbacks. I will not comment on this on this forum since people will be on my throat if I mention a date.

I am really sad to hear this from you but I assure that you will continue to have support no matter what happens.

I have personally commented many times on compatibility but since this is a huge thread my answers have been lost.

Using K2 2.6.9 or 2.7 ensures that you will be able to update to 3.0 seamlessly. I cannot however be sure about other K2 extensions but there will a 100% working upgrade method.

As for support, we answer every question on the forum (the English one), as you know my Portuguese is really really bad.
  • Glen Nolbud
  • Glen Nolbud's Avatar
04 Feb 2016 11:02 - 04 Feb 2016 11:29

Unable to Save and get Redirected into Homepage

Category: English K2 Community

Hi, Good day!

When i try to add new K2 article and put the content on it and try to save it I was redirected into the homepage and was not able to save the K2 article i added. I tried it again and again. I upgraded my JCE editor and K2 to the latest one. I try to Turn Off the SEF in my Global Configuration but the problem is still there.

I inputted every paragraph and word and i found the problem it's the word "from". When i remove that word i was able to save the K2 article. Why is that happening? Anyone can help and give solution to my problem?
  • Sean Carney
  • Sean Carney's Avatar
26 Jan 2016 22:00
Replied by Sean Carney on topic What Happened to K2 3.0?

What Happened to K2 3.0?

Category: English K2 Community

I am one who is also frustrated by the slowness of the software coming out but only because I really love K2 and am eager to use the upgraded version. And, even more importantly, I am hoping for an upgraded support package. ie. I would like to pay JoomlaWorks for their software in exchange for reliable and quick support. This model serves me well with other companies.
  • Doug Deitel
  • Doug Deitel's Avatar
18 Jan 2016 18:51
Very slow loading pages with K2 items was created by Doug Deitel

Very slow loading pages with K2 items

Category: English K2 Community

Hi... On one of our websites we installed the Cloudhost template from Gavick using their quickstart. This template included K2. All features were working very well as we built the site. However, as we added more content we were surprised to notice some of our menu items stopped working. They began to get very slow... taking 30 seconds to more than one minute or more to load. The home page continues to load very fast and the contact page also works fast.

We tried to resolve the problem by ensuring all components and extensions were up-to-date. We upgraded Joomla to 3.4.8, upgraded the cloudhost template, re-installed K2. Problem still there.

The site is www.synapticweb.co (that ends "co" NOT "com")

Here is a summary of how each menu item works for us when we test (we always test after clearing cache - site and browser.)
Home page comes up very fast - always good.
Menu item "What We Do" (type = K2+categories) - SLOW up to 30 seconds
Menu item "Our Plans" (type = category blog) - SLOW up to 10 seconds
Menu item "Testimonials" (type = Category Blog with module displaying K2 content) - VERY SLOW up to 90 seconds!!!
Menu item "Contact Us" (type = Single Contact) - OK!
Menu items Features and Typography are from the quickstart. We leave them in for comparison for now.

We also see that elements on the home page that link to a single K2 item also load very slowly. (These are the same items that are displayed with the menu choice "What We Do" and in the sidebar module in the article form the menu item "Testimonials")

And finally, on the backend we notice it is very slow to save and close K2 items... much slower than before!

Any advice this community can offer on how to identify the problem is greatly appreciated. We have another site with a Gavick template that also uses K2 and we do not have this same problem. We posted this question in the Gavick forum and after a moderator logged in to our administrative backend he could not find anything in the template so he suggested we try K2 for support.

Thanks to all who read this message and consider our problem.
  • joseph
  • joseph's Avatar
10 Jan 2016 04:15 - 10 Jan 2016 04:25

Article items display blank page when clicked

Category: English K2 Community

Hi Everyone,

For some reason all my front-end articles (ie. items) in K2 are throwing a blank white page. I can see a list of articles (as well as intro text) when the category is selected. But when title is clicked, it throws a blank page. I can see all the items in the back-end with no issue. Any ideas ?

Here's what I did so far:

- All permissions are set properly: dir 755, files 644
- Disabled SEF URLs - did not help
- Tested with different template - did not help (so it's not template issue)
- Set Error Reporting: (see below)

Notice: Undefined property: stdClass::$numOfComments in /home/public_html/components/com_k2/views/item/view.html.php on line 264
Fatal error: Call to undefined function mb_internal_encoding() in /home/public_html/components/com_k2/helpers/route.php on line 93


NOTE: I have not installed any new plugins, etc or done any upgrades. This problem appeared after my webhost enabled mod_ruid2 to resolve some user/process/cPanel permission issues on the server.

I do see a warning under extensions that says: "The PHP temporary folder is not set". But I can still upload, delete, update components just fine.

Im using Joomla 3.4.8, K2 2.6.9 - Should I reinstall K2?
  • Tibbe van Asten
  • Tibbe van Asten's Avatar
07 Jan 2016 13:22
Pay to upgrade item was created by Tibbe van Asten

Pay to upgrade item

Category: English K2 Community

I'm trying to build a job board of sorts in K2.
Authors can add jobs (K2-items) with their K2-login.

Is it possible to make authors pay to upgrade their job? Example: An author clicks the 'Upgrade'-button on the posted job, selects the upgrade he wants (2 or 3 options), pays $10 and back on the site the status of the job is changed. The status can be an extra field or manually added database cell.

Hope someone can help me out!
  • Himangi Chhatre Lawate
  • Himangi Chhatre Lawate's Avatar
29 Dec 2015 12:02
k2 download urls are changed after changing server was created by Himangi Chhatre Lawate

k2 download urls are changed after changing server

Category: English K2 Community

Hello,

I have upgraded a site for client. It is upgraded from Joomla 2.5 to 3.x latest. And all the k2 attachment sef links were working fine on development server. When we moved the site to live server the k2 download ids seems to have changed..

e.g. On dev site the url is
devpdomain.com/publications/item/download/274_c4317552f4077e107d419f7f92e27c58.html

The same file has different url on the live server
livedomain.com/publications/item/download/274_abf33fc148447d81111722c77b8311d9.html

I have to have the development site urls as those are the once crawled by search engines, for years.. And due to this I have got a huge list of 404 errors on live site.. I dont understand why the urls are changed in the first place.

Please suggest what can be done to get the old urls back.

Thanks!
  • Lewis JL
  • Lewis JL's Avatar
18 Dec 2015 13:15 - 18 Dec 2015 13:18

Can't edit or update an existing K2 article

Category: English K2 Community

I'm using Joomla! 3..4.6 and K2 2.6.9 and every since the Joomla upgrade this has not been working... If I click on an already existing article it simple takes me to a blank page... and the url is for example:

mysite.com/administrator/index.php?option=com_k2&view=item&cid=51312

If I make a new article it saves ONLY if I click "save and close"... If I simply click save it goes to a blank screen again...
I have tried disabling all K2 plugins, native and 3rd party to no avail.... is there a work around for this? I need to be able to update....


I also can't edit on the frontend... just a blank screen...
  • vorongn
  • vorongn's Avatar
08 Nov 2015 14:00

extrafields(JCE) not save changes after upgrade joomla 3.4.5

Category: English K2 Community

found in what was the problem!
disabled JA K2 Filter and all was ok!
  • vorongn
  • vorongn's Avatar
03 Nov 2015 18:44

extrafields(JCE) not save changes after upgrade joomla 3.4.5

Category: English K2 Community

I have 2 warning after choose Tab additional fields:
'webkitMovementX' is deprecated. Please use 'movementX' instead.
'webkitMovementY' is deprecated. Please use 'movementY' instead.

when editing
1 warning
KeyboardEvent.keyLocation' is deprecated. Please use 'KeyboardEvent.location' instead.

click Save
Uncaught TypeError: Cannot read property 'getBookmark' of nulll.add @ index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=820&wf1926ed1705ae2320464…:2d @ index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=820&wf1926ed1705ae2320464…:2tinymce.create.dispatch @ index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=820&wf1926ed1705ae2320464…:2k.create.save @ index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=820&wf1926ed1705ae2320464…:2(anonymous function) @ index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=820&wf1926ed1705ae2320464…:1220tinymce.create.dispatch @ index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=820&wf1926ed1705ae2320464…:2c @ index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=820&wf1926ed1705ae2320464…:2j @ index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=820&wf1926ed1705ae2320464…:2y @ index.php?option=com_jce&view=editor&layout=editor&task=pack&component_id=820&wf1926ed1705ae2320464…:2e.submitform @ core.js:1window.submitform @ core.js:1Joomla.submitbutton @ index.php?option=com_k2&view=item&cid=50:210onclick @ index.php?option=com_k2&view=item&cid=50:332
  • vorongn
  • vorongn's Avatar
03 Nov 2015 18:17 - 03 Nov 2015 18:18

extrafields(JCE) not save changes after upgrade joomla 3.4.5

Category: English K2 Community

Good time!
To upgrade to Joomla 3.4.5 (it was 3.4.1) and the values are no longer stored in additional fields k2 editor JCE (not insert images, etc.). It does not work only in the extrafields .
  TinyMCE is working fine but the JCE - not.
Can someone tell me in what side to dig?
k2 2.6.9
JCE 2.5.11
  • Nick
  • Nick's Avatar
20 Oct 2015 22:13

Κ2 heavy load on large database, gateway timeouts

Category: English K2 Community

I have already purged the finder entries, and from 1.8Gb the database size dropped to 300Mb, but it broke the menus of the administration and some other stuff, so i had to restore them back. But again with those entries removed, nothing changed in the performance, the timeouts were the same, like nothing was changed, that's why i think the problem are the resources of the server and not the database. Actually i don't know to optimize the database, from my side, i tried everything in Joomla and K2 settings and other plugins and components, to make them as light as i could but that wasn't enough. I think a sys admin would be ideal, but here they are charging a lot. It is a lot cheaper to upgrade the VPS, and see if it can handle the load. If that also fails, then i could hire a sys admin.
  • Nick
  • Nick's Avatar
19 Oct 2015 18:31

Κ2 heavy load on large database, gateway timeouts

Category: English K2 Community

Yes the googlebot made huge traffic, but now it slowed down, after the changes i made in the crawl delay, and also the same applied for the bingbot, but again with the same settings both bots, crawl every 1-2 minutes.
Apart from that bot traffic probably the real problem appeared now, as after i slowed down the bots the traffic was almost doubled and actually tripled, since we had about 30.000 unique ΙP's per day, and now we have almost 80-90.000. The case is that all that traffic are not really visits, but in the access log they are coming from 3-4 blogs, some of them they have us in their affiliate pages.
The entries are like that:

37.6.xxx.xxx - - [19/Oct/2015:14:33:01 +0300] "GET /favicon.ico HTTP/1.0" 404 373 "blablabla.blogspot.com/2013/08/john-hopkins.html" "Mozilla/5.0 (Windows NT 6.1; rv:41.0) Gecko/20100101 Firefox/41.0"

79.166.xxx.xxx - - [19/Oct/2015:14:33:07 +0300] "GET /favicon.ico HTTP/1.0" 404 373 "blablabla2.blogspot.com/search?updated-max=2015-10-18T21:00:00%2B03:00&max-results=30&start=31&by-date=false" "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0"

Those entries are thousands and occupy almost 95% of the daily traffic, and we have different IP's almost every second. As you can see they are targeting the favorite icon that i have already removed from the root, but this actually doesn't change things a lot. Actually i tried to block the referrers that this traffic is coming from, but the only difference is that instead of 404 Not Found, they are getting 403 Access Denied, and things got much worse when i blocked them, since the whole server collapsed from the overload.

From my hosting company they told me that these visits are legal, and the problem is in the K2 cache and it actually needs to be cleaned. Actually the K2 cache has about 60.000 files that occupy 3GB, because each article generates 6 different image sizes, so 10.000 articles generates all those files. But i told them that i cannot clean the cache, because those are the images of the articles. But the question again is why the website is working pretty fast in the subfolder, and in root it timesout. The same database, the same files and the same installation are in both cases. Actually i tried to remove all the cache folder and no images were loading, but again the problem was the same. So maybe the problem is in the visits, and we need to upgrade to a bigger VPS with more memory and stuff to handle this load.
  • Krikor Boghossian
  • Krikor Boghossian's Avatar
15 Oct 2015 14:21
Replied by Krikor Boghossian on topic Joomla K2 JCE Editor Issues

Joomla K2 JCE Editor Issues

Category: English K2 Community

Hello,

Please read this post www.joomlaworks.net/forum/k2-en/42883-item-must-have-a-title-pops-up-after-upgrade-joomla-3-4-4?start=10

As for the misalignment of elements, I think this is a template issue.
You need to address this issue to the template's developer.
  • Nick
  • Nick's Avatar
13 Oct 2015 19:05

Κ2 heavy load on large database, gateway timeouts

Category: English K2 Community

Hello to all the community

Since sometime (about 2 years ago) i built a joomla website based mainly on K2 for all the articles. The site is based mainly in news and political content and it has high activity, since there are posted at about 10-15 articles a day. At about 2-3 months ago some problems appeared in the stability of the site, since at frequent times the server was unable to handle the load and we was facing "503 temporary service unavailable" problems. In the beginning we thought these problems was due to high visitor count, since we had at about 4-5.000 unique visitors a day. But at about 2-3 weeks ago the problem worsen so much that the web host forced to disable the database since it was making huge database queries and it was affecting the nearby servers and almost the whole network. Initially we was at a shared hosting.

They told us that due to very high activity we should move better to a VPS in order to handle the high load of visitors (about 7-8000 unique visitors a day) and that the database (almost 2gigabytes) was very huge to work properly. So at last we moved to a VPS. But after the migration nothing changed, the same problem appeared and in the new server. Initially we thought that the resources wasn't enough, so we upgraded temporarily, actually they doubled the RAM of the server, but again the same problem was persisting. From the host they told me that the problem was the SQL server and the database was making large queries that was unable to complete so it was overloading, the same time HDD activity was at about 50-60Mb/s and the server was unable to make anything else so the website was always down and unavailable. Here you can see the activity from the server:



I told them to send me the large query that made the problem and it is the following:

SELECT a.*, cc.name AS cattitle, cc.id AS categoryid, cc.alias AS categoryalias, cc.params AS categoryparams, u.username as username, u.name as realname FROM xxkw9_k2_items a LEFT JOIN xxkw9_k2_categories cc ON cc.id=a.catid
LEFT JOIN xxkw9_users AS u ON u.id = a.created_by WHERE a.published =1 AND a.trash = 0 AND cc.trash = 0 AND cc.published = 1 AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2015-10-10 19:53:56' ) AND ( a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2015-10-10 19:53:56' ) AND cc.id IN (8,9,10,11,12,13,14,17,15,21)

I forgot to mention that we have about 10.000 items in K2 articles and almost 4 to 5.000 tags. After those facts i forced to move the site in a subfolder, and magically there it was functioning properly and fairly fast. When i was moving the site in the root folder, we had the same problems with the overload. I even disabled all the plugins and the modules in the frontpage and i left only the articles. But nothing changed.
From other similar cases i read that maybe the tags was the problem, because i saw a large query with tags, you can see it here:

codepaste.net/r55o6r

So i read here that with a minor change in the code, we can disable the IDs from querying the database. Here is the post:

www.joomlaworks.net/forum/k2-en/42833-k2-tags-causing-slow-mysql-queries

So i disabled the IDs but again nothing changed, i saw some small improvements but the initial problem persisted. By the way here are the queries at a whole, through the debug system of joomla:

codepaste.net/q4ffiw
codepaste.net/r55o6r
codepaste.net/5rojbi

You can spot that there are a large number of queries that they are repeated 3,4 or 5 times and i don't know the reason.

As a temporary measure, as i told you early i moved the website in a subfolder, and through htaccess i redirected all the traffic there with this code:

RewriteEngine On
RewriteRule ^(/)?$ subfolder [L]

In the beginning it seems it was working, but again we had the same problem. So i made a single php page with a redirection to the subfolder:

<?php
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: www.example.com/subfolder" );
?>

This time things was better, the website was working, but again at frequent manner we had again the overload and the site was unavailable. Here is the past 12 hours from today:



In the blue peaks the whole server is unavailable and no one can see the website.
At the peak load the CPU was also very high, here are some numbers

Last 1 minute 20.95
Last 5 minutes 31.52
Last 15 minutes 28.09

In order for the server to work seamlessly these numbers must be under 5.00
From the technical stuff of the host they did some changes, i.e they changed the server from Apache to Nginx, but they couldn't do much more, they told me that the problem is the large database, only one table is about 1 Gigabyte and the database as a whole nearly 2, and the problem was in K2 so i must look there.

Please guys help me, for about a week or so i am dealing with this problem and i can't find a permanent solution, only temporary fixes but the problem is here, and you can imagine the visitors that see all these problems, all the past weeks. When there is an overload i am forcing to restart the VPS in order to calm down from the queries. Some people told me to delete the tags and see what is happening and if the database shrinks. But this isn't a good solution since the guy that manage the webpage, needs them.

If you can propose anything i would be glad.
Thanks in advance...
  • Simon Davies
  • Simon Davies's Avatar
13 Oct 2015 14:44 - 13 Oct 2015 14:48
PHP Fatal errors after restoring backup was created by Simon Davies

PHP Fatal errors after restoring backup

Category: English K2 Community

I upgraded to K2 V3.0 and restored a backup of my website before installing K2 V3.0 due to broken Created dates for K2 Items. Now I am getting PHP Fatal errors.

Website URL: jessiealma.uk

[09-Oct-2015 12:55:43 America/Denver] PHP Warning: require_once(/home5/jessieal/public_html/administrator/components/com_k2/classes/plugin.php): failed to open stream: No such file or directory in /home5/jessieal/public_html/plugins/system/k2/k2.php on line 32

[09-Oct-2015 12:55:43 America/Denver] PHP Fatal error: require_once(): Failed opening required '/home5/jessieal/public_html/administrator/components/com_k2/classes/plugin.php' (include_path='/home5/jessieal/public_html/plugins/system/shlib/shl_packages//ZendFramework-1.11.7-minimal/library:.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home5/jessieal/public_html/plugins/system/k2/k2.php on line 32

[09-Oct-2015 14:23:29 America/Denver] PHP Fatal error: Class 'K2HelperPermissions' not found in /home5/jessieal/public_html/components/com_k2/k2.php on line 33

Can someone please help me fix this. I can give you login details if needed.
  • Peter Wooster
  • Peter Wooster's Avatar
08 Oct 2015 02:26
K2 Modal breaks SIG Pro in Joomla 3.4.4 was created by Peter Wooster

K2 Modal breaks SIG Pro in Joomla 3.4.4

Category: English K2 Community

I have recently upgraded our site from Joomla 2.5.8 to 3.4.4. The lightbox in SIG Pro stopped working because of a JavaScript exception related to Squeezebox and Mootools not being included. After much online searching and debugging I narrowed this problem down to the include of behavior.modal
// Joomla! modal trigger if ( !$user->guest || (JRequest::getCmd('option') == 'com_k2' && JRequest::getCmd('view') == 'item') || defined('K2_JOOMLA_MODAL_REQUIRED') ){ JHTML::_('behavior.modal'); }

at line 47 of plugins/system/k2/k2.php. Commenting out this line makes SIG Pro work properly.

Is there a proper, non-hack solution to this?

Thanks/peter
Displaying 561 - 580 out of 2231 results.

Powered by Kunena Forum