Re: [PHP] Have little enough hair as it is ...

2012-03-12 Thread Lester Caine
Jim Lucas wrote: Right here you are creating two strings within an array within an array. My guess is you will want to replace the $secondsGap[] with $secondsGap > $secondsGap[] = array($gap[0] * 60, $gap[1] * 60); $secondsGap[] is right ... it's building an array of results ... problem tur

Re: [PHP] Have little enough hair as it is ...

2012-03-12 Thread Jim Lucas
On 03/12/2012 06:38 AM, Lester Caine wrote: Simon Schick wrote: I suggest that all done with this variable before is not of interest ... Assuming this, I'd say the following: Right here you are creating two strings within an array within an array. My guess is you will want to replace the $s

Re: [PHP] Have little enough hair as it is ...

2012-03-12 Thread Lester Caine
Simon Schick wrote: I suggest that all done with this variable before is not of interest ... Assuming this, I'd say the following: > $secondsGap[] = array($gap[0] * 60, $gap[1] * 60); Implicit initializing of an array that has the following structure: array( array(int, int) ); OK $gap comes

Re: [PHP] Have little enough hair as it is ...

2012-03-12 Thread Simon Schick
2012/3/12 Lester Caine : > More irritating is > 'Notice: Array to string conversion' which are coming up all over the place. > I can understand what the problem is ... but trying to remove the notices is > more challenging ... > > $secondsGap[] = array($gap[0] * 60, $gap[1] * 60); > if( isset($seco

Re: [PHP] Have little enough hair as it is ...

2012-03-11 Thread Lester Caine
Matijn Woudt wrote: > Things that I found you can try: > * Replace the index.php ... Some people reported that this error was > caused by an endless-loop in their php-script I have experienced a segfault once with mod_rewrite and some endless loop in a .htaccess file. So you might want to che

Re: [PHP] Have little enough hair as it is ...

2012-03-11 Thread Matijn Woudt
On Mon, Mar 12, 2012 at 12:11 AM, Simon Schick wrote: > 2012/3/11 Lester Caine : >> ( Been down London over night ;) ) ... and was not awake enough to change >> email address ... >> >> >>> http://piwik.medw.org.uk/phpinfo.php has http://piwik.medw.org.uk/ working >>> fine... >>> >>> http://piwik.r

Re: [PHP] Have little enough hair as it is ...

2012-03-11 Thread Simon Schick
2012/3/11 Lester Caine : > ( Been down London over night ;) ) ... and was not awake enough to change > email address ... > > >> http://piwik.medw.org.uk/phpinfo.php has http://piwik.medw.org.uk/ working >> fine... >> >> http://piwik.rainbowdigitalmedia.org.uk/phpinfo.php is just giving seg >> fault

Re: [PHP] Have little enough hair as it is ...

2012-03-11 Thread Lester Caine
( Been down London over night ;) ) ... and was not awake enough to change email address ... http://piwik.medw.org.uk/phpinfo.php has http://piwik.medw.org.uk/ working fine... http://piwik.rainbowdigitalmedia.org.uk/phpinfo.php is just giving seg faults on http://piwik.rainbowdigitalmedia.org.u

Re: [PHP] Have little enough hair as it is ...

2012-03-10 Thread Simon Schick
Hi, Lester Can you give us some more information? How is php called in your apache-configuration? (f)cgi, module or somehow else? You said that the configuration should be the same ... can you double-check that? Reload the services etc ... What about the logs? There must be more info in there ..

[PHP] Have little enough hair as it is ...

2012-03-10 Thread Lester Caine
OK this has got to be some configuration problem! I've two machines running fine Apache 2.2.15/PHP5.3.8 and two not with what should be identical Apache/PHP setups. All SUSE machines but 11.3, 11.4 and 12.1 with 11.3 and 11.4 machine running fine ... http://piwik.medw.org.uk/phpinfo.php has http: