error message after sending contact page email

Support desk for Villa Belluci Joomla Hotel Template
GK User
Fri Jan 08, 2016 12:23 pm
Hi,
When a site visitor sends an email via the contactpage form this ends with a message that tells "Thak you for your email." Below this message an error message appaers that tells "jFile::read:Unable to open file ..../templates/gk_hotel/css/k2.css".
The site does not use the k2 component at all. The general settings are set to present no error messages.
The site runs with the latest version of the template: 1.03 with the latest joomla version.
This is the url: http://wervel-2.qombo-project.nl/contact
Apart from the error message all seems to work well.

How can I stop this error message?

Thank you.
Greetings,
Paul
User avatar
Expert Boarder

teitbite
Mon Jan 11, 2016 1:03 pm
Hi

Please edit file /layout/blocks/head.php and remove this code:

Code: Select all
if(!file_exists(JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'route.php')) {
   $this->API->addCSS($this->API->URLtemplate() . '/css/k2.css');
}
User avatar
Moderator

GK User
Mon Jan 11, 2016 1:26 pm
Seems to do the trick!
Thank you
User avatar
Expert Boarder

teitbite
Wed Jan 13, 2016 4:58 pm
Hi

Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron