[Xerte] Re: Compressed (zip) folder is invalid and LDAP errors.

Pat L (pgogy) xerte at pgogywebstuff.com
Mon Jul 28 16:37:45 BST 2014


You could add them to config.php or
website_code/php/export/ (i think)

https://github.com/thexerteproject/xerteonlinetoolkits/blob/develop/website_code/php/scorm/export.php

there is an ini_set at the top already, so add the one for memory there as
well

Pat


On Mon, Jul 28, 2014 at 3:39 PM, Jacob Yardley <j.yardley at londonmet.ac.uk>
wrote:

> They are Pat. Thank you, it was your reply to a zip export back in March
> that made me think of PHP memory size problems being a solution. Is there
> an easy way to change memory limit and max execution time in xerte php
> settings or is it shared across the server because the old 2.0 build is on
> a shared server.
>
>
> On 28 July 2014 15:30, Pat L (pgogy) <xerte at pgogywebstuff.com> wrote:
>
>> Are the ldap details in the sitedetails table?
>>
>>
>> On Mon, Jul 28, 2014 at 3:22 PM, Jacob Yardley <j.yardley at londonmet.ac.uk
>> > wrote:
>>
>>> Thanks for the reply Ron, we have tried a variety of users and browsers
>>> (FF, Chrome and IE), successfully published projects and 1 page tests all
>>> with the same result. Curiously our security on email detects an exe file
>>> in the broken zip and will not let us send it, but will let us send the
>>> non-broken zips I have made from the new build 2.1 server.
>>>
>>> The old current server started out quite a few versions back and has
>>> been upgraded to 2.0 with changes to the LDAP settings made along the way
>>> as our LDAP server moved. The 2.1 build is on a new VM server constructed
>>> purely for xerte which makes me think we missed something key in the set-up
>>> for LDAP to fall so flat. I did increase the php memory settings as they
>>> seemed low on the new install, and as I say the zip export works on 2.1.
>>>
>>> Thoughts on upgrading 2.0 to 2.1 to see if it fixes the zip? Do not want
>>> to risk breaking the LDAP on current live system.
>>>
>>> Tom Reijnders has had a couple of goes with LDAP fixes in 2.1 - both
>>> interesting, but neither quite my problem, hence why I thought I'd skip
>>> that completely as there is still the 'how do we transfer xerte files
>>> between servers' question.
>>>
>>> http://www.xerte.org.uk/index.php?option=com_kunena&view=topic&catid=2&id=292&Itemid=759&lang=en
>>>
>>>
>>> On 28 July 2014 14:51, Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:
>>>
>>>> Re the zip export from 2.0 are you using IE by any chance? Can you try
>>>> a different browser? Also make sure projects are published before exporting
>>>> and test with a small project to eliminate size issues.
>>>>
>>>>
>>>>
>>>> From memory there were some issues for some (minority) users using IE
>>>> but not a conclusive cause/solution and those same users were able to
>>>> export ok using Chrome or Firefox.
>>>>
>>>>
>>>>
>>>> Re LDAP
>>>>
>>>> Did you install from scratch or an upgrade? If the latter did you run
>>>> upgrade.php? It's always difficult to troubleshoot this kind of issue
>>>> because configurations vary but as far as I'm aware 2.1 should work fine
>>>> with LDAP once the settings are correct but it may depend on exactly which
>>>> revision.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *From:* xerte-bounces at lists.nottingham.ac.uk [mailto:
>>>> xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Jacob Yardley
>>>> *Sent:* 28 July 2014 14:35
>>>> *To:* xerte at lists.nottingham.ac.uk
>>>> *Subject:* [Xerte] Compressed (zip) folder is invalid and LDAP errors.
>>>>
>>>>
>>>>
>>>> Hello List,
>>>>
>>>> Our users are able to export from version 2.0 as far as a zip file is
>>>> created, but on trying to open the zip file are told it is invalid and it
>>>> can neither be opened nor imported. Any idea why?
>>>>
>>>>
>>>>
>>>> We need to transfer to a new server soon which has 2.1 installed. Guest
>>>> access and zip export works fine on the new server, but cannot get LDAP to
>>>> work despite using the same settings as our 2.0 server. There seem to be
>>>> few problems with LDAP on 2.1 noted elsewhere, but from debug logs we
>>>> simply get the following repeated, so some key process is not taking place?
>>>>
>>>> 2014-07-18 12:04:48
>>>> /var/www/xertetoolkits/website_code/php/database_library.php139Running :
>>>> SELECT * FROM xertesitedetails
>>>>
>>>>
>>>>
>>>> As LDAP login does not work, had hoped to simply set the few users up
>>>> via the database authentication method and have them import their files
>>>> -hence our discovery of the zip problem.
>>>>
>>>> --
>>>>
>>>> Jacob Yardley                                tel: 020 7133 4081
>>>>
>>>> London Metropolitan University
>>>>
>>>> Companies Act 2006 : http://www.londonmet.ac.uk/companyinfo
>>>>
>>>>
>>>>
>>>>
>>>> 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.
>>>>
>>>>
>>>> _______________________________________________
>>>> Xerte mailing list
>>>> Xerte at lists.nottingham.ac.uk
>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>>
>>>
>>>
>>> --
>>> Jacob Yardley                                tel: 020 7133 4081
>>> London Metropolitan University
>>>
>>> Companies Act 2006 : http://www.londonmet.ac.uk/companyinfo
>>>
>>>
>>> _______________________________________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>
>>>
>>
>
>
> --
> Jacob Yardley                                tel: 020 7133 4081
> London Metropolitan University
>
> Companies Act 2006 : http://www.londonmet.ac.uk/companyinfo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20140728/5f671d6d/attachment.html>


More information about the Xerte mailing list