[Xerte-dev] Re: Importing a template
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Jul 23 13:06:00 BST 2012
What needs to change?
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 19 July 2012 17:47
To: For Xerte technical developers
Subject: [Xerte-dev] Importing a template
All,
After about a week of digging round, I've now fixed Simon Wood (from
Cardiff) import problem.
Brings up some weird issues
1) In the present zip website_code/php/import/import.php doesn't
include database library.php - so it can't access the database - ergo
it could never import
2) Even with the database_library added, the session was never
generated (config.php) was included so the insert function always had
creator_id as zero, as the session toolkits id would never be found
This seems to be tied to this commit
http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn394&r=166&format=side&path=/trunk/website_code/php/import/import.php&old_path=/trunk/website_code/php/import/import.php&old=153
which removed session and database_library includes.
I am guessing Simon updated part of his install, or, import doesn't
currently work - this sort of brings up how we advise people to
upgrade?
The Third point is in workspaceproperties.php
line 55
<iframe id="upload_iframe" name="upload_iframe" src="#"
style="width:0px;height:0px; display:none"></iframe>
on a Mac, Using Safari - src="#" causes a problem, whereas src=""
works as expected.
I don't have a mac to test this on, so I can't confirm whether it is
the case or not.
I asked the list but didn't get any responses.
Pat
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
More information about the Xerte-dev
mailing list