[Xerte] Re: Function split() is deprecated

Pat Lockley patrick.lockley at googlemail.com
Wed Jun 27 13:16:32 BST 2012


Sorry - half php question.

I am at a conference so was going to try fixing.

Not sure what's best now - might be an upgrade to 1.7

On 27 Jun 2012, at 13:13, Simon Barne <simonbarne at gmail.com> wrote:

> Sorry, I don't understand the question.
> 
> 
> 
> On 27 June 2012 13:06, Pat Lockley <patrick.lockley at googlemail.com> wrote:
>> Ok, what files are include or require in play.php?
>> 
>> On 27 Jun 2012, at 13:03, Simon Barne <simonbarne at gmail.com> wrote:
>> 
>>> I'm afraid I've overwritten the old play.php, so I can't send it to you.
>>> 
>>> 
>>> On 27 June 2012 12:09, Pat Lockley <patrick.lockley at googlemail.com> wrote:
>>>> No, send me the old play.php and I will tell you what to change
>>>> 
>>>> On 27 Jun 2012, at 11:58, Simon Barne <simonbarne at gmail.com> wrote:
>>>> 
>>>>> Thanks, I've done that. Now it says:
>>>>> 
>>>>> Fatal error: Cannot redeclare check_host() (previously declared in
>>>>> /home/intouea8/public_html/xerte/play.php:22) in
>>>>> /home/intouea8/public_html/xerte/modules/xerte/play.php on line 43
>>>>> 
>>>>> Does this mean I will have to install version 1.7 in its entirety
>>>>> (something I have never managed to do successfully)?
>>>>> 
>>>>> 
>>>>> On 27 June 2012 11:41, Pat Lockley <patrick.lockley at googlemail.com> wrote:
>>>>>> Hello,
>>>>>> 
>>>>>> Old code - taken out over a year ago.
>>>>>> 
>>>>>> Download the zip and swap the file for the one in the zip.
>>>>>> 
>>>>>> Pat
>>>>>> 
>>>>>> On 27 Jun 2012, at 11:31, Simon Barne <simonbarne at gmail.com> wrote:
>>>>>> 
>>>>>>> Dear Xertists
>>>>>>> 
>>>>>>> I am getting this message above some of my templates:
>>>>>>> 
>>>>>>> Deprecated: Function split() is deprecated in
>>>>>>> /home/intouea8/public_html/xerte/modules/xerte/play.php on line 17
>>>>>>> 
>>>>>>> For example, here:
>>>>>>> http://intouea.com/learn/english/vocabulary/elementary-pre-intermediate/relatives/
>>>>>>> 
>>>>>>> The line in question is:
>>>>>>> 
>>>>>>> $dimension = split("~",get_template_screen_size($row_play['template_name'],$row_play['template_framework']));
>>>>>>> 
>>>>>>> Any ideas?
>>>>>>> 
>>>>>>> Many thanks,
>>>>>>> 
>>>>>>> Simon
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> Xerte mailing list
>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>>> 
>>>>>>> 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 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
>>>> 
>>>> _______________________________________________
>>>> 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
>> 
>> _______________________________________________
>> 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



More information about the Xerte mailing list