Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes
Author Message
giantmidget
Regular
Regular



Joined: Nov 27, 2005
Posts: 58

PostPosted: Sat May 08, 2010 6:57 am Reply with quote

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.
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Sat May 08, 2010 7:58 am Reply with quote

Sounds like your host updated php without warning. There are several posted solutions in the forums here.

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
giantmidget







PostPosted: Sat May 08, 2010 8:00 am Reply with quote

I just updated all files I know generated the error.

This site had some good info I used: [ Only registered users can see links on this board! Get registered or login! ]

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: 9457
Location: Arizona

PostPosted: Sun May 09, 2010 9:52 am Reply with quote

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.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
giantmidget







PostPosted: Sun May 09, 2010 6:29 pm Reply with quote

$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: 732

PostPosted: Sun May 09, 2010 8:04 pm Reply with quote

[ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
slackervaara
Worker
Worker



Joined: Aug 26, 2007
Posts: 236

PostPosted: Sun May 09, 2010 11:30 pm Reply with quote

In this forum it has also been suggestions: [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
montego







PostPosted: Tue May 11, 2010 7:19 am Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Bug Fixes

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©