PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
giantmidget
Hangin' Around


Joined: Nov 27, 2005
Posts: 44

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

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: 2499

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

Sounds like your host updated php without warning. There are several posted solutions in the forums here.
View user's profile Send private message
giantmidget
Hangin' Around


Joined: Nov 27, 2005
Posts: 44

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

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 to the forums!


I'm sure some one had a reason for the change, but it seems a bit silly to me.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

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

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.
View user's profile Send private message Visit poster's website
giantmidget
Hangin' Around


Joined: Nov 27, 2005
Posts: 44

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

$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.
View user's profile Send private message
Doulos
Life Cycles Becoming CPU Cycles


Joined: Jun 06, 2005
Posts: 545

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

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


Joined: Aug 26, 2007
Posts: 234

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

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


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

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

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.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum