[Xerte-dev] Re: uploading mp4 files

Smith, John J.J.Smith at gcu.ac.uk
Sat Sep 28 19:12:11 BST 2013


Hi Ron,

I have been unable to resolve the issue. I've checked for case issues and can't see any and I've not determined what server requirement could possibly be causing the issue so I've decided to remove until after the release of v2.1

The file I sent you should be good for your other servers and I will commit that to Github so that it goes in the next release.

I think I will rework it to go in the media and quota tab so that if you have a file with an issue then you can reprocess it from there, rather than being an automatic thing on upload of the file. That way if there are any problems then the original file is untouched.

Thanks for catching that and sorry for the hassle...

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk]
Sent: 27 September 2013 20:54
To: For Xerte technical developers
Subject: [Xerte-dev] Re: uploading mp4 files

Thanks Ron,

Your file uploaded perfectly on xampp. Suggests to me that it is a server requirement. Perhaps something in the moov_relocator requires a higher version of PHP, or something installed that I hadn't anticipated...

Could you please send me your phpinfo details so that I can compare them with xampp? I'll patch an upload.php file for you to try within the next 30-60 mins.

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell [ronm at mitchellmedia.co.uk]
Sent: 27 September 2013 20:44
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: uploading mp4 files

Hi John
thanks for the files offlist. Yours both fail too so that suggests it's not
down to a difference between mp4 files.:-(

I turned development on and error logging in management but the error logs
direct on the server and via management are only really showing success
messages. In a way I guess that's good but doesn't help resolve this does
it. :-(

For my prep for training I can get round it by uploading via media & quota
but obviously that's not the point and I'd be wary of upgrading any other
installs until we fix this. In fact I look after the install for the uni
where I'm delivering the training next week and after looking at what some
of the students tested last week I think that server has the exact same
problem and it also has the same revision that I had this morning before
applying the update from git.

Not sure what to test/look at next?

Cheers
Ron

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 27 September 2013 20:18
To: For Xerte technical developers
Subject: [Xerte-dev] Re: uploading mp4 files

Hi Ron,

Thanks for that. What it means is that there might be a problem with the
moov_relocator code that hasn't been picked up before. I always wondered
what would happen with a badly formed mp4 or possibly one with a newer
structure (if there is such a thing) given that the moov_relocator project
hasn't had any updates in a while.

If you will persevere with me for a bit then i'll create you a new file that
avoids the moov_relocator until I can find a way to catch a problem and
fallback to the original...

Can you try uploading the two mp4 files (I will send to you offlist) to see
how they behave? They definitely work and then i'd be grateful for a copy of
the one that doesn't work if that would be ok so that I can try to track
down the problem before the release, or else remove it until afterwards.

Just thought of something. Do you have error logging turned on in
management? If you turn it on and try uploading then you should get lots of
error messages  that might lead us to a conclusion.

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow
Caledonian University Cowcaddens Road | Glasgow | G4 0BA
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 27 September 2013 19:50
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: uploading mp4 files

Hi John
I just replied to your earlier message so overlapping replies but...

good point I just tried uploading an flv and that worked fine. What does
that mean? mp4's uploaded to the same server have been fine previously.

I dropped an export from github over the top (with some files like
auth_config etc removed.

Project folder definitely has a media folder.

Cheers
Ron

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 27 September 2013 19:26
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: uploading mp4 files

Hmm.

Just installed from github in xampp and mp4 upload works for me...

Can you upload other file types ok? Is it just mp4s that are causing the
error message.

Did you do a complete reinstall or just certain folders? Or drop the new one
over the top?

Also, check that the folder created in USER-FILES for the project has a
media folder - it was missing in the transfer to Github but should be fine
now.

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



"Smith, John" <J.J.Smith at gcu.ac.uk> wrote:


Hi Ron

There should be any permissions to change since it does the manipulations in
the upload folder.

Can you delete the temp file that is created, upload again and see if it
reappears - to test whether the upload is getting through.

I will download and test right now for you.

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:


Hi John
I've pulled and exported the latest develop and put that in place.
Now via the editor I get failed to upload. Check permissions.
Is there a permissions change that I need to make somewhere?
Cheers
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 27 September 2013 15:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: uploading mp4 files

Hi Ron,

Sorry for the delay getting back to you. this commit lists the file changes
that have been made
https://github.com/thexerteproject/xerteonlinetoolkits/commit/5150fa252f54f7
68848c4d95609c3957f9180ad5

You can get the files by clicking on the [View file @ 5150fa2] button at the
side of each upload.php file (although both should be identical).

Basically you want the NEW upload.php file in both:

modules/site/engine/upload.php    and in
modules/xerte/engine/upload.php

and then you need to move the contents of the MoovRelocator folder from

/modules/xerte /engine/tools/moovrelocator     to
/library/MoovRelocator

You can then delete the folder at /modules/site/engine/tools/moovrelocator
as both upload.php files should now reference the shared library.

I've tried this with lots of different mp4s and these changes seem to now be
working fine and consistently so I will be very interested to hear how you
get on as it's not really made it into the mainstream yet.

You might also want to change your wizard file as Tom has implemented some
changes that I made which actually use file_exists to query whether an
uploaded file is present on the server since ActionScript 2.0 always reports
successful since it cannot receive messages back from the upload script..

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nott
ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Ron Mitchell
Sent: Friday, September 27, 2013 1:40 PM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: uploading mp4 files

Hi John
it's 2.0 (svn r1087)
Yes it would be useful to know the specific changes if poss?
Cheers
Ron

From:
xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nott
ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Smith, John
Sent: 27 September 2013 13:34
To: For Xerte technical developers
Subject: [Xerte-dev] Re: uploading mp4 files

Hi Ron,

Is this using code from the current Github repos or an older version? I did
some work on this more recently on Github - I can advise you on the change
involved.

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From:
xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nott
ingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of
Ron Mitchell
Sent: Friday, September 27, 2013 1:01 PM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] uploading mp4 files

Hi all
firstly apologies for not contributing much lately - simply been busy with
other things.

However I'm delevering some xerte training to a group of 40 students next
Tuesday and have just been completing some prep for that. I've upgraded my
install recently and notice that if I add a video page and upload an mp4 via
the editor for that page it suggests that it has worked but when I look in
media and quota I see a file named process_moov.temp

If I upload the mp4 direct via media and quota the mp4 appears and all works
fine.

But I guess this is all part of particularly John's work on streaming etc so
any quick pointers? I dodn't have time to trawl through the archives and a
quick search didn't reveal anything.

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.


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

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.


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

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.


Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
_______________________________________________
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

Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
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.






_______________________________________________
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.





Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


More information about the Xerte-dev mailing list