Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Deprecated function

    Maybe not a bug, but old code.
    I am doing a fresh install on a Linux box and get this:
    Deprecated: Function set_magic_quotes_runtime() is deprecated in /opt/lampp/htdocs/zencart/includes/application_top.php on line 18
    What should I do?
    Comment out that line?
    Thanks.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Deprecated function

    You're using PHP 5.3, which is not compatible with Zen Cart v1.3.8a and older.

    Until the next version of Zen Cart is released, you'll need to use a PHP version lower than 5.3.0
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Deprecated function

    Quote Originally Posted by DrByte View Post
    You're using PHP 5.3
    Thanks for clarification.
    Actually this is just my local XAMPP on Linux.
    My live server uses 5.2.9, so there should be no problems.
    I'll just leave everything as is, the fact that the function is deprecated should not be harmful.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Deprecated function

    There are several other incompatibilities beyond just that one message. Merely commenting out the one line is not sufficient.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,372
    Plugin Contributions
    4

    Default Re: Deprecated function

    Quote Originally Posted by DrByte View Post
    There are several other incompatibilities beyond just that one message...
    You are super-fast for bugs, congratulations.
    I'm not going to comment out anything, I haven't installed Zen Cart yet on that box, just got that warning at startup and was curious about it.
    It is just a test site so not really critical.

 

 

Similar Threads

  1. v137 Deprecated: Function ereg() is deprecated Error
    By esugrue in forum General Questions
    Replies: 6
    Last Post: 28 Mar 2012, 11:40 PM
  2. Deprecated: Function ereg() is deprecated
    By hsartcorp in forum General Questions
    Replies: 3
    Last Post: 19 Sep 2011, 08:08 PM
  3. Can't Login Any More: "Deprecated: Function ereg() is deprecated"
    By Slicer5489 in forum Basic Configuration
    Replies: 3
    Last Post: 21 May 2011, 11:16 PM
  4. Replies: 2
    Last Post: 3 Mar 2010, 12:53 PM
  5. Replies: 4
    Last Post: 16 Jan 2010, 02:11 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR