ESC

Click the "allow" button if you want to receive important news and updates from immigrationboards.com


Immigrationboards.com: Immigration, work visa and work permit discussion board

Welcome to immigrationboards.com!

Login Register Do not show

MySQL code visible on site

Post comments about workpermit.com website, don't post information related to immigration questions, work permit advice, etc.

Moderators: Casa, John, ChetanOjha, archigabe, CR001, push, JAJ, ca.funke, Amber, zimba, vinny, Obie, EUsmileWEallsmile, batleykhan, meself2, geriatrix, Administrator

Locked
ohara
Diamond Member
Posts: 1826
Joined: Fri Jan 27, 2012 7:00 pm
Location: hiding in a badger sett
United Kingdom

MySQL code visible on site

Post by ohara » Tue Aug 16, 2016 8:31 am

The following MySQL code is visible at the top of the index page:

Code: Select all

if ($user->data['username_clean']!='anonymous') { if ( !function_exists('group_memberships') ) { include_once($phpbb_root_path . 'includes/functions_user.'.$phpEx); } $groups = group_memberships(false,$user->data['user_id']); foreach ($groups as $grouprec) { $template->assign_vars(array( 'S_GROUP_' . $grouprec['group_id'] => true )); } }
I'm sure this isn't supposed to be there :lol:

User avatar
CR001
Moderator
Posts: 88122
Joined: Thu Mar 08, 2012 10:55 pm
Location: London
Mood:
South Africa

Re: MySQL code visible on site

Post by CR001 » Tue Aug 16, 2016 9:07 am

Yup, I have seen it pop up and disappear when I click through sub forums and is now a thin strip at the top.
Char (CR001 not Casa)
In life you cannot press the Backspace button!!
Please DO NOT send me a PM for immigration advice. I reserve the right to ignore the PM and not respond.

User avatar
Administrator
Diamond Member
Posts: 1184
Joined: Fri Sep 14, 2001 2:01 am
Mood:
Contact:
United Kingdom

Re: MySQL code visible on site

Post by Administrator » Tue Aug 16, 2016 10:03 am

I've taken care of this.

Locked