The only problem is, that when I enter the admin backend all the formatting for the backend screens is missing - it is as though it is no longer picking up the backend template/css.
I originally had the 2k11 Theme installed then installed Clean Blog.
2k11 is still showing as the backend theme in the admin panel, but it is just not rendering when I enter the admin areas.
The installation is here http://mybusiness-mylife.com/global/pr/content.php.
As you can see from the above URL, the page that I have embedded the blog into is named "content.php". It is sitting in my main serendipity directory (named "pr") with all the other installed serendipity files and directories.
I named the file "content.php" so that uploading it would not overwrite the installed serendipity "index.php".
But in the backend header this now creates the following to incorrect links to content.php rather than index.php;
<link rel="stylesheet" href="http://mybusiness-mylife.com/global/pr/ ... 1435661830">
and
<script src="http://mybusiness-mylife.com/global/pr/ ... "></script>
While this one remains unaffected and correct;
<script src="http://mybusiness-mylife.com/global/pr/ ... "></script>
Under the "paths" tab in the Administration suite, the name of the index file was "index.php".
While that path is "index.php", the Administration suite renders correctly.
But when it is named "index.php" and I attempt to open my "content.php" page, I get the error "Error 404 - The page you requested could not be found."
So when I change the path in the Administration suite from "index.php" to "content.php" I no longer get the 404 error when I open my "content.php" page, but loose the formatting of the Administration suite.
So I am caught in a bit of a bind here. Either I get a 404 error on my blog page or the Administration suite does not render correctly.
So the question now is, how do I set things up so the Administration suite renders correctly and I do not get a 404 error on my blog page?
This is the PHP script that I have at the top of my "content.php" page;
Code: Select all
<?php
ob_start();
chdir("<serendipity_dir>/");
require("index.php");
chdir("<original_dir>/");
$blog = ob_get_contents();
ob_end_clean();
?>
Thanks kindly,
- Neil