[TYPO3] Warning: Wrong parameter count for substr() in /home/spds/public_html/typo3conf/ext/pp_stats/class.tx_ppstats_tsfehook.php on line 181

Jamie Clarke J.Clarke at sp-ds.co.uk
Thu Jun 7 11:36:59 CEST 2007


Hi
 
I am currently having problems with users being able to view my site
using the Safari browser. The below error message is generated:
 
Warning: Wrong parameter count for substr() in
/home/spds/public_html/typo3conf/ext/pp_stats/class.tx_ppstats_tsfehook.
php on line 181
 
The code from line 179 - 182 of class.tx_ppstats_tsfehook.php is below:
 
} elseif ($temp=stripos($data['user_agent'],'Safari')) {
    //Safari
    list(,$temp)=explode('/',substr($data['user_agent']));
    $data['user_agent_resolved']='Safari;'.$temp.';';
 
Can anyone please advise?

Kind Regards 
  
Jamie 
This E-mail and any file transmitted with it are for the exclusive and confidential use of the addressee.  Any other distribution, use or reproduction without our prior consent is unauthorised and strictly prohibited.  If you have received this message in error, please notify the sender immediately and delete the material from your computer. All copyright and other intellectual property rights lie with the sender.  This E-mail and any attachment must be checked by every recipient for viruses, trojans, worms and other harmful code, as to which the sender accepts no responsibility or liability.  Singlepoint has the right lawfully to record, monitor and inspect messages between its employees and any third party.  Your messages shall be subject to such lawful supervision as Singlepoint deems to be necessary in order to protect its information, its interests and its reputation.
 
Singlepoint Holdings Limited. 08702 517100


More information about the TYPO3-english mailing list