warning and fatal error: edit, add new item, print and email

October 2015 Joomla Template
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.
GK User
Wed Feb 03, 2016 7:12 pm
Reply with quote
Report this post
Hello, how are you
the template, Refreshed News It is beautiful and fits the characteristics of a new site
but it has two errors when editing or adding an item from the frontend also use the buttons to print and mail

Warning: require_once(lib/framework/gk.const.php): failed to open stream: No such file or directory in /home/xxxxxxx/templates/gk_news/component.php on line 29

Fatal error: require_once(): Failed opening required 'lib/framework/gk.const.php' (include_path='.:/usr/local/php5_4/lib/php') in /home/xxxxxx/templates/gk_news/component.php on line 29

attached the screenshot
edit, add new item
edit add item frontend.jpg


print
print.jpg


email
email.jpg


thank you for your help
User avatar
Fresh Boarder

teitbite
Sat Feb 06, 2016 5:35 pm
Reply with quote
Report this post
Hi

Try to update template. I've reported that already, so it may be fixed in packages. If not than edit file: gk_news_refreshed/component.php and remove line 29:

Code: Select all
require_once('lib/framework/gk.const.php');
User avatar
Moderator

GK User
Mon Feb 08, 2016 8:09 pm
Reply with quote
Report this post
thanks teitbite

make the change you said, now print and mail work
but edit or create a new item K2 in the frontend is blank
Captura de pantalla 2016-02-08 a las 1.03.36 p.m..png


help
User avatar
Fresh Boarder

teitbite
Mon Feb 15, 2016 12:24 pm
Reply with quote
Report this post
Hi

I've let programmers know to take a look into it, but they may need an access to FTP of Your site to figure it out and some user details to check adding of new items.
User avatar
Moderator

GK User
Thu Feb 18, 2016 6:27 pm
Reply with quote
Report this post
teitbite thanks

What email account can send data and FTP access?
User avatar
Fresh Boarder

teitbite
Mon Feb 22, 2016 9:42 pm
Reply with quote
Report this post
Hi

I got an answer for this particular problem from programmers:

For me popup is displaying after the above fix, but it seems that the wrong page is displayed - for me it is a K2 config issue, which should be consulted with K2 support.


so please send me this access via PM, but consult it with K2 support too.
User avatar
Moderator


cron