ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

hosting provider upgraded to PHP 5.3 - forced me to update EE to latest build. still getting errors.

July 20, 2012 3:38pm

Subscribe [1]
  • #1 / Jul 20, 2012 3:38pm

    Ryan 2010

    265 posts

    I upgraded from 1.5.2 to 1.7.3 for my site after my hosting provider upgraded to PHP 5.3.

    I followed the instructions in the EE user guide on updating.  I’m still getting this error at the top of all my template pages

    Deprecated: Function ereg() is deprecated in /.../.././.etc../html/index.php on line 120

    the only code I have on my test template is:

    {exp:weblog:entries category="38"  limit="1" }
    
    <h3><a href="http://{url_title_path=news/article}">{title}</a> </h3>
    
    <p>{/exp:weblog:entries}

    The error does not appear in the cpanel

    UPDATE:

    I’m also getting this error when trying to make a post with the SAEF

    Warning: Cannot modify header information - headers already sent by (output started at /////html/index.php:120) in /////html/system/core/core.functions.php on line 334

    Please help.

    Thanks.

  • #2 / Jul 21, 2012 7:41pm

    Ryan 2010

    265 posts

    I checked my .htaccess file and it says

    AddHandler php4-script .php


    Should I change this?  When I remove that line of code completely, I still get the erg error.

    Could plugins, extensions or modules be the issue?

  • #3 / Jul 23, 2012 12:00pm

    Kevin Smith

    4784 posts

    Hi Ryan,

    If you’ve fully updated to EE 1.7.3 and your host is on PHP 5.3, you shouldn’t be getting that error. Did you make sure to update your main index.php file as well?

    Could you check with your host to see if you account is fully set up to use PHP 5.3? I don’t believe that line in your .htaccess file should actually be there.

  • #4 / Jul 23, 2012 12:08pm

    Ryan 2010

    265 posts

    Hi Kevin,

    The problem is now fixed - thanks.  I uploaded the new index.php template from 1.7.3 It didn’t say to do that in the upgrade instructions so I didn’t think I had to.

    Ryan

  • #5 / Jul 23, 2012 6:52pm

    Kevin Smith

    4784 posts

    Glad you were able to get it resolved, Ryan!

    Have a good one.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases