[Xerte-dev] Re: Importing a template

Pat Lockley patrick.lockley at googlemail.com
Mon Jul 23 13:14:14 BST 2012


Some one needs to text a 1.7 install on a mac using safari, until then
not sure the change is a safe one.

On Mon, Jul 23, 2012 at 1:06 PM, Julian Tenney
<Julian.Tenney at nottingham.ac.uk> wrote:
> 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
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>



More information about the Xerte-dev mailing list