[Xerte] Re: Function split() is deprecated

Simon Barne simonbarne at gmail.com
Wed Jun 27 14:51:16 BST 2012


Fatal error: Call to undefined function _debug() in
/home/intouea8/public_html/xerte/website_code/php/database_library.php
on line 110



On 27 June 2012 14:45, Pat Lockley <patrick.lockley at googlemail.com> wrote:
> rename your
>
> website_code/php/database_library.php
>
> and replace with the one in the zip
>
> On Wed, Jun 27, 2012 at 2:40 PM, Simon Barne <simonbarne at gmail.com> wrote:
>> Fatal error: Call to undefined function db_query_one() in
>> /home/intouea8/public_html/xerte/modules/xerte/play.php on line 59
>>
>>
>>
>> On 27 June 2012 14:35, Pat Lockley <patrick.lockley at googlemail.com> wrote:
>>> version 2
>>>
>>> On Wed, Jun 27, 2012 at 2:32 PM, Simon Barne <simonbarne at gmail.com> wrote:
>>>> I've tried it and get:
>>>>
>>>> Fatal error: Cannot redeclare get_ldap_array() (previously declared in
>>>> /home/intouea8/public_html/xerte/website_code/php/login_library.php:1)
>>>> in /home/intouea8/public_html/xerte/website_code/php/login_library.php
>>>> on line 119
>>>>
>>>>
>>>>
>>>> On 27 June 2012 14:27, Pat Lockley <patrick.lockley at googlemail.com> wrote:
>>>>> rename the old one, then rename this one and give it a try
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Jun 27, 2012 at 2:15 PM, Simon Barne <simonbarne at gmail.com> wrote:
>>>>>> OK, it's attached.
>>>>>>
>>>>>>
>>>>>> On 27 June 2012 14:09, Pat Lockley <patrick.lockley at googlemail.com> wrote:
>>>>>>> Ok, sorry - i was looking in the repo.
>>>>>>>
>>>>>>> Can you send your copy of play.php?
>>>>>>>
>>>>>>> On Wed, Jun 27, 2012 at 2:08 PM, Simon Barne <simonbarne at gmail.com> wrote:
>>>>>>>> That line isn't in the new play.php and I've overwritten the old one.
>>>>>>>>
>>>>>>>> The new play.php does include the line:
>>>>>>>>
>>>>>>>> require_once("config.php");
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 27 June 2012 13:56, Pat Lockley <patrick.lockley at googlemail.com> wrote:
>>>>>>>>> try changing the line
>>>>>>>>>
>>>>>>>>> require_once("module_functions.php");
>>>>>>>>>
>>>>>>>>> to
>>>>>>>>>
>>>>>>>>> //require_once("module_functions.php");
>>>>>>>>>
>>>>>>>>> On Wed, Jun 27, 2012 at 1:16 PM, Pat Lockley
>>>>>>>>> <patrick.lockley at googlemail.com> wrote:
>>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>> 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
>>>>>>
>>>>>> 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.
>>>>>>
>>>>>>
>>>>> 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
>>>>>
>>>>> 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
>>> 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
>>>
>>> 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
> 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.



More information about the Xerte mailing list