[Xerte-dev] Re: Problems with XAMPP install of develop code

Fay Cross Fay.Cross at nottingham.ac.uk
Wed Mar 25 11:08:35 GMT 2015


Mediavariable & rlourlvariable

My first email mentions the errors I got on the install screen and a couple of things I tried that seemed to half fix the file path problem if these help.

Thanks everyone for your input on this

-----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: 25 March 2015 10:56
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code

That could be the link Fay, the way filepaths are handled and created in windows and linux based systems has always been problematic. If you can list the filepaths that are being messed up then i can take a look at where they are created and see if i can see anything of potential problem...

Something may have changed in the very latest linux version that has just made it into xampp

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



Fay Cross <Fay.Cross at nottingham.ac.uk> wrote:


I am, I'm not sure about Julian (he's not around today).

I'll have a play around this afternoon to see if I can work out what's happening. I have got it working for now by hardcoding some of the file paths in edithtml.php but it's not ideal as I have to change them if I want to switch between projects.

-----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: 25 March 2015 10:41
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code

Are you both using latest xampp? Is it possible to uninstall xampp and try an older version? Its possible that something in windows xampp is causing this and changes haven't made it into Mac yet due to architecture differences or because mac can sometimes be secondary to windows in terms of development priority...

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 Fay

>From memory (although not what Tom has suggested but this process has always seemed to work for me) here is what I did and edit and create worked for me.

Downloaded and installed xampp (mac)
Downloaded and installed Sourcetree (mac)

  I had my mac reimaged after a crash so had to do these steps but you may not or probably use different software...

Used Sourcetree to checkout xerte straight into the xampp htdocs folder into a 'xerte' named folder Changed the permissions on the 5 required folders Run xampp and started server and mysql Opened browser to localhost/xerte and got load of errors Changed address to localhost/xerte/setup and it loaded fine Tried full server setup and got errors Then went back to setup and ran xampp setup and all went through fine

Went to localhost/xerte and workspace loaded Created and edited a lo, all worked fine

Now, although not recommended practice, sourcetree allows me to switch between branches of xerte flawlessly and if I make changes I can commit them straight from there to github.

I'm off ill just now but from memory the only issues I got were errors on / initially and on setup when trying to do a full install...

John

Sent from Samsung tablet

Please send all enquiries to our shared Blended Learning inbox at hlsblt at gcu.ac.uk and one of the Learning Technologists will respond.



-------- Original message --------
From: Fay Cross <Fay.Cross at nottingham.ac.uk>
Date: 25/03/2015 09:37 (GMT+00:00)
To: For Xerte technical developers <xerte-dev at lists.nottingham.ac.uk>
Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code


So, when you have all tried this and it works does that include trying to create or edit a project? Because that's the point that it completely stops working for me and Julian - it never gets past the loading screen.

-----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: 24 March 2015 11:46
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code

Hi Tom

Yes thats the behaviour that I was getting. I tried the full server setup (on xampp) first and it didnt work. I prefer that as I have more control over the setup and I know Ron always uses it too. Got a load of errors and then tried the xampp setup and that did work fine.

John

Sent from Samsung tablet

Please send all enquiries to our shared Blended Learning inbox at hlsblt at gcu.ac.uk and one of the Learning Technologists will respond.



-------- Original message --------
From: Tom Reijnders <reijnders at tor.nl>
Date: 23/03/2015 15:13 (GMT+00:00)
To: For Xerte technical developers <xerte-dev at lists.nottingham.ac.uk>
Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code


Hmmm...

What I did was:
1.  install latest xampp
2. download unstable from community website 3. unzip that in the xertetoolkits folder of xampp 4. Start localhost/xertetoolkits (it gives me errors, I will look into that) 5. Start localhost/xertetoolkits/setup 6. Choose xampp install

It seems to work fine.

Step 6 doesn't work in IE11, I'll lok into that as well.

Regards,

Tom

