| Author |
Message |
giantmidget Hangin' Around

Joined: Nov 27, 2005 Posts: 44
|
Posted:
Sat May 08, 2010 6:57 am |
|
Overnight I log on to my site (running RN 2.20 I think, not sure how to find out) and see this all over various modules:
Deprecated: Function ereg_replace() is deprecated ....
Do I need to change out some code? It is everywhere.
What locations? Modules? actual Nuke files?
Even my Google block has an error. |
|
|
|
 |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Sat May 08, 2010 7:58 am |
|
Sounds like your host updated php without warning. There are several posted solutions in the forums here. |
|
|
|
 |
giantmidget Hangin' Around

Joined: Nov 27, 2005 Posts: 44
|
Posted:
Sat May 08, 2010 8:00 am |
|
I just updated all files I know generated the error.
This site had some good info I used:
I'm sure some one had a reason for the change, but it seems a bit silly to me. |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Sun May 09, 2010 9:52 am |
|
giantmidget, by the way, you should never run a publicly accessible site with $display_errors = true. That should ALWAYS be "false" on a production site as also mentioned in the installation docs. |
|
|
|
 |
giantmidget Hangin' Around

Joined: Nov 27, 2005 Posts: 44
|
Posted:
Sun May 09, 2010 6:29 pm |
|
$display_errors = FALSE; //This should only be used (set to TRUE) when testing locally and not in a production environment
That was my config file, yet it still displayed the errors. |
|
|
|
 |
Doulos Life Cycles Becoming CPU Cycles

Joined: Jun 06, 2005 Posts: 545
|
Posted:
Sun May 09, 2010 8:04 pm |
|
|
|
 |
slackervaara Worker


Joined: Aug 26, 2007 Posts: 234
|
Posted:
Sun May 09, 2010 11:30 pm |
|
In this forum it has also been suggestions:
|
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 9136 Location: Arizona
|
Posted:
Tue May 11, 2010 7:19 am |
|
But, PHP should NOT be displaying these errors on the page if display errors is false. Very odd. I would expect them only in your PHP error log files. |
|
|
|
 |
|
|
|
|