Hi I have seen a few similar posts but nothing that helps me - I have installed Sourcerer and inserted php given to me by a third party. The front end is just blank.
This is the code the is in the {source}{/source} tags:
<?php
// Do not edit below this line
// ---------------------------------------------------------------------------
$SVQuerystring = "";
foreach (($_GET) as $SVGetKey => $SVGetValue) {
$SVQuerystring = $SVQuerystring.$SVGetKey."=".$SVGetValue."&";
}
$SVURL = "http://salesforce.sharedvue.net/sharedvue/";
$SVURL = $SVURL."?svhost=".$_SERVER["HTTP_HOST"];
if (!empty($_SERVER["PHP_SELF"])) {
$SVURL = $SVURL.$_SERVER["PHP_SELF"];
} else if (!empty($_SERVER["SCRIPT_NAME"])) {
$SVURL = $SVURL.$_SERVER["SCRIPT_NAME"];
}
if (strlen($SVQuerystring) > 0) {
$SVURL = $SVURL.urlencode("?".$SVQuerystring);
}
$SVContent = file_get_contents($SVURL);
list($SVHTTPVersion,$SVHTTPStatusCode,$SVHTTPMsg) = explode(' ',$http_response_header[0], 3);
switch($SVHTTPStatusCode) {
case 200:
echo ($SVContent);
break;
default:
echo "<!-- SharedVue Output: Could not reach SharedVue server: $SVHTTPMsg ($SVHTTPStatusCode) -->";
break;
}
// ---------------------------------------------------------------------------
?>
The site is here:
URL
Many thanks in advance!