[Xerte-dev] Re: 1.9 zip
Ron Mitchell
ronm at mitchellmedia.co.uk
Mon Dec 10 20:20:59 GMT 2012
There seems to be two occurrences of temp_array[0]
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_code/php/versioncontrol/update_file.php?spec=svn589&r=589
Do both need changing or just one?
How come this works for you if same version?
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip
Ok one of the queries has a ref to temp_array[0] in still
Replace with $template_id
On 10 Dec 2012, at 18:28, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:
do these help?
$query_for_play_content_strip
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="TEMPLATE_ID_TO_REPLACE" and role="creator"
$query_for_play_content
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="C:
mpphtdocs
rtetoolkits/USER" and role="creator"
$query_for_play_content_response
Resource id #20
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip
website_code/php/versioncontrol/update_file.php
there will be a variable called query or something query
On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:
Sorry what query? In what file?
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip
Ok, so for you, the query doesn't work.
echo out the query and see what it is
On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:
I tested with a brand new svn update and export and a clean install using the xampp option so not sure why we're seeing different things. I truned on debugging and upon clicking ok to publish changes got the attached. Does that help?
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip
Pah,
It's been two years, but maybe that's my instinctive name for all things XOT
Well it works here on my XAMPP, but start putting echos in the code to see where it gets too. Easiest way to debug (it's all I'd do, but mine err, works).
Pat
On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:
Hi Pat
are you sure about the db name?
as far as I can see when using the quick xampp install option the db created is called toolkits_data as defines in \setup\xampp_database.txt
Testing the publishing options with a clean xampp install...
I get the prompt whether to publish with Chrome, Safari and FF but not IE. Possibly because I still get the window_reference error when using IE. Perhaps specific to my local IE?
But as Julian reported even when clicking ok to publish the changes aren't published until manually publishing.
HTH
Ron
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:12
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip
xertetoolkits
mine is a fresh xampp and it works
it's both files in versioncontrol and the response is alerted out so you can add echo "HELLO" to your heart's content to debug it
On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:
testing locally with guest access and no integration_config_path set...
Create project
Add a page
Preview (so the file is save)
Quit the wizard - I don't get prompted to publish at all even with the latest change Pat comitted
If I publish manually all is fine.
I'll test a clean install via xampp... If using the quick xampp install option what's the name of the db that gets created is it toolkits?
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip
It still doesn't work:
Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make access public Hit the URL. Nothing until I publish from a button somewhere (workspace or wizard).
I think I'm going to put it out anyway, unless anyone can fix it today. I'm not so concerned about the html5 side of this not working, but previously working functionality doesn't work anymore. Maybe this isn't such a dealbreaker, perhaps we should disable the prompt and force a manual publish?
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip
Not sure why it would break but adding database connect in seemed to fix it
On 7 Dec 2012, at 22:21, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-boun
> ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
> It’s a bit more than that. Here’s what I’m doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish – say yes
> Goto properties, hit the link
> No dice.
>
> But it’s also not publishing the changes for the flash verison either,so Pats on the right lines, the modularised publish stuff isn’t accounted for in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it’s accessible –
> well that’s what I’ve always had to do…
>
> Publish in the editor doesn’t appear to do much unless you set the
> access level…
>
> 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 list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it’s working now.
>
> It only works after you’ve published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can’t preview it on the link in the properties panel, i.e. this link doesn’t work.
>
> There is no xenith.js at modules/xerte/parent_templates/Nottingham/common_html5, which is where play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn’t include in the zip?
>
> _______________________________________________
> 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
>
> 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,6
> 219,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,1
> 5691,en.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
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121210/54fba1dc/attachment-0001.html>
More information about the Xerte-dev
mailing list