Message from discussion
Customizing Appearance
Received: by 10.52.69.241 with SMTP id h17mr4358321vdu.5.1339781915341;
Fri, 15 Jun 2012 10:38:35 -0700 (PDT)
X-BeenThere: ontowiki-user@googlegroups.com
Received: by 10.52.100.135 with SMTP id ey7ls890838vdb.6.gmail; Fri, 15 Jun
2012 10:38:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.179.98 with SMTP id df2mr523846vdc.3.1339781914731; Fri, 15
Jun 2012 10:38:34 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
jdmcp...@gmail.com designates internal as permitted sender)
smtp.mail=jdmcp...@gmail.com; dkim=pass
header...@gmail.com
Received: by d6g2000vbe.googlegroups.com with HTTP; Fri, 15 Jun 2012 10:38:34
-0700 (PDT)
Date: Fri, 15 Jun 2012 10:38:34 -0700 (PDT)
In-Reply-To: <4FDB65FF.3090005@gmail.com>
References: <9264fb20-642e-4f73-ae9e-f1c101f17054@db5g2000vbb.googlegroups.com>
<20120405124038.GA12247@soljaris13.Speedport_W_503V_Typ_C>
<cc6aacc5-bc95-4473-8284-93857ffc4ad3@googlegroups.com> <20120605195936.GA1628@soljaris13.metro.public.cabinn.com>
<1fa63a44-efa8-4268-8492-55c8ebf04935@p27g2000vbl.googlegroups.com>
<20120612073216.GA1119@soljaris13.informatik.informatik.uni-leipzig.de>
<6c16e3f9-3343-463f-a1cf-be7e27029e22@m10g2000vbn.googlegroups.com> <4FDB65FF.3090005@gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like
Gecko) Chrome/19.0.1084.56 Safari/536.5,gzip(gfe)
Message-ID: <8a6896cf-9fda-417f-8416-a4018d832acb@d6g2000vbe.googlegroups.com>
Subject: Re: Customizing Appearance
From: Jeff <jdmcp...@gmail.com>
To: OntoWiki User Discussion <ontowiki-user@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
I think I followed the directions properly, and I am getting a
different screen. I typed http://localhost/OntoWiki into my browser,
and it redirects to http://localhost/OntoWiki/Site/Welcome.html
A page is loaded that says:
OntoWiki Site Extension
renderx(); ?>
partial('example/types/feed.phtml', $this->templateData) ?>
=A9 AKSW 2012
Any ideas? OntoWiki Site Extension is displayed as a link, but does
not lead anywhere.
Thanks again for all of the help!!
-Jeff
On Jun 15, 12:42=A0pm, Natanael Arndt <arn...@gmail.com> wrote:
> Hey Jeff,
>
> Am 14.06.2012 18:33, schrieb Jeff:> I am running my OntoWiki at localhost=
\ontowiki.
>
> I don't know if Windows will be case sensitive for this but it might be
> better if you rename the directory to "OntoWiki" with capital O and W.> I=
've tried following the instructions, but am still having trouble:
>
> I will try to help you.> I downloaded the feature/new-example branch and =
placed it in localhost
> > \ontowiki\extensions\site\sites\example.
>
> It is a substitute for the site extension. You should place it in
>
> localhost\OntoWiki\extensions\site
>
> > I then copied model.n3 to localhost\ontowiki\Site. This is the step I
> > was most unsure about. I don't know what "You should import the model
> > from site/sites/example/data/model.n3 into
> > your OntoWiki" means. Is it simply pasting the model.n3 file into
> > localost\ontowiki\Site?
>
> Sorry that I haven't been clear in this point. By importing the model
> I've meant, that you should:
> 1. Open your OntoWiki with your browser e.g.http://localhost/OntoWiki/Ind=
ex
> 2. Login (default: user: "Admin" (capital A), password: empty)
> 3. In the Box "Knowledge Bases" on the left side open the menu "Edit" >
> "Create Knowledge Base"
> 4. In the new page:
> 4.a enter as "Knowledge Base URI": "http://localhost/OntoWiki/Site"
> 4.b select "Upload a File"
> 4.c Leave the Filetype as it is
> 4.d select the "model.n3" file from your filesystem (should be at
> localhost\OntoWiki\extensions\site\sites\example\data)
> 4.e click the button "Create Knowledge Base" in the upper right corner
>
> Now you should see a new Model called "Site" in the Box "Knowledge
> Bases" on the left side.> I enabled the site extension.
> > I downloaded and enabled the feeds extension.
>
> If you have them both in the extensions directory that is fine.
>
>
>
>
>
>
>
> > I enabled debug mode and saw the following error report:
> > Erfurt_Store_Exception: Model 'http://localhost/OntoWiki/Site'is not
> > available.
> > C:\xampp\htdocs\ontowiki\libraries\Erfurt\Erfurt\Store.php@816
> > Stacktrace:
> > #0 C:\xampp\htdocs\ontowiki\extensions\site\SiteHelper.php(150):
> > Erfurt_Store->getModel('http://localhos...')
> > #1 [internal function]: SiteHelper-
> >> onIsDispatchable(Object(Erfurt_Event))
> > #2 C:\xampp\htdocs\ontowiki\libraries\Erfurt\Erfurt\Event
> > \Dispatcher.php(179): ReflectionMethod->invoke(Object(SiteHelper),
> > Object(Erfurt_Event))
> > #3 C:\xampp\htdocs\ontowiki\libraries\Erfurt\Erfurt\Event.php(178):
> > Erfurt_Event_Dispatcher->trigger(Object(Erfurt_Event))
> > #4 C:\xampp\htdocs\ontowiki\application\classes\OntoWiki
> > \Dispatcher.php(159): Erfurt_Event->trigger()
> > #5 C:\xampp\htdocs\ontowiki\libraries\Zend\Controller\Dispatcher
> > \Standard.php(244): OntoWiki_Dispatcher-
> >> isDispatchable(Object(OntoWiki_Request))
> > #6 C:\xampp\htdocs\ontowiki\libraries\Zend\Controller\Front.php(954):
> > Zend_Controller_Dispatcher_Standard-
> >> dispatch(Object(OntoWiki_Request),
> > Object(Zend_Controller_Response_Http))
> > #7 C:\xampp\htdocs\ontowiki\libraries\Zend\Application\Bootstrap
> > \Bootstrap.php(97): Zend_Controller_Front->dispatch()
> > #8 C:\xampp\htdocs\ontowiki\libraries\Zend\Application.php(366):
> > Zend_Application_Bootstrap_Bootstrap->run()
> > #9 C:\xampp\htdocs\ontowiki\index.php(157): Zend_Application->run()
> > #10 {main} (0)
>
> I hope this error will not come again after you have imported the model :=
-)> I am guessing that it is still not finding the site model, but I'm not
> > sure what to do here. Any ideas? Do I need to add anything to the
> > ontowiki config.ini file?
>
> I hope the model was the problem.
>
> Kind regards