[Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
Thomas Rochford (Jiscadvance)
thomas.rochford at jiscadvance.ac.uk
Fri Oct 25 23:22:55 BST 2013
Hi John,
Your image shows media rather than a zip being upload. My problem is that I
can upload the zip file and Xerte can unzip it in the import directory,
however the file does not appear in the Workspace and there's nothing in the
USER_FILES directory and nothing in the template_details table, and no
success/failure message under normal settings.
I've turned on error reporting and get this:
The offending line reads
echo $zip $new_file_name ."<br />";
Kindest regards, Thomas
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 25 October 2013 16:01
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
Hi Tom, Thomas,
I've now updated the server to the latest install and I'm still not seeing
the issue:
I've also tracked the upload.php url parameters and get the correct URL
(which is why the upload happens)
POST
/modules/xerte/engine/upload.php?path=USER-FILES/1-pat-Nottingham/media/&BRO
WSER=firefox&AUTH=xerte&PHPSESSID=**mysession** HTTP/1.1
SO I'm not sure why you are seeing &null instead of
BROWSER=firefox&AUTH=xerte&PHPSESSID=**mysession** HTTP/1.1
That is definitely the cause of the issue on your machine. The session
cannot be restarted in upload.php because it doesn't have the correct
information. I assume you have cleared the cache since upgrade although the
code to pass the correct info to upload.php hasn't changed for a while.
Thinking about it too, we I updated the wizard to use file_exists.php but
that message you got is perhaps as confusing. perhaps we should leave the
file_exists.php and create a new file which can give some better feedback on
whether it is a session issue, a permissions issue, etc etc.
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.nottingham.ac.uk>
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas
Rochford (Jiscadvance)
Sent: Friday, October 25, 2013 3:29 PM
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
Hi,
I've just checked, the files are there, in the import folder, all neatly
unzipped, so it's not a permissions problem with the file system.
I don't know enough about the way the code works the delve much deeper, but
my next thoughts are that if it's not the file system properties, it could
be something to do with the SQL, or the way it transfers the date to the
USER_FILES.
I've done a manual transfer to the USER_FILES (creating a stub in the
editor, then uploading the media and template.xwd into the directory
created, and copying the latter to 'data' after deleting the 'data' file
that was there) and that works just fine. I'm not sure if I need to
overwrite the 'data' file or not, but it seems to work.
Kindest Regards,
Thomas
==========================================================
Thomas Rochford | e-Learning Advisor | Jisc RSC Eastern
Tel: 01223 564749 | Mobile: 07500 669002 | Skype: cambridge.serendipity
Email: <mailto:thomas.rochford at jiscadvance.ac.uk>
thomas.rochford at jiscadvance.ac.uk | Web:
<http://www.jiscrsc.ac.uk/eastern> http://www.jiscrsc.ac.uk/eastern
Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN
For the full range of RSC UK events, resources and blog, visit
<http://www.jiscrsc.ac.uk> http://www.jiscrsc.ac.uk
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 Smith, John
Sent: 25 October 2013 14:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
Oh right ok, I'll give it a try - that server is relatively up to date (not
latest though) but I wasn't aware of any code changes to the upload path
(other than the moov stuff being removed).
Let me update and try again.
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.nottingham.ac.uk>
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: Friday, October 25, 2013 2:21 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
No I am not, and I am using the latest 2.1
Smith, John schreef op 25-10-2013 15:16:
Hmm..
Tom, are you using windows 8.1?
I just tried in Windows 7 with Firefox 24 and it worked fine for me. Can
anyone else with Windows 8 or 8.1 confirm whether it works for them?
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.nottingham.ac.uk>
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: Friday, October 25, 2013 10:41 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
Hmmm, they look decidedly strange to me:
192.168.50.11 - - [25/Oct/2013:11:39:01 +0200] "POST
/~tom/xotdev/modules/xerte/engine/upload.php?path=USER-FILES/1-tom-Nottingha
m/media/&null HTTP/1.1" 200 - "-" "Shockwave Flash"
192.168.50.11 - - [25/Oct/2013:11:39:05 +0200] "POST
/~tom/xotdev/modules/xerte/engine/file_exists.php HTTP/1.1" 200 39 "-"
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0"
i.e. I would have expected some indication of firefox on the first line as
well.
Smith, John schreef op 25-10-2013 11:11:
Hi Tom,
It is most likely the flash cookie bug. Can you see what the useragent
string presents as for the new Firefox? I've seen issues on the
mediaelements Github site that IE11 has a different useragent string or
something.
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.nottingham.ac.uk>
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: Friday, October 25, 2013 9:11 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: New 2.1, there are 2 problems in Firefox only
committed issue 1,
re issue 2, I am using Firefox 24.0, latest 2.1-beta
Tom
Ron Mitchell schreef op 25-10-2013 9:47:
Hi Tom
re issue 1
can't see a problem with that 5px change
re issue 2
I just tested with Firefox 16.0.2 and uploading images and video works fine
for me with 2.2 code grabbed this morning.
HTH
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: 24 October 2013 21:48
To: For Xerte technical developers
Subject: [Xerte-dev] New 2.1, there are 2 problems in Firefox only
Issue 1:
The space needed by the buttons in the Dutch translation is too large:
This only happens in (some) installations of firefox, i.e. I have problems
on my PC, but Inge does not on hers (Both Win7Pro 64bit).
Does anyone mind if I set the margins of .file_mgt_area_middle to 10px
i.s.o. 15px?
Issue 2, upload of media, so far only encountered in firefox:
I can't upload media. Tested with video and images.
Tom
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
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
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 <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
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
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/9e1c1c94/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 18340 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/9e1c1c94/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 169193 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/9e1c1c94/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 33219 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/9e1c1c94/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 18487 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/9e1c1c94/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 11902 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/9e1c1c94/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 6243 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/9e1c1c94/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 42490 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131025/9e1c1c94/attachment-0009.png>
More information about the Xerte-dev
mailing list