[Xerte-dev] Re: Problems with xampp install
Pat @ Pgogy
xerte at pgogywebstuff.com
Fri Jan 25 12:26:20 GMT 2013
Couldn't the debug logging be written into the existing error library stuff?
Pgogy Webstuff - http://www.pgogywebstuff.com
Makers of web things of a fair to middling quality
On 25 Jan 2013, at 11:49, David Goodwin <david at palepurple.co.uk> wrote:
>
> On 25 Jan 2013, at 11:25, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
>
>> Am I right in saying that we don’t actually need lines (in this diagram) 14 15 and 16 as file_put_contents will create the file if it doesn’t exist?
>
> I think the 'is_writeable' will fail without a touch() - if the file doesn't exist to start with.
>
>
> The solution is to either :
>
> a. Check to see if we're on Windows, and if so, try to write to e.g. c:/debug.log or somewhere instead of '/tmp/debug.log'.
>
> or
>
> b. Prefixing the 'touch' call with an @ sign to silence it on error (as the file_put_contents is already doing).
>
>
> David.
>
>
>>
>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
>> Sent: 25 January 2013 11:21
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Problems with xampp install
>>
>> This is a problem David has introduced: the file tmp/debug.log doesn’t exist. Comment out line 21 and it works OK, but what is the real fix please?
>>
>> <image001.png>
>
> Pale Purple Ltd. (Company No: 5580814)
> 'Web and Mobile Application Development for Business'
>
> http://www.palepurple.co.uk
> Office: 0845 0046746 Mobile: 07792380669
>
> Follow us on Twitter: @PalePurpleLtd
>
>
>
>
> _______________________________________________
> 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/20130125/6dd48598/attachment.html>
More information about the Xerte-dev
mailing list