[Xerte-dev] Re: upgraded test install error

Tom Reijnders reijnders at tor.nl
Fri Oct 3 09:24:02 BST 2014


Yes. There was still a lot of debugging code in upload.php (which tries 
to write files to the folder <inst>/editor. Perhaps that is what caused it.

Another thing, is that the code works on my OpenSuSE server, but it 
didn't work on an Ubuntu server.
I am working on it. It has to do with json_decode in that case.

Tom

Ron Mitchell schreef op 3-10-2014 9:38:
>
> Hi Tom
>
> I can't check right now but I downloaded a copy of the install I was 
> using and set that up via xamp and that now works even with the 
> original upload.php from develop. So although I can't check until 
> tonight thinking about the differences between latest develop code 
> with new editor etc and previous working 2.1 install are there any 
> differences in terms of permissions or server dependencies/settings? 
> e.g. same code works via xampp but not on live server.
>
> Cheers
>
> Ron
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom 
> Reijnders
> *Sent:* 03 October 2014 07:36
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: upgraded test install error
>
> And this one.
>
> Tom
>
> Ron Mitchell schreef op 2-10-2014 23:01:
>
>     Hi Tom
>
>     just quickly tried this but still not working. Will try again at
>     some point tomorrow.
>
>     Cheers
>
>     Ron
>
>     *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>     <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
>     [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
>     *Tom Reijnders
>     *Sent:* 02 October 2014 21:22
>     *To:* For Xerte technical developers
>     *Subject:* [Xerte-dev] Re: upgraded test install error
>
>     Please try this version, and let me know if this works for you.
>
>     If not, there will be a number of debugging files in the editor
>     folded of the installation.
>
>     Tom
>
>     Ron Mitchell schreef op 2-10-2014 20:45:
>
>         Thanks Pat
>
>         error reporting is on but I'm not entirely sure what to look
>         for. The log generates a load of lines like
>
>         /xot/website_code/php/database_library.php146Running : select
>         login_id from logindetails where username = ?
>
>         or ending with select folder_id from folderdetails where
>         login_id= ? AND folder_name = ?
>
>         or INSERT INTO templatedetails (template_id, creator_id,
>         template_type_id, date_created, date_modified, number_of_uses,
>         access_to_whom, template_name, extra_flags) VALUES (?, ?, ?,
>         ?, ?, ?, ?, ?, ?)
>
>         are those question marks correct or should there be actual
>         values instead?
>
>         Cheers
>
>         Ron
>
>         BTW are you at FOTE tomorrow at any point?
>
>         *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>         <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
>         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
>         Of *Pat L (pgogy)
>         *Sent:* 02 October 2014 16:23
>         *To:* For Xerte technical developers
>         *Subject:* [Xerte-dev] Re: upgraded test install error
>
>         Ron,
>
>         a PHP 500 error suggests a bug in running the php in the page
>
>         Try turning on error reporting and hitting the URL directly
>
>         On Thu, Oct 2, 2014 at 3:08 PM, Ron Mitchell
>         <ronm at mitchellmedia.co.uk <mailto:ronm at mitchellmedia.co.uk>>
>         wrote:
>
>         Been testing further...
>
>         Console error on publish
>
>         POST http://domainremoved/xot/editor/upload.php 500 (Internal
>         Server Error) jquery.js:9597send jquery.js:9597b.extend.ajax
>         jquery.js:9597publish tree.js:168(anonymous function)
>         tree.js:63b.event.dispatch jquery.js:9593v.handle
>
>         console error on play
>
>         treeroot: 3 children tree.js:106
>
>         ID_7036018245 <tel:7036018245>: 0 children tree.js:106
>
>         ID_5585580228: 0 children tree.js:106
>
>         ID_3148587715 <tel:3148587715>: 0 children tree.js:106
>
>         POST http://domainremoved/xot/editor/upload.php 500 (Internal
>         Server Error) jquery.js:9597send jquery.js:9597b.extend.ajax
>         jquery.js:9597preview tree.js:137(anonymous function)
>         tree.js:63b.event.dispatch jquery.js:9593v.handle
>
>         *From:*xerte-dev-bounces at lists.nottingham.ac.uk
>         <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
>         [mailto:xerte-dev-bounces at lists.nottingham.ac.uk
>         <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] *On Behalf
>         Of *Ron Mitchell
>         *Sent:* 02 October 2014 13:48
>         *To:* 'For Xerte technical developers'
>         *Subject:* [Xerte-dev] upgraded test install error
>
>         Hi has anyone tried an upgrade with the latest develop code?
>
>         I guess this might be a question for Tom... I've upgraded a
>         test install and existing projects play ok but using the new
>         editor I can't play or preview or save changes. Via browser
>         console I'm getting the following error:
>
>         Failed to load resource: the server responded with a status of
>         500 (Internal Server Error)
>         http://vle.jisctechdis.ac.uk/xot/editor/upload.php
>
>         treeroot: 2 children tree.js:106
>
>         ID_3068040163 <tel:3068040163>: 0 children tree.js:106
>
>         ID_0573572314: 0 children
>
>         Any ideas?
>
>         Cheers
>
>         Ron
>
>         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.
>
>         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-dev mailing list
>         Xerte-dev at lists.nottingham.ac.uk
>         <mailto: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.
>
>
>
>
>
>
>         _______________________________________________
>
>         Xerte-dev mailing list
>
>         Xerte-dev at lists.nottingham.ac.uk  <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
>         http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
>     -- 
>
>     --
>
>       
>
>     Tom Reijnders
>
>     TOR Informatica
>
>     Chopinlaan 27
>
>     5242HM Rosmalen
>
>     Tel: 073 5226191
>
>     Fax: 073 5226196
>
>       
>
>     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.
>
>     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-dev mailing list
>
>     Xerte-dev at lists.nottingham.ac.uk  <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
>     http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> -- 
> --
>   
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>   
>
> 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.
>
>
> 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-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20141003/43eb084c/attachment-0001.html>


More information about the Xerte-dev mailing list