[Xerte] Re: Xerte: Upload failed HTTPError -
Monroe.J.George at jci.com
Monroe.J.George at jci.com
Thu Dec 19 17:12:03 GMT 2013
John,
Thanks for your patience!
Here are my versions,
IE (8), Firefox (26), Chrome (31), Moodle (2.5.2), XOT (2.1)
I had tried IE 11 previously, but went back to 8.
Windows 7 Enterprise, WinBind authentication (now working with xerte)
_________________________________________________________________________________________
IE worked once (first attempt) today, then back to the HTTP:Error after
closing and trying again ,
Firefox (26) still gets the upload error
Here is the debug info from the firefox failed attempt. (HTTPError)
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select login_id from logindetails where username = 'ageorgm'
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT login_id FROM logindetails WHERE username = 'ageorgm'
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/website_code/php/user_library.php118Running
: select folder_name from folderdetails where
folder_name = 'recyclebin' AND login_id = '4'
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/file_system.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/file_system.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/screen_display.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/screen_display.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/ajax_management.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/ajax_management.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/folders.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/folders.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/template_management.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/template_management.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/logout.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/logout.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/import.js
2013-12-19 11:33:23
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/import.js
2013-12-19 11:33:29
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
2013-12-19 11:33:29
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id =
originaltemplatesdetails.template_type_id and templatedetails.creator_id =
logindetails.login_id and templaterights.template_id =
templatedetails.template_id and templaterights.template_id="4" and
role="creator"
2013-12-19 11:33:29
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select * from templaterights where user_id='4' AND template_id = '4'
2013-12-19 11:33:29 /var/www/environmental/xertetoolkit/edit.php30Running
: UPDATE templatedetails SET date_accessed='2013-12-19' WHERE template_id
= '4'
2013-12-19 11:33:29
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select username from logindetails where login_id='4'
2013-12-19 11:33:58
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
uploads are working with Chrome (31)
Here is the debug using Chrome with a successful upload
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select login_id from logindetails where username = 'ageorgm'
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT login_id FROM logindetails WHERE username = 'ageorgm'
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/website_code/php/user_library.php118Running
: select folder_name from folderdetails where
folder_name = 'recyclebin' AND login_id = '4'
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/file_system.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/file_system.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/screen_display.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/screen_display.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/ajax_management.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/ajax_management.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/folders.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/folders.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/template_management.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/template_management.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/logout.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/logout.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/import.js
2013-12-19 11:48:53
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/import.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select login_id from logindetails where username = 'ageorgm'
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT login_id FROM logindetails WHERE username = 'ageorgm'
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/website_code/php/user_library.php118Running
: select folder_name from folderdetails where
folder_name = 'recyclebin' AND login_id = '4'
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/file_system.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/file_system.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/screen_display.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/screen_display.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/ajax_management.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/ajax_management.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/folders.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/folders.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/template_management.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/template_management.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/logout.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/logout.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php159en-GB
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php160languages/en-GB/website_code/scripts/import.js
2013-12-19 11:48:59
/var/www/environmental/xertetoolkit/functions.php161languages/en-GB/website_code/scripts/import.js
2013-12-19 11:49:03
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
2013-12-19 11:49:03
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id =
originaltemplatesdetails.template_type_id and templatedetails.creator_id =
logindetails.login_id and templaterights.template_id =
templatedetails.template_id and templaterights.template_id="5" and
role="creator"
2013-12-19 11:49:03
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select * from templaterights where user_id='4' AND template_id = '5'
2013-12-19 11:49:03 /var/www/environmental/xertetoolkit/edit.php30Running
: UPDATE templatedetails SET date_accessed='2013-12-19' WHERE template_id
= '5'
2013-12-19 11:49:03
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select username from logindetails where login_id='4'
2013-12-19 11:49:12
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
2013-12-19 11:49:12
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
2013-12-19 11:49:19
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
2013-12-19 11:49:19
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
2013-12-19 11:49:19
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select otd.template_name, ld.username, otd.template_framework,
tr.user_id, tr.folder, tr.template_id, td.access_to_whom, td.extra_flags
from originaltemplatesdetails otd, templaterights tr, templatedetails td,
logindetails ld where td.template_type_id = otd.template_type_id and
td.creator_id = ld.login_id and tr.template_id = td.template_id and
tr.template_id=5 and role='creator'
2013-12-19 11:49:19
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: select * from templaterights where user_id='4' AND template_id = '5'
2013-12-19 11:49:19
/var/www/environmental/xertetoolkit/website_code/php/xmlInspector.php107Trying
to simplexml_load_file : USER-FILES/5-ageorgm-Nottingham/preview.xml
2013-12-19 11:49:23
/var/www/environmental/xertetoolkit/website_code/php/database_library.php139Running
: SELECT * FROM sitedetails
There was one line entry in the CRITICAL.log from 12/6/13
<p>13:09:56 - 06/12/2013 CRITICAL<Br>Moved file to users recycle
bin<Br>Moved file to users recycle bin</p>*
Monroe (Jeff) George
Quality, Environmental Systems Engineer
From: "Smith, John" <J.J.Smith at gcu.ac.uk>
To: Xerte discussion list <xerte at lists.nottingham.ac.uk>
Date: 12/19/2013 08:54 AM
Subject: [Xerte] Re: Xerte: Upload failed HTTPError -
Sent by: xerte-bounces at lists.nottingham.ac.uk
Hi Jeff,
Glad you have sorted your login issues.
With regard to your upload issues, what version of IE and Firefox and
Moodle are you using? Also, is this a brand new download of XOT v2.1?
Also, are you able to look in the management.php logs to see if you can
see a CRITICAL - Session not found during file upload error? IE shouldn't
have this issue but I suupose if it's the latest version then some change
to the browser string could be causing this...
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-bounces at lists.nottingham.ac.uk
[xerte-bounces at lists.nottingham.ac.uk] On Behalf Of
Monroe.J.George at jci.com [Monroe.J.George at jci.com]
Sent: 19 December 2013 13:34
To: Xerte discussion list
Subject: [Xerte] Re: Xerte: Upload failed HTTPError -
Thanks, Tom,
Okay, I think I found my problem, I was editing my files with blue
griffon, and that was buggering my code. I downloaded and installed
notepad++ and edited my auth_config, I am now logged in, still had the
upload error with fire fox and IE, but I will work through the developer
debug stuff.
Thanks for all of your help, I really appreciate it!
Jeff
Monroe (Jeff) George
Quality, Environmental Systems Engineer
From: Tom Reijnders <reijnders at tor.nl>
To: Xerte discussion list <xerte at lists.nottingham.ac.uk>
Date: 12/19/2013 04:55 AM
Subject: [Xerte] Re: Xerte: Upload failed HTTPError -
Sent by: xerte-bounces at lists.nottingham.ac.uk
________________________________
Jeff,
Could you please try the attached file (please make a backup of your
version) and place it in library/Xerte/Authentication
(or comment out line 33 of the library/Xerte/Authentication/Factory.php)
and change config.php (of the xerte install) and change line 26:
$development=true
If needed, modify line 33 as well, so you will have access to the
debug.log file.
And then try Moddle authentication again?
Tom
Monroe.J.George at jci.com<mailto:Monroe.J.George at jci.com> schreef op
18-12-2013 17:23:
Tom,
#1 is a true statement "1. Upload doesn't work in IE and Firefox, but it
does work in Chrome"
Authentication does not work in any browser (only guest user works)
Integration to config is; (Moodle)
/var/www/environmental/config.php
Root file path:
/var/www/environmental/xertetoolkit/
[cid:_1_0B3536300B352D74004A8A6285257C46]
The auth_config.php file is exactly the way it was at install. Any
modifications to it gives the same error as this.
Leaving it as guest is the only option that will work.
[cid:_1_0B353A540B352D74004A8A6285257C46]
John,
I reviewed and tried each different proposed solution, but still no joy,
http://xerte.org.uk/index.php?option=com_kunena&view=topic&catid=4&id=80&Itemid=759&lang=en&limitstart=0
Can you edit and save the LOs and then exit and go back and edit the LO
where you left off? If so then your sessions should be working fine.
Yes, I can edit, save, exit and go back in to edit where it left off. So
it must not be a session problem.
Thanks for the help, Jeff
Monroe (Jeff) George
Quality, Environmental Systems Engineer
From: Tom Reijnders <reijnders at tor.nl><mailto:reijnders at tor.nl>
To: Xerte discussion list <xerte at lists.nottingham.ac.uk><
mailto:xerte at lists.nottingham.ac.uk>
Date: 12/17/2013 03:08 AM
Subject: [Xerte] Re: Xerte: Upload failed HTTPError -
Sent by: xerte-bounces at lists.nottingham.ac.uk<
mailto:xerte-bounces at lists.nottingham.ac.uk>
________________________________
Jeff,
I must say that I am a bit confused about what is the real issue.
After rereading, I assume you have two issues.
1. Upload doesn't work in IE and Firefox, but it does work in Chrome
2. Authentication doesn't work in IE and firefox, but it seems to work in
Chrome.
You mention that issue 2. bothers you the most, so let's conecntrate on
that first:
a. The error is a php exception, so I would really be surprised, if this
works in any browser.
Could you please verify that the íntegration_config_path in the
sitedetqails table contains the full path to your moddle config file, i.e.
/srv/www/htdocs/moodle2/config.php
You can check this directly in mysql, or browse to management.php:
[cid:_4_0B3551780B352D74004A8A6285257C46]
Than check again. If that doesn't work, please verify auth_config.php. If
that still doesn't work, plase post the auth_config.php file.
Tom
Monroe.J.George at jci.com<mailto:Monroe.J.George at jci.com> schreef op
16-12-2013 22:08:
Do I assume that no one has a solution to the Apache2 Winbind
authentication, I can deal with the browser issues by just mandating using
Chrome 31 to all of my peers to create the LO, but would really like to
work though the authentication.
Any suggestions?
Thanks, Jeff
Monroe (Jeff) George
Quality, Environmental Systems Engineer
From: Monroe.J.George at jci.com<mailto:Monroe.J.George at jci.com>
To: Xerte at lists.nottingham.ac.uk<
mailto:Xerte at lists.nottingham.ac.uk>
Date: 12/13/2013 10:27 AM
Subject: [Xerte] Xerte: Upload failed HTTPError -
Sent by: xerte-bounces at lists.nottingham.ac.uk<
mailto:xerte-bounces at lists.nottingham.ac.uk>
________________________________
I have a problem I have been trying to solve for the past three weeks,
hoping for a little guidance
I cannot upload any images using any version of IE or Firefox
I did try Chrome just to view any JS errors and that uploaded just fine,
so I do not believe it is my server settings ??
My IT group seems to think that Chrome is just more standards compliant
(whatever that means),
[cid:_1_0B33F0680B352D74004A8A6285257C46]
Here is my setup:
System: Linux a305lv002 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64
LMS - Moodle 2.5.2
Moodle authentication - Apache2 Winbind
Xerte online toolkit (latest version) is installed inside of my moodle
diectory
I am assuming this is a session error of some sort, I cannot get xerte to
acknowledge any authentication
( I really do not care if I stay a guest user, but our corporate browser
is IE)
</head>
<body>authentication_method = 'Moodle';
//$xerte_toolkits_site->authentication_method = 'Ldap';
//$xerte_toolkits_site->authentication_method = 'Db';
//$xerte_toolkits_site->authentication_method = 'Static';
$xerte_toolkits_site->authentication_method = "Moodle";
No matter what method I try, I get this error
[cid:_1_0B33FAB40B352D74004A8A6285257C46]
So I am either looking for a way to pass the authentication, or reset the
session, I'm not sure, looking for guidance.
Or do I just need to only use Chrome, since that works?
Thanks for any help,
Jeff
Monroe (Jeff) George
Quality, Environmental Systems Engineer
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
[attachment "Factory.php" deleted by Monroe J George/NA/Johnson_Controls]
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
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 mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20131219/89b0f4f6/attachment-0001.html>
More information about the Xerte
mailing list