Upgrade from News "1" to News 2

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Mon Mar 10, 2014 9:48 pm
Reply with quote
Report this post
Hi,

When upgrading form News to News 2 an 1146 error occures. Upgrade, I mean just switching the default template to News 2. Of course the site works great on News "1". Is there a major difference that does not allow to just simply jump between those two templates? And what to do, to make it working in this case?
User avatar
Fresh Boarder

GK User
Mon Mar 10, 2014 10:01 pm
Reply with quote
Report this post
Hi,
hard to say.
News2 is new template so it could have some issues - but wait I will check on my demo page

I think I know..... you have to update NSP GK5 module ! this is very important. if your update system don't work - download from website and reinstall module. This error is connected with this or other module not template.
You can also update K2.

By the way, you have Joomla 3.2.3 ?
User avatar
Platinum Boarder

GK User
Mon Mar 10, 2014 10:07 pm
Reply with quote
Report this post
News "1" and News 2 there are two different templates , second version is more modern and include more features than old one.
User avatar
Platinum Boarder

GK User
Mon Mar 10, 2014 10:21 pm
Reply with quote
Report this post
Hi Pawle,

Yes, I have J3.2.3. I had this error no. before and it was connected to gk modules with non-existing resources such as missing category or somenthing similar. So what I have already done are:
- NSP module update to up to date ver. 1.4.0, all the "divide by 0" warnings from displayed php errors regarding the NSP are now the past :)
- turned off all gk modules;
- assigned once again the module positions to the one from News 2;

Result: 1146 still exists - unfortunaty.

Additional info: no K2 in use.

If you are interested in login details please let me know, I have a live copy of the site so we can feel free to change a lot. So if you dont't mind... :)

Thank you in advance.
User avatar
Fresh Boarder

GK User
Tue Mar 11, 2014 6:56 am
Reply with quote
Report this post
Hi, please check your PM.
User avatar
Fresh Boarder

GK User
Wed Mar 12, 2014 10:02 am
Reply with quote
Report this post
Full error message was(is) " 1146 - Table '####_dblc.s1qpa_k2_items' doesn't exist SQL=SELECT created FROM s1qpa_k2_items WHERE state = 1 ORDER BY created DESC LIMIT.... "

it means that one of installed extensions try to load and use K2 item. Now I'm searching which one.
User avatar
Platinum Boarder

GK User
Wed Mar 12, 2014 10:20 am
Reply with quote
Report this post
Please upload patch Joomla 3.x to 3.2.3 downloaded from joomla.org, maybe this will help.
Then in Instalacje - > Baza danych -> skorzystaj z opcji Napraw
User avatar
Platinum Boarder

GK User
Wed Mar 12, 2014 11:07 am
Reply with quote
Report this post
Hi

No change after "napraw"

The notice about not up tp date db schema is Joomla bug please check

http://docs.joomla.org/J3.2:Database_sc ... 283.2.3%29
User avatar
Fresh Boarder

GK User
Wed Mar 12, 2014 12:59 pm
Reply with quote
Report this post
I still have no idea why it won't work.
template is okey, it works on clean installation and quickstart, also on my site where I had News installed.
It must be something else,
I was thinking about to install K2 component but I'm not sure it will help.
User avatar
Platinum Boarder

GK User
Wed Mar 12, 2014 2:52 pm
Reply with quote
Report this post
We was thinking hard... and...

In templates/updates.php file please find:
Code: Select all
if(!file_exists(JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'route.php')) {

and change to:
Code: Select all
if(file_exists(JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'route.php')) {


as you see just delete "!"

It may help.
User avatar
Platinum Boarder

GK User
Wed Mar 12, 2014 5:44 pm
Reply with quote
Report this post
Hi,

Should I worry if there is no such file in the mentioned directory? :) or the file is somewhere else or I don't get something :)
User avatar
Fresh Boarder

GK User
Wed Mar 12, 2014 6:13 pm
Reply with quote
Report this post
sorry it was too big shortcut .... templates\gk_news2\layouts\blocks\updates.php
User avatar
Platinum Boarder

GK User
Wed Mar 12, 2014 6:37 pm
Reply with quote
Report this post
No problem, thanks to your advice frontpage is in place now.

Thank you!

P.S. Now, when the template is working, get ready for questions regarding template itself ;)
User avatar
Fresh Boarder

GK User
Wed Mar 12, 2014 6:59 pm
Reply with quote
Report this post
Ufff .. Nice to heard that at least it works...
miłego wieczoru :mrgreen:
User avatar
Platinum Boarder


cron