<HTML dir=ltr><HEAD><TITLE>[Xerte] Toolkit template management errors</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18294" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText57056 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>There are a few windows file path issues that we need to find a fix for.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>If you go into the database, into sitedetails, set all the \ in the paths to / and it should work fine.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>There is a file on the xerte site on making templates, i think the link is towards the bottom right of the home page.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Fred Riley<BR><B>Sent:</B> Tue 13/10/2009 16:37<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> [Xerte] Toolkit template management errors<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>I've got a .xtp file which Julian passed me, which I was after opening<BR>in Toolkits. When I was passed the file I was told that it could be<BR>installed in management.php. I've installed Toolkits on my hard disk<BR>which had XAMPP on it, and have shoved it in localhost/xertetoolkits. I<BR>then tried the URL <A href="http://localhost/xertetoolkits/management.php">http://localhost/xertetoolkits/management.php</A> and got<BR>two include errors, one of which is below:<BR><BR>Warning:<BR>file_get_contents(C:\xampp\htdocs\xertetoolkits\website_code/login_top)<BR>[function.file-get-contents]: failed to open stream: No such file or<BR>directory in C:\devt\xampp\htdocs\xertetoolkits\management.php on line<BR>42<BR><BR>The reason for this is obvious: there's a forward slash before the<BR>include file name. Looking in management.php on line 42 there are just<BR>the filenames login_top and login_bottom mentioned, so the path info<BR>must be coming from elsewhere - where? Or is it, as I suspect, that the<BR>installation path is being stored somewhere without a trailing slash, so<BR>Windoze is shoving a forward slash in to complete it?<BR><BR>Is there any written documentation for Toolkits, in particular on<BR>developing and editing templates? I can see the online demo but no docs<BR>in either the installation or the Xerte site, though maybe I've not<BR>looked for long enough.<BR><BR>Cheers<BR><BR>Fred<BR><BR>Fred Riley<BR>Learning Technologist<BR>School of Nursing, Midwifery and Physiotherapy, University of Nottingham<BR>Vcard: <A href="http://www.nottingham.ac.uk/nursing/sonet/about/fr_uon.vcf">http://www.nottingham.ac.uk/nursing/sonet/about/fr_uon.vcf</A>&nbsp;<BR>_______________________________________________<BR>Xerte mailing list<BR>Xerte@lists.nottingham.ac.uk<BR><A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR></FONT></P></DIV></BODY></HTML>