Fay Cross schreef op 20-3-2015 om 13:05:
> Ok, I'll do that next time
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom
> Reijnders
> Sent: 20 March 2015 11:59
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code
>
> The unstable zip is rebuilt automatically every night if there has been a commit. For installation testing,  would rather you use the .zip file.
>
> Fay Cross schreef op 20-3-2015 om 12:38:
>> Yes, straight from github.
>>
>> I've just checked and it's the most recent version of xampp (5.6.3)
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron
>> Mitchell
>> Sent: 20 March 2015 11:35
>> To: 'For Xerte technical developers'
>> Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code
>>
>> I never click the xampp button only ever do the full install option simply because that's what has to be done on remote servers.
>> I'm sure I've installed afressh recently but there are obviously regular changes and I've just been pulling those direct from git.
>> I'll test a fresh install too but but it's possible the version of xampp is at play here too?
>> Just to clarify we're talking about testing this with the codebase from github not a download from the community site?
>> Ron
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay
>> Cross
>> Sent: 20 March 2015 11:20
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code
>>
>> Thanks
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom
>> Reijnders
>> Sent: 20 March 2015 11:17
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code
>>
>> Sigh....
>>
>> I'll give it a go this weekend... :-)
>>
>> Smith, John schreef op 20-3-2015 om 12:09:
>>> Not sure, there's been a lot of merges recently so it's possible
>>> that the
>> installer has become screwed... most likely Tom or Ron will be copying the develop files over an existing install so setup has not necessarily been run in a while...
>>> Regards,
>>>
>>> John Smith | Learning Technologist
>>> Room A250, Govan Mbeki Building | School of Health & Life Sciences |
>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA
>>>
>>> Please address ALL support requests to hlsblt at gcu.ac.uk where one of
>>> the
>> School Learning Technologists will pick up the job. This will ensure that all jobs are completed as promptly as possible.
>>> ________________________________________
>>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross
>>> [Fay.Cross at nottingham.ac.uk]
>>> Sent: 20 March 2015 11:04
>>> To: For Xerte technical developers
>>> Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code
>>>
>>> Hmm, maybe it's a problem with my XAMPP then? I went straight to
>>> setup and
>> selected xampp install straight away.
>>> -----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: 20 March 2015 10:51
>>> To: For Xerte technical developers
>>> Subject: [Xerte-dev] Re: Problems with XAMPP install of develop code
>>>
>>> Hi Fay,
>>>
>>> I installed from develop a week ago and the full install gave me
>>> loads of
>> errors so I clicked the xampp install and it went through fine. I checked out github develop straight to the webserver folder and then just ran setup.
>>> Oh also, I went to index.html initially and it gave loads of errors
>>> and
>> had to navigate to /setup/ manually so that initial redirect bit didn't work either.
>>> Regards,
>>>
>>> John Smith | Learning Technologist
>>> Room A250, Govan Mbeki Building | School of Health & Life Sciences |
>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA
>>>
>>> Please address ALL support requests to hlsblt at gcu.ac.uk where one of
>>> the
>> School Learning Technologists will pick up the job. This will ensure that all jobs are completed as promptly as possible.
>>> ________________________________________
>>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross
>>> [Fay.Cross at nottingham.ac.uk]
>>> Sent: 20 March 2015 10:48
>>> To: Xerte Dev Mailing List
>>> Subject: [Xerte-dev] Problems with XAMPP install of develop code
>>>
>>> I've done a fresh install of the develop code in XAMPP and am
>>> getting some errors. I'm not sure if they're Toolkits or XAMPP
>>> related (newly installed XAMPP too)
>>>
>>> Firstly, on the 'Toolkits has been installed' page I get these errors:
>>>
>>> Sorry, The query CREATE DATABASE IF NOT EXISTS has failed. MySQL
>>> reports the following error - 1064 - You have an error in your SQL
>>> syntax; check the manual that corresponds to your MySQL server
>>> version for the right syntax to use near '' at line 1 Sorry, The
>>> query USE has failed. MySQL reports the following error - 1064 - You
>>> have an error in your SQL syntax; check the manual that corresponds
>>> to your MySQL server version for the right syntax to use near '' at
>>> line 1
>>>
>>> Then, if I create a project and try to edit it I get stuck on the
>>> loading
>> screen with the following errors:
>>> SyntaxError: malformed hexadecimal character escape sequence
>>> (edithtml.php line 118)
>>> mediavariable="C:\xampp\htdocs\xertetoolkits/USER-FILES/1-guest2-Not
>>> t
>>> i
>>> ngham/media/";
>>>
>>> If I change $rlo_path in edithtml.php to reference
>>> users_file_area_short
>> rather than users_file_area_full (like it does in the Flash version) then the editor loads.
>>> But then this seems to cause a problem with uploading files - I get
>>> the
>> error 'Invalid backend configuration. Readable volumes not available.' when the import media window opens.
>>> Any ideas? Does anyone else running it on XAMPP have these problems?
>>>
>>> The flash editor works fine.
>>>
>>> Thanks
>>> Fay
>>>
>>>
>>>
>>>
>>> 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
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>>
>>>
>>> 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
>>>
>>> _______________________________________________
>>> 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.
>>>
>> --
>> --
>>
>> 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
>> 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
>>
>>
>>
>>
>> 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.
>>
> --
> --
>
> 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
> 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.
>

--
--

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




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

_______________________________________________
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

_______________________________________________
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




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

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



More information about the Xerte-dev mailing list