NSP GK4, GK5 + VM 2.0.24b not showing products

GK User
Thu Nov 21, 2013 1:40 pm
Hi,

I've updated VM to 2.0.24b and since that, the NSP GK4 aren't showing the products + I can't change the VM category settings in the backend.

On the frontpage, GK4 shows the following error messages:

Code: Select all
Notice: Uninitialized string offset: 0 in ../modules/mod_news_pro_gk4/gk_classes/gk.source.vm.php on line 49

Error: No articles to display


Screen Shot 2013-11-21 at 13.31.25.png

2.png


Could you please help me to solve this problem?
Thanks in advance!
User avatar
Fresh Boarder

teitbite
Fri Nov 22, 2013 12:55 am
Hi

Have You tried to install the latest versions of the modules? Clearly newest VM has changed a function to list categories and module may not be updated for this new version yet.

It also can be because of XAMPP, so please try move it to a live server for test and if I'll need to access it to make fixes required.
User avatar
Moderator

GK User
Fri Nov 22, 2013 10:47 am
Hi,

Yes, I installed the latest from every module.

Btw, it seems, I solved the problem:
- As you mentioned, the PHP error message is only visible on XAMPP, but if I turn off error reporting, it disappears.
- NSP GK4 couldn't show the VM categories, because: VM language (incl. categories) was HU, the frontend language was HU, and the backend language was EN. When I changed the backend language to HU, all VM categories appeared in NSP.

So, if the backend is EN, NSP tries to get EN VM categories. That was the issue.

Thanks!
User avatar
Fresh Boarder

teitbite
Sun Nov 24, 2013 8:48 pm
Hi

Right on point :) VM is using a langage suffix in database tables names, so the only way to access a tables with certain names are when panel is using this exact language. Sorry I have not recognised this problem earlier. This is most common one.

I haven't told that only XAMPP will have this errors, just meant that I've seen similar problems on local machines and when site was moved to an online servr problem was gone, becuase was connected with server configuration. Anyway hidding this messages is highly recomended by joomla developers when work with the site is finished.
User avatar
Moderator


cron