Restaurant template update

Professional Joomla restaurant template comes with a custom animated modules and advanced typography elements.
GK User
Thu May 05, 2016 1:44 pm
Hello,

I use the template “GK Restaurant” and I saw that there is an update (update date 05/04/2016) of this template in Update section:
https://www.gavick.com/updates?task=upd ... 33&catid=4
But then I try to download it, I get to the login page all the time. Even I am of course already login-in, though:
https://www.gavick.com/login-form
How can I download this update?

And also, very important question - I would like to ask, is this update also covers the possibility of “GK Restaurant” template to work with new Joomla 3.5.1 and PHP 7?
If not, is there any plans to make an update for this template to work correctly with Joomla 3.5.1 and PHP 7 (in case if it’s not)?

Regards
User avatar
Fresh Boarder

teitbite
Fri May 06, 2016 10:31 am
Hi

This template is not supported, so there will not be any more updates to it. This one is an important security fix which can also be added manually:


Please look in the file lib/gk.framework.php or in the lib/framework/helper.social.php file for the following lines:

Code: Select all
$id = JRequest::getVar('id', '');


and

Code: Select all
$catid = JRequest::getVar('catid', '');


and please replace them to the following ones:

Code: Select all
$id = (int) JRequest::getVar('id', '');


and:

Code: Select all
$catid = (int) JRequest::getVar('catid', '');
User avatar
Moderator

GK User
Fri May 06, 2016 10:43 am
Hi,
Thank you for reply and thank you for giving the info about the security fix, I will apply it.
It is sad that you no longer support this template, though. But I understand.
Thanks again.
User avatar
Fresh Boarder

teitbite
Sun May 08, 2016 9:49 am
Hi

Sorry I couldn't help more. Thread closed.
User avatar
Moderator


cron