No articles to display (K2) - once again

Support forum dedicated to free and advanced Joomla content presentation module with various layout options and data sources support.
GK User
Sat Mar 24, 2012 9:55 am
First of all, I've read the other threads about the subject. Confusing and not much help there.

The problem:
1. If I select data source all k2 articles, I get the no articles to display error
2. If I manually select all K2 categories module seems to work in normal mode
3. In other modes, even manually selecting the categories does not seem to help

So, currently NSP is usable only with limited options...

Joomla 2.5.1
NSP GK4 3.1

-Ville
User avatar
Fresh Boarder

GK User
Sat Mar 24, 2012 11:20 am
Please do not create similar topics but forward me details to your account via PM, right now we have several topics related with K2 source but still any details to user account to check this. Please post forum topic in message, module name and URL to page where I can see it.
User avatar
Platinum Boarder

GK User
Sat Mar 24, 2012 4:18 pm
I'm not willing to put non working site online. Seems to be a common problem, so it should be fairly easy to duplicate.

Hope You can fix it soon.
User avatar
Fresh Boarder

GK User
Mon Mar 26, 2012 10:10 am
What do you mean by 'other modes' ? Did you try to display articles by ID's ?
User avatar
Platinum Boarder

GK User
Mon Mar 26, 2012 6:25 pm
I was referring to the 'Module mode' option. Normal mode works when I select manually all the categories I need, but in portal mode with same data source setting I get 'No articles to display'.

Image
User avatar
Fresh Boarder

GK User
Tue Mar 27, 2012 7:51 am
Could you send me details to your installation via PM ? (please include forum topic)
User avatar
Platinum Boarder

GK User
Wed Apr 18, 2012 8:07 am
I have the same problem. With latest versions of everything (Party Freak, Joomla!, K2 and News Show Pro). When I select a K2 source is either not working at all (and the website goes blank) or it shows No articles to display error.
User avatar
Junior Boarder

GK User
Wed Apr 18, 2012 7:59 pm
What version of NSP you use ?
User avatar
Platinum Boarder

GK User
Thu Apr 19, 2012 10:40 am
bkrztuk wrote:What version of NSP you use ?

The latest, ofcourse.
User avatar
Junior Boarder

GK User
Thu Apr 19, 2012 1:09 pm
You try to display articles by categories or item id's ? Please try to look at server or joomla error log this will give us more details, we use K2 source type in several templates and don't notice this kind of problems.
User avatar
Platinum Boarder

GK User
Fri Apr 20, 2012 10:55 am
bkrztuk wrote:You try to display articles by categories or item id's ? Please try to look at server or joomla error log this will give us more details, we use K2 source type in several templates and don't notice this kind of problems.

Yes, categories of item ids, same problem.
Code: Select all
[20-Apr-2012 12:51:01] PHP Fatal error:  Call to undefined method NSP_GK4_Layout_Parts::store_k2() in /var/www/html/modules/mod_news_pro_gk4/helper.php on line 576
[20-Apr-2012 12:51:05] PHP Fatal error:  Call to undefined method NSP_GK4_Layout_Parts::store_k2() in /var/www/html/modules/mod_news_pro_gk4/helper.php on line 576
User avatar
Junior Boarder

GK User
Mon Apr 23, 2012 7:39 am
Please reinstall module, probably some files are missing. You use portal mode or default module layout ?
User avatar
Platinum Boarder

GK User
Mon Apr 23, 2012 11:54 am
bkrztuk wrote:Please reinstall module, probably some files are missing. You use portal mode or default module layout ?

I reinstalled it, no luck. Does it need any special permissions? The apache server has full permissions over the entire Joomla! deployment, so I believe that is not the issue here.

Code: Select all
[23-Apr-2012 11:34:05] PHP Fatal error:  Call to undefined method NSP_GK4_Layout_Parts::store_k2() in /var/www/html/modules/mod_news_pro_gk4/helper.php on line 576
[23-Apr-2012 11:34:09] PHP Fatal error:  Call to undefined method NSP_GK4_Layout_Parts::store_k2() in /var/www/html/modules/mod_news_pro_gk4/helper.php on line 576
[23-Apr-2012 11:34:12] PHP Fatal error:  Call to undefined method NSP_GK4_Layout_Parts::store_k2() in /var/www/html/modules/mod_news_pro_gk4/helper.php on line 576
[23-Apr-2012 11:34:18] PHP Notice:  Undefined offset: 0 in /var/www/html/modules/mod_news_pro_gk4/admin/elements/k2tags.php on line 41
[23-Apr-2012 11:34:18] PHP Notice:  Undefined offset: 0 in /var/www/html/modules/mod_news_pro_gk4/admin/elements/redshopmulticategories.php on line 46
[23-Apr-2012 11:34:18] PHP Notice:  Undefined offset: 0 in /var/www/html/modules/mod_news_pro_gk4/admin/elements/vmmulticategories.php on line 47
[23-Apr-2012 11:34:18] PHP Notice:  Undefined offset: 0 in /var/www/html/modules/mod_news_pro_gk4/admin/elements/vmshoppergroups.php on line 47
User avatar
Junior Boarder

GK User
Tue Apr 24, 2012 7:29 am
No module don't have any special requirements, you use default layout or one of the portal modes ?
User avatar
Platinum Boarder

GK User
Tue Apr 24, 2012 7:56 am
bkrztuk wrote:No module don't have any special requirements, you use default layout or one of the portal modes ?

I am using the default Party Freak quick install package, with everything updated. I don't know what do you refer as a portal or default layout.
User avatar
Junior Boarder

GK User
Wed Apr 25, 2012 11:47 am
bkrztuk wrote:No module don't have any special requirements, you use default layout or one of the portal modes ?

Any idea?
User avatar
Junior Boarder

GK User
Wed Apr 25, 2012 10:10 pm
Maybe you uninstall K2 and some modules still try to load K2 content ?
User avatar
Platinum Boarder

GK User
Thu Apr 26, 2012 11:43 am
bkrztuk wrote:Maybe you uninstall K2 and some modules still try to load K2 content ?

No, that's the problem. I use K2 instead of the integrated content system, so it's not that. If I select to use articles from Joomla!, it works. When I try from K2, the whole site is broken.
User avatar
Junior Boarder

GK User
Thu Apr 26, 2012 12:39 pm
CQSTELUSH wrote:
bkrztuk wrote:Maybe you uninstall K2 and some modules still try to load K2 content ?

No, that's the problem. I use K2 instead of the integrated content system, so it's not that. If I select to use articles from Joomla!, it works. When I try from K2, the whole site is broken.


I found the solution. I don't know if it's too pretty, but there it is:

On the helper.php of the News Show Pro GK4, I've blocked the line 576

Code: Select all
                  // GENERATE STORE BLOCK
                  // ## blocked by myself ## $news_k2_store = $renderer->store_k2($this->config, $this->content['ID'][$i], $this->content['plugins'][$i], $this->k2store_params);


I don't use K2 Store so I guess this will not compromise something else. I would like a developer oppinion, regarding the fact that this thing cannot be disabled from the module's settings.
User avatar
Junior Boarder

GK User
Sat Apr 28, 2012 10:06 am
If you don't use K2 Store you should disable store information in News Show Pro configuration, this is why you get this problem.
User avatar
Platinum Boarder


cron