Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: Deprecated: Function ereg_replace() is deprecated

  1. #1
    Join Date
    Sep 2009
    Posts
    2

    Default Deprecated: Function ereg_replace() is deprecated

    Hi
    I have yhis error
    Deprecated: Function ereg_replace() is deprecated in C:\EasyPHP5.3.0\www\miami4us\include\misc.inc.php on line 144

    thanks for your help
    Breyt

  2. #2
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann the_sandking is on a distinguished road
    Join Date
    Apr 2003
    Location
    Nullspace
    Posts
    5,289

    Default Re: Deprecated: Function ereg_replace() is deprecated

    You are running a bleeding edge version of PHP (v5.3) which OR is not compatible with yet.
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519


    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:
    -OR DOCUMENTATION -

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

  3. #3
    Join Date
    Sep 2009
    Posts
    2

    Default Re: Deprecated: Function ereg_replace() is deprecated

    MODERATED - core file changes cannot be posted outside of the Sandbox forum.

  4. #4
    Join Date
    Sep 2008
    Posts
    94

    Default Re: Deprecated: Function ereg_replace() is deprecated

    Hi. I got the same error.

    I installed everything using XAMPP which has its own PHP version. What is the workaround? Does anyone here know? - i.e. with XAMPP? How do I change the PHP version?


    Thanks,
    Houba?

  5. #5
    Join Date
    May 2004
    Location
    Long Island, NY
    Age
    43
    Posts
    9,796

    Default Re: Deprecated: Function ereg_replace() is deprecated

    Quote Originally Posted by houba View Post
    Hi. I got the same error.

    I installed everything using XAMPP which has its own PHP version. What is the workaround? Does anyone here know? - i.e. with XAMPP? How do I change the PHP version?


    Thanks,
    Houba?
    The work around for OR would require core file changes which can only be posted in the sandbox forum.

    You can get an older version of XAMPP. I believe 1.7.1 uses PHP 5.2.X and it's available at sourceforge.

  6. #6
    Join Date
    Sep 2008
    Posts
    94

    Default Re: Deprecated: Function ereg_replace() is deprecated

    Thanks! I will try that.

  7. #7
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann the_sandking is on a distinguished road
    Join Date
    Apr 2003
    Location
    Nullspace
    Posts
    5,289

    Default Re: Deprecated: Function ereg_replace() is deprecated

    Quote Originally Posted by pbflash View Post

    You can get an older version of XAMPP. I believe 1.7.1 uses PHP 5.2.X and it's available at sourceforge.
    ^This. You can run more than one version of XAMPP just not at the same time.
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519


    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:
    -OR DOCUMENTATION -

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

  8. #8
    Join Date
    Oct 2009
    Posts
    1

    Smile Re: Deprecated: Function ereg_replace() is deprecated

    Quote Originally Posted by breyt View Post
    Hi
    I have yhis error
    Deprecated: Function ereg_replace() is deprecated in C:\EasyPHP5.3.0\www\miami4us\include\misc.inc.php on line 144

    thanks for your help
    Breyt
    Hi,

    Just follow following steps -

    [1] Please open the file misc.inc.php
    [2] Go to the line 144
    [3] You will find code -
    $output = ereg_replace (";", "", $output);

    [4] Change the code to -
    $output = preg_replace ("( ; )", "", $output);

    [5] Save and close the file

    Error is fixed.


    Please feel free to get back to me.

    -- Pradeep Somani

  9. #9
    Join Date
    Sep 2008
    Posts
    94

    Default Re: Deprecated: Function ereg_replace() is deprecated

    Hi,

    This is probably a good fix for solution 2.5.7, but we get the same but different error for 2.5.8.

    Deprecated: Function eregi() is deprecated in C:\xampp\xampp\htdocs\cndp\include\misc.inc.php on line 376

    Perhaps its best if I stick with 1.7.1 XAMPP?

    Unless you also have a fix for this?

    Thanks

  10. #10
    Join Date
    Jun 2004
    Posts
    1,067

    Default Re: Deprecated: Function ereg_replace() is deprecated

    Open-Realty does not support PHP 5.3 at this time. For the next 2.6.0 release we will be adding support for 5.3 in the meantime you should stick with PHP 5.2.x

Similar Threads

  1. RSS function
    By opalweb in forum General Help (CLOSED)
    Replies: 1
    Last Post: 06-11-2007, 04:18 AM
  2. Replies: 5
    Last Post: 09-24-2006, 04:38 PM
  3. how do we use the mls function in or2.2
    By easyweb in forum General Help (CLOSED)
    Replies: 1
    Last Post: 04-10-2006, 11:26 AM
  4. GetPrice function - pls help
    By iceman in forum HELP (CLOSED)
    Replies: 2
    Last Post: 03-11-2004, 07:32 AM
  5. Newsletter function
    By branflake2267 in forum Feature Request (CLOSED)
    Replies: 2
    Last Post: 09-20-2003, 03:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts