[Xerte-dev] Importing a template
patrick.lockley at googlemail.com
Thu Jul 19 17:47:22 BST 2012
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
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
The Third point is in workspaceproperties.php
<iframe id="upload_iframe" name="upload_iframe" src="#"
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.
More information about the Xerte-dev