<div dir="ltr">Also, <div>If you're happy to edit code there is some more complicated debugging we could do. You might have hit a bug we could fix for others.</div><div>Pat</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jul 28, 2014 at 4:33 PM, Ron Mitchell <span dir="ltr"><<a href="mailto:ronm@mitchellmedia.co.uk" target="_blank">ronm@mitchellmedia.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Ok so the problem with export isn't the IE issue which was only a slight possibility anyway. I doubt the export and ldap issues are related so we need to deal with these separately and if your reason for exporting is to migrate those projects to the new install that might not be your best method anyway if there are a lot of projects. You could try the following if your new server has only been used for testing so far and not real projects.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">1. Copy the database and directory from the old server to the new server either in a new location or completely replacing your current test.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">2. Change the db connection details in database.php if necessary and the site_url, root_file_path and import_path values in site_details to reflect the new server.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">3. You should now have a working mirror copy of your current 2.0 install. If everything works including LDAP you can proceed with upgrading. If LDAP still doesn't work then it's probably a server configuration issue rather than xerte specific. You could try guest authentication to make sure everything else is working.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">4. Follow the instructions for upgrading in the documentation folder and given that this started with an early version probably best to follow the clean upgrade instructions.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">5. If all now works you might need to repeat the process by first scheduling to stop anyone making changes to your current 2.0 on the old server and then copying everything again or stop access/changes first.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If your goal is to move to a new server and upgrade to the latest version to my mind this (copying and upgrading) is a better route than looking to export and import projects especially if there are a lot of them and I have done this many times without problem or at least if there are problems it's more often due to server differences rather than xerte specific. This wouldn't explain or resolve why export isn't working on your 2.0 install or LDAP isn't working on your new server but it might help identify if the problems lay with Xerte and Xerte versions or the differences between the servers.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hope that makes sense. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Ron<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Jacob Yardley<br>
<b>Sent:</b> 28 July 2014 15:22<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: Compressed (zip) folder is invalid and LDAP errors.<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p>
<div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">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.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif""><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">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.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif""><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">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.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif""><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">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.</span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif""><a href="http://www.xerte.org.uk/index.php?option=com_kunena&view=topic&catid=2&id=292&Itemid=759&lang=en" target="_blank">http://www.xerte.org.uk/index.php?option=com_kunena&view=topic&catid=2&id=292&Itemid=759&lang=en</a></span><u></u><u></u></p>
</div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On 28 July 2014 14:51, Ron Mitchell <<a href="mailto:ronm@mitchellmedia.co.uk" target="_blank">ronm@mitchellmedia.co.uk</a>> wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Re LDAP</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Jacob Yardley<br>
<b>Sent:</b> 28 July 2014 14:35<br><b>To:</b> <a href="mailto:xerte@lists.nottingham.ac.uk" target="_blank">xerte@lists.nottingham.ac.uk</a><br><b>Subject:</b> [Xerte] Compressed (zip) folder is invalid and LDAP errors.</span><u></u><u></u></p>
</div><div><div><p class="MsoNormal"> <u></u><u></u></p><div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Hello List,</span><u></u><u></u></p></div><div><p class="MsoNormal">
<span style="font-family:"Arial","sans-serif"">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? </span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">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?</span><u></u><u></u></p>
</div><div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">2014-07-18 12:04:48 /var/www/xertetoolkits/website_code/php/database_library.php139Running : SELECT * FROM xertesitedetails</span><u></u><u></u></p>
</div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span><u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">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.</span><u></u><u></u></p>
</div></div><p class="MsoNormal">-- <u></u><u></u></p><div><p class="MsoNormal">Jacob Yardley tel: 020 7133 4081<u></u><u></u></p><div><p class="MsoNormal">London Metropolitan University<u></u><u></u></p>
</div></div></div></div></div><pre>Companies Act 2006 : <a href="http://www.londonmet.ac.uk/companyinfo" target="_blank">http://www.londonmet.ac.uk/companyinfo</a><u></u><u></u></pre><pre> <u></u><u></u></pre></div></div>
<p class="MsoNormal"><u></u> <u></u></p><p>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.<u></u><u></u></p>
<p>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.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br><br>_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div>
<p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><p class="MsoNormal">Jacob Yardley tel: 020 7133 4081<u></u><u></u></p><div><p class="MsoNormal">
London Metropolitan University<u></u><u></u></p></div></div></div><pre>Companies Act 2006 : <a href="http://www.londonmet.ac.uk/companyinfo" target="_blank">http://www.londonmet.ac.uk/companyinfo</a><u></u><u></u></pre><pre>
<u></u> <u></u></pre></div></div>
<br><p>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.</p>
<p>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.</p>
<br><br>_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br></blockquote></div><br></div>