David

Deprecated function error

Vote 0 Votes

Site malfunction started several days ago. When attempting to open a comment form or archived post, one gets a series of error messages, most of which run:

Deprecated: Function ereg() is deprecated in /home/stylograph/domains/cronaca.com/public_html/blogport/php/mt.php

And then the line number.
Also a warning as follows:

Cannot modify header information - headers already sent by (output started at /home/stylograph/domains/cronaca.com/public_html/blogport/php/mt.php:203)

I've looked to see what old code I have that might have been deprecated, but haven't had any luck so far. Can anyone advise?

Many thanks

David

Reported on Movable Type 4.3

5 Replies

| Add a Reply
  • Hi David,

    You should upgrade your movable type installation, or at least update a few source files and replace the deprecated functions with their correspondent.

    This problem occurs when your server upgrades php for you to a newer version like say v5.3.

    Upgrading your installation to v4.37 would fix the issue.

    I am available for upgrading your installation if you need another pair of hands.

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/
    ----------------------------------

    Open Melody Demo
    http://www.openmelodydemo.org/

  • Thanks for the response.
    I had figured that a php upgrade set this all in motion. Unfortunately, I'm having a very hard time finding any specific information on deprecated functions in MT. Guess I'll have to dig into the default installation code on this.

    By the way, the installation had already been upgraded to 4.37

  • Whoops -- found the problem. Upgrade had appeared to be successful, but a whole bunch of php folder files hadn't gotten uploaded.

  • I know for sure that upgrading properly would fix that problem.

  • Mihai is correct that upgrading to Movable Type 4.37 or the most recent releases of MT 5.0x or 5.1x will solve the problem.

    This issue was actually resolved in Movable Type 4.35. See the Movable Type 5.04 and 4.35 Release Notes and the detailed analysis in FogBugz Case 103926 if you are interested in knowing more.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012