#141 Problem with php 5.3 changes (SOLUTIONS)

open
nobody
None
5
2011-02-05
2011-02-05
No

I installed the ipplan on a Fedora 14, that use the 5.3.5 version of php,
This version of php have some changes, that generate some warnings:

Unknown error type: [8192] Function set_magic_quotes_runtime() is deprecated Line: 58 File: /usr/share/ipplan/ipplanlib.php
Unknown error type: [8192] Function eregi_replace() is deprecated Line: 468 File: /usr/share/ipplan/ipplanlib.php
Unknown error type: [8192] Function ereg_replace() is deprecated Line: 488 File: /usr/share/php/php-layers-menu/lib/layersmenu-common.inc.php

I resolved the problem with those two patch attacched

Discussion

  • Dien F

    Dien F - 2011-02-08

    what to do with these patches??
    sorry for the dumb question... :)

     
  • Kelly Hamlin

    Kelly Hamlin - 2011-06-22

    I was coming to report/submit the same thing. Hacked around with it yesterday and my changes are similar to yours, except i didnt add any backward compatibility like yours.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks