[Booki-dev] Fwd: [FM Discuss] Information needed about setting up booki publisher

James Simmons nicestep at gmail.com
Fri Jul 22 07:04:21 PDT 2011


See below:

---------- Forwarded message ----------
From: James Simmons <nicestep at gmail.com>
Date: Fri, Jul 22, 2011 at 9:03 AM
Subject: Re: [FM Discuss] Information needed about setting up booki
publisher
To: Daniel James <daniel.james at sourcefabric.org>
Cc: discuss at lists.flossmanuals.net


Daniel,

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:


<?
function addTemplate ($templateType='read',$content) {

	if ($templateType=='editor') {
		$template=file_get_contents("_templates/editor.tmpl");
	} else {
		$template=file_get_contents("_templates/".DEFAULT_TEMPLATE."_$templateType.tmpl");

	}
  	$page=preg_replace('[<content-goes-here/>]',$content,$template);
//following works but i first have to work out how to find json rows
		$hook_args['output']=$page;
 		$page = fire_hook("tag_replace", $hook_args);

	return $page;
}
?>

No messages in the error logs either.  Ideas?

James Simmons


On Thu, Jul 21, 2011 at 5:44 AM, Daniel James <daniel.james at sourcefabric.org
> wrote:

> Hi James,
>
> > They don't say just where a "local" php.ini file would go.  Putting it
> > in /var/www/bookipub doesn't work.
>
> On Ubuntu the global config would be in /etc/php5/apache2/php.ini which
> is where I'd recommend putting it (unless you really have apps that run
> in different time zones).
>
> Find the line in the php.ini file which begins date.timezone, remove the
> semi-colon comment if present, and add the required time zone to the end
> of the line. For example:
>
> date.timezone = "America/Toronto"
>
> See http://php.net/manual/en/timezones.php for the correct value for
> your location.
>
> Cheers!
>
> Daniel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.flossmanuals.net/pipermail/booki-dev-flossmanuals.net/attachments/20110722/cca83960/attachment-0003.htm>


More information about the Booki-dev mailing list