[Xerte] [Toolkits] Edit.php Line 231 Error

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Tue Jan 19 11:17:44 GMT 2010


Possibly a dead session?

If you create a new project now what happens?

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Salem
Sent: 19 January 2010 11:13
To: Xerte discussion list
Subject: RE: [Xerte] [Toolkits] Edit.php Line 231 Error

Thanks for the responses,

This seems to be the case, as the directory names are
<number>-<username>-<Nottingham> and as you point out, the value it is
looking for is missing the username.

Had a look in the database and this all seems to be okay. (As far as I
am aware)

Is there something specific that would make the query fail?

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: Tuesday, January 19, 2010 11:02 AM
To: Xerte discussion list
Subject: RE: [Xerte] [Toolkits] Edit.php Line 231 Error

USER-FILES/8--Nottingham/data.xml

Suggests your file path isn't working

It should be something like 

USER-FILES/8-<<username goes here>>-Nottingham/data.xml

So either the database doesn't have that data in, or the query to get
that data is failing

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Salem
Sent: 19 January 2010 10:45
To: Xerte discussion list
Subject: [Xerte] [Toolkits] Edit.php Line 231 Error

Hi guys,

Having a weird issue. Had Toolkits working on a shared host for a few
weeks now and it's been fine, come to it today and get this:

Warning: file_get_contents(USER-FILES/8--Nottingham/data.xml)
[function.file-get-contents]: failed to open stream: No such file or
directory in /home/adam/public_html/toolkits/edit.php on line 231

The only person who has access to the site is me and there have been no
other problems with the host.

Any advice on a resolution?

Many thanks
Adam Salem
-----------------------------------------------------------------------
This message is sent in confidence for the addressee only. It may
contain confidential or sensitive information. The contents are not to
be disclosed to anyone other than the addressee unless specific
authorisation has been given by the sender. Unauthorised recipients are
requested to preserve this confidentiality and to advise us of any
errors in transmission. Thank you.

Save paper, only print this email if really necessary and think green.
Please turn off PC's and lights when not in use.

Don't just standby, Switch Off!

Worcester College of Technology EcoCampus Group.
-----------------------------------------------------------------------
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
-----------------------------------------------------------------------
This message is sent in confidence for the addressee only. It may
contain confidential or sensitive information. The contents are not to
be disclosed to anyone other than the addressee unless specific
authorisation has been given by the sender. Unauthorised recipients are
requested to preserve this confidentiality and to advise us of any
errors in transmission. Thank you.

Save paper, only print this email if really necessary and think green.
Please turn off PC's and lights when not in use.

Don't just standby, Switch Off!

Worcester College of Technology EcoCampus Group.
-----------------------------------------------------------------------
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte


More information about the Xerte mailing list