Daniel,<br><br>I've gotten the damned thing to the point that when you try to load either admin.php or index.php you get a page back containing this and nothing else:<br><br><pre id="line1"><span class="pi"><?<br>function addTemplate ($templateType='read',$content) {<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>    $page=preg_replace('[<content-goes-here/></span>]',$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>
        return $page;<br>}<br>?><br></pre>No messages in the error logs either.  Ideas?<br><br>James Simmons<br><br><div class="gmail_quote">On Thu, Jul 21, 2011 at 5:44 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi James,<br>
<div class="im"><br>
> They don't say just where a "local" php.ini file would go.  Putting it<br>
> in /var/www/bookipub doesn't work.<br>
<br>
</div>On Ubuntu the global config would be in /etc/php5/apache2/php.ini which<br>
is where I'd recommend putting it (unless you really have apps that run<br>
in different time zones).<br>
<br>
Find the line in the php.ini file which begins date.timezone, remove the<br>
semi-colon comment if present, and add the required time zone to the end<br>
of the line. For example:<br>
<br>
date.timezone = "America/Toronto"<br>
<br>
See <a href="http://php.net/manual/en/timezones.php" target="_blank">http://php.net/manual/en/timezones.php</a> for the correct value for<br>
your location.<br>
<br>
Cheers!<br>
<font color="#888888"><br>
Daniel<br>
</font></blockquote></div><br>