When I first go into the blog page on my site, I get;
Code: Select all
Parse error: syntax error, unexpected $end in /home/mysite/public_html/member/mybusiness/blog/blog.php on line 34
Code: Select all
Parse error: syntax error, unexpected $end in /home/mysite/public_html/member/mybusiness/blog/blog.php on line 34
Code: Select all
<?php
$string = 'serendipity';
$fullstring = $_SERVER['REQUEST_URI'];
if (strpos($fullstring,$string) !== false) {
$_REQUEST['page'] = 'blog';
// Let serendipity generate our content:
ob_start();
require 'index.php';
$blog = ob_get_contents();
ob_end_clean();
// Now we include our normal content building file.
// This one has to make use of your $blog variable to print
// the content where appropriate!
} else {
$groupswithaccess="PUBLIC";
$loginpage="http://mybusiness-mylife.com/index.php#contact";
$logoutpage="http://mybusiness-mylife.com/index.php#contact";
$allowsearchengine=false;
require_once("/home/mysite/public_html/slpw/sitelokpw.php");
sl_disqus();
$_REQUEST['page'] = 'blog';
// Let serendipity generate our content:
ob_start();
require 'index.php';
$blog = ob_get_contents();
ob_end_clean();
// Now we include our normal content building file.
// This one has to make use of your $blog variable to print
// the content where appropriate!
require 'content.php';
}
?>
Code: Select all
== SERENDIPITY ERROR ==
Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/slpw/plugin_disqus/config.php:140) in /home/mysite/public_html/member/mybusiness/blog/include/functions_config.inc.php on line 716