<?
global $IN;
global $DB;
$this->EE =& get_instance();
$seg1 = $this->EE->uri->segment(1);
$member_id="0";
$title="";
$feed="";
if ($seg1 == "") $seg1="onzinnnnn";
$query = $DB->query("SELECT m.screen_name as screen_name, m.member_id as member_id, d.m_field_id_23 as strapline, d.m_field_id_41 as feed FROM exp_members m LEFT JOIN exp_member_data d ON m.member_id = d.member_id
WHERE d.m_field_id_27 ='" . $seg1 ."'");
if ($query->num_rows == 1)
{
$member_id = $query->row['member_id'];
$feed = $query->row['feed'];
$title = $screen_name = $query->row['screen_name'].", ".$query->row['strapline'] .Any idea why this text is displaying on a newly upgraded version of EE????
We upgraded from 1.6.8 to the latest version and got this problem occurring on the home page. Any help much appreciated.
Collette Curry 😊
Hi Collette,
Is this publicly accessible? If so, could I get a link?
Have you checked to make sure the settings for this template in 1.x are the same as they are now in 2.x? Is the template allowing PHP? What is PHP Parsing Stage set to?
Could you post the part of the template where this code is located (along with code before and after) so that we can have a better look at it?
Thanks!
Hi,
The page won’t load with ‘PHP’ allowed on either ‘input’ or ‘output’. The code worked in 1.6.* but not in 2.2.* Any clues would be much appreciated since it’s holding up the sites live launch.
Thanks 😊
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.