Hi Emma, Just be aware that this function is deprecated in 5.3 and DELETED from 6.0
Use Renjith's fix today, but get the site code fixed in the not too distant future so if your hosting upgrades again to 6.0 it doesn't break your uncle's application for this function (6.0 is such a big change that you'll find enough other breakages to keep you busy anyway). Bruce On 2 March 2010 15:32, Keri Henare <[email protected]> wrote: > Looks like your host might have upgraded PHP to 5.3. Go tell them off for > not warning you of such a substantial change. > > Kind regards, > Keri Henare > --------------------------------------------------- > [e] [email protected] > [w] kerihenare.com > [m] (+64) 021 874 552 > > PLEASE NOTE: I check my email 3 times per day and will respond at these > intervals. For anything urgent please ring me. > --------------------------------------------------- > > On 2/03/2010, at 2:11 PM, Emma Darling wrote: > >> Hi There, >> >> I have no php or developing experience. >> >> The website in question has all of a sudden become overwhelmed with a >> gazillion of these: >> >> Deprecated: Function ereg() is deprecated in /home/roger/public_html/ >> libraries/Trash.php on line 599 >> Deprecated: Function ereg() is deprecated in /home/roger/public_html/ >> libraries/TplParser.php on line 193 >> >> It is a very basic site for my uncles business and the lady who set-up >> and managed the site it is no longer available for help/support. >> >> I tried adding the following line to the top of your index.php file >> but it did not do anything: error_reporting(0); >> >> If you are able to help in any way, it would be Soooooooo much >> appreciated!!!!!! >> >> I have access to the control panel and the website is http://countryart.co.nz >> >> Cheers, Emma >> - a damsel in distress >> >> -- >> NZ PHP Users Group: http://groups.google.com/group/nzphpug >> To post, send email to [email protected] >> To unsubscribe, send email to >> [email protected] > > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to [email protected] > To unsubscribe, send email to > [email protected] > -- Bruce Clement Home: http://www.clement.co.nz/ Twitter: http://twitter.com/Bruce_Clement Google Buzz: http://www.google.com/profiles/aotearoanz "Before attempting to create something new, it is vital to have a good appreciation of everything that already exists in this field." Mikhail Kalashnikov -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
