[Xerte-dev] Re: upgraded test install error
Tom Reijnders
reijnders at tor.nl
Thu Oct 2 21:11:58 BST 2014
Hi Ron,
Yes, I encountered this error before, and I know what is happening. In
editor/upload.php, there is a json_decode that is failing due to an
invalid JSON structure.
I have a quick and dirty fix, but I haven't found out , what causes the
real problem yet.
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] *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
> 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/20141002/c5c5c3f5/attachment.html>
More information about the Xerte-dev
mailing list