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.

Deprecated: Function ereg() PHP 5.30

October 24, 2009 12:05pm

Subscribe [3]
  • #1 / Oct 24, 2009 12:05pm

    ColinD

    7 posts

    Hi guys,

    Just built a collection of new vms for my sites. They are all now running php 5.30 fpm-php under nginx.

    The problem is, the deprec warning is causing a white page. Current issue is line 117 in index.

    Deprecated: Function ereg() is deprecated in /mnt<snip>

    Any ideas my php fu is weak.

    Given the large number of ereg’s in the codebase I’ve taken to suppression.

    I’ve updated the error_reporting options from (0) to (E_ALL ^ E_DEPRECATED); in order to find out why I still have a white page.

    The domain does serve php as does other app’s on the nodes.

  • #2 / Oct 24, 2009 4:02pm

    Lisa Wess

    20502 posts

    What version and build of EE are yo on, ColinD?

  • #3 / Oct 26, 2009 2:50pm

    ColinD

    7 posts

    Lisa,

    Hi it’s version 1.6.7 Build is 20090320.

    I’ll take any updates/suggestions as otherwise I’m looking at some weird configuration of trying to keep it on one node of 5.2.8php.

  • #4 / Oct 26, 2009 2:55pm

    Lisa Wess

    20502 posts

    You’ll need to update to the latest version and build, Colin.

  • #5 / Oct 26, 2009 3:57pm

    ColinD

    7 posts

    Excellent, Any db changes that might effect one node running a newer version?

    If it works I’ll update the live nodes too.

    I also have the forums module installed aswell…

  • #6 / Oct 26, 2009 4:03pm

    Ingmar

    29245 posts

    No, there were no db changes from 1.6.7 -> 1.6.8.

  • #7 / Oct 26, 2009 5:27pm

    ColinD

    7 posts

    Thanks folks, got the forum module too. Can confirm it’s now running on 5.3.0 php-fpm.

    Got some fun now making it work over the NFS as the theme’s paths are ever so slighty different between the new node and old node… but that’s what ln -s is for 😉

    Well it all works except the wiki theme has reverted to a default one… dust off the doco after some grub.

  • #8 / Oct 26, 2009 5:34pm

    Ingmar

    29245 posts

    So, just to confirm, you’re good now?

  • #9 / Oct 26, 2009 7:51pm

    ColinD

    7 posts

    Yep.

    Just the wiki theme has reverted to a default. Will sort it in a few days once the DNS has caught up and it’s fully served of the new nodes.

    Thanks for the input and advice.

  • #10 / Oct 26, 2009 7:57pm

    Adam Dorsey

    1439 posts

    Glad to hear you got things working.

    Please feel free to post in the future, should you run into anymore issues.

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

ExpressionEngine News!

#eecms, #events, #releases