Jump to content


- - - - -

RESOLVED: IP.Board 2.3.6 and PHP 5.3


  • Please log in to reply
5 replies to this topic

#1 karl666

karl666

    Novice

  • Members
  • PipPip
  • 12 posts
  • IPB Version:v2.3.x

Posted 26 November 2011 - 10:20 PM

Hello,

I've been running IP.Board 2.3.6 for around 2 years now and since they stopped giving support for it and PHP 5.3.x has been released I'm now getting an error in error_log a few times a day and it's becoming a nuisance. Before anyone asks, I'm not upgrading to 3.x because my visitors like 2.3.6 and I personally hate 3.x.

I was speaking to someone over at InvisionPower and they said the error could have been caused because I'm running PHP 5.3.8, which could be true, as I never had these errors before moving from PHP 5.2.

But I do want to get to the bottom of it and find out what's really causing the issue so that I can resolve it.

[26-Nov-2011 13:56:01] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[26-Nov-2011 13:56:08] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[26-Nov-2011 13:56:16] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[26-Nov-2011 13:56:16] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[26-Nov-2011 13:56:17] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[26-Nov-2011 13:56:17] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[26-Nov-2011 17:25:14] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[26-Nov-2011 20:19:41] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[26-Nov-2011 23:14:13] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[27-Nov-2011 00:22:52] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[27-Nov-2011 00:59:56] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[27-Nov-2011 01:13:53] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96
[27-Nov-2011 01:16:33] PHP Fatal error:  Call to a member function endTimer() on a non-object in /home/public_html/forums/sources/classes/class_display.php on line 96

That's the error I'm getting, this is on line 96:

		$this->ex_time  = sprintf( "%.4f",$Debug->endTimer() ); 

The problem is that in init.php the function endTimer exists, so I know it's got nothing to do with that. Plus it's not effecting the functionality of the boards since it's part of the Debug, I just want to find out what's causing it.

Hopefully someone with a bit more knowledge will be able to help me.

#2 karl666

karl666

    Novice

  • Members
  • PipPip
  • 12 posts
  • IPB Version:v2.3.x

Posted 28 November 2011 - 02:45 PM

Resolved, it would appear IP.Board 2.3.6 isn't compatible with PHP 5.3.x

#3 riven3d

riven3d

    Needs to get out more

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 3,908 posts
  • Location:Florida
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 29 November 2011 - 04:00 AM

The issue this topic was opened for has now been resolved. :)

Did you find my support helpful? Feel free to donate!
Posted Image


#4 Sandi

Sandi

    Coder

  • IM Supporters
  • PipPipPipPipPipPipPip
  • 812 posts
  • Location:Janesville, Wisconsin
  • Real Name:Sandra
  • IPB Version:v3.2.x
Contributor

Posted 29 November 2011 - 02:37 PM

I think 2.3.x will run fine on PHP 5.3, however you cannot do an "install" of 2.3.x on 5.3.

My IP.Board v2.3.6 games forum still runs well on PHP Version 5.3.6 with no problems at all.

Posted Image


#5 AndyF

AndyF

    Cogito ergo sum

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 8,414 posts
  • Location:Derby, UK
  • Real Name:Andy
  • IPB Version:v3.2.x
Contributor

Posted 29 November 2011 - 03:19 PM

View PostSandi, on 29 November 2011 - 02:37 PM, said:

I think 2.3.x will run fine on PHP 5.3, however you cannot do an "install" of 2.3.x on 5.3.

My IP.Board v2.3.6 games forum still runs well on PHP Version 5.3.6 with no problems at all.
Yes that's about it. I recall it would not install on 5.3 without major complaint although if it was already present it would run reasonably well.

View my tutorials

Please do NOT pm me with support related questions unless requested.
If you are in need of help or assistance, please post on the forum in the appropriate section!



A Look Back - 1.0.1 - 1.3.1 - 2.0.0 - 2.1.7 - 2.2.0 - 2.3.6

#6 karl666

karl666

    Novice

  • Members
  • PipPip
  • 12 posts
  • IPB Version:v2.3.x

Posted 29 November 2011 - 04:32 PM

Well my boards have been installed and running fine for 2 years. As soon as I installed PHP 5.3.8, I was given a lot of errors. Reverting back to 5.2 solved everything.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users