Daniel,<div><br></div><div>I made the phpinfo.php file, and it worked.  Output is attached.</div><div><br></div><div>James Simmons</div><div><br><br><div class="gmail_quote">On Fri, Jul 22, 2011 at 9:45 AM, Daniel James <span dir="ltr"><<a href="mailto:daniel.james@sourcefabric.org">daniel.james@sourcefabric.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi James,<br>
<div class="im"><br>
> I've gotten the damned thing to the point that when you try to load<br>
> either admin.php or index.php you get a page back containing this and<br>
> nothing else:<br>
><br>
> <?<br>
> function addTemplate ($templateType='read',$content) {<br>
><br>
>       if ($templateType=='editor') {<br>
>               $template=file_get_contents("_templates/editor.tmpl");<br>
>       } else {<br>
>               $template=file_get_contents("_templates/".DEFAULT_TEMPLATE."_$templateType.tmpl");<br>
><br>
>       }<br>
>       $page=preg_replace('[<content-goes-here/>]',$content,$template);<br>
> //following works but i first have to work out how to find json rows<br>
>               $hook_args['output']=$page;<br>
>               $page = fire_hook("tag_replace", $hook_args);<br>
><br>
>       return $page;<br>
> }<br>
> ?><br>
<br>
</div>I suggest setting up a phpinfo page to check your configuration is<br>
working as expected.<br>
<br>
Cheers!<br>
<font color="#888888"><br>
Daniel<br>
</font></blockquote></div><br></div>