Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2010
    Posts
    6
    Plugin Contributions
    0

    Default Function ereg() is deprecated - v1.3.8a

    Hi!
    I have tried to install zen-cart-v1.3.8a-full-files-12112007 on my website running php v 5.3 This was no sukse.

    The shop was a blank page while admin folder contained many errors until the Skomer the following errors:


    Code:
    Deprecated: Function ereg() is deprecated in /customers/modart.no/modart.no/httpd.www/catalog/includes/classes/db/mysql/query_factory.php on line 177
    
    
    
    Deprecated: Function ereg() is deprecated in /customers/modart.no/modart.no/httpd.www/catalog/includes/classes/db/mysql/query_factory.php on line 412
    
    Fatal error: Cannot redeclare date_diff() in /customers/modart.no/modart.no/httpd.www/catalog/admin/includes/functions/general.php on line 3001
    Hope you can help me

    link netstore:
    http://catalog.modart.no/index.php
    link netstor admin:
    http://catalog.modart.no/admin/index.php

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: I have tried to install zen-cart-v1.3.8a-

    Zen Cart does not work properly with PHP 5.3, until you install the patch for this. See PHP 5.3 Support.



    Important moderator note:
    UPDATE: IF YOU ARE READING THIS, THEN YOU NEED TO UPGRADE TO A NEWER VERSION OF ZEN CART!!!!!!!

    Merely applying the patch is ONLY a temporary bandage, and does not properly secure your site.
    And will not protect you for PHP 5.4 if you wait that long.
    So UPGRADE NOW!

  3. #3
    Join Date
    Feb 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Function ereg() is deprecated - v1.3.8a

    Hello everyone
    Thank you for your help so far!
    Have install the update and then admin works properly, but the store is still a blank page.

    If anyone has any suggestion to know what to do, I am more than grateful for the help.
    Last edited by magneod; 4 Feb 2010 at 12:26 PM.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Function ereg() is deprecated - v1.3.8a

    To locate the cause of the problem, follow the advice in this FAQ entry.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Feb 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Function ereg() is deprecated - v1.3.8a

    Thanks for your help
    here is the list of PHP errors that occurred from the error log
    I do not know what to do with them

    More good suggestions are welcome

    [04-Feb-2010 11:43:09] PHP Deprecated: Function ereg() is deprecated in /customers/modart.no/modart.no/httpd.www/catalog/includes/classes/db/mysql/query_factory.php on line 139
    [04-Feb-2010 11:43:09] PHP Deprecated: Function ereg() is deprecated in /customers/modart.no/modart.no/httpd.www/catalog/includes/classes/db/mysql/query_factory.php on line 150
    [04-Feb-2010 11:43:09] PHP Deprecated: Function ereg() is deprecated deprecated in /customers/modart.no/modart.no/httpd.www/catalog/includes/classes/db/mysql/query_factory.php on line 177
    [04-Feb-2010 11:43:09] PHP Deprecated: Function ereg() is deprecated deprecated in /customers/modart.no/modart.no/httpd.www/catalog/includes/classes/db/mysql/query_factory.php on line 412

    [04-Feb-2010 11:43:09] PHP Fatal error: Cannot redeclare date_diff() in /customers/modart.no/modart.no/httpd.www/catalog/includes/functions/functions_general.php on line 1476

  6. #6
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Function ereg() is deprecated - v1.3.8a

    If you are still getting those messages after applying the PHP 5.3 patch, then you didn't apply all the files in the patch to the correct locations.
    .

    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.

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Function ereg() is deprecated - v1.3.8a

    @magneod

    If that's from your includes/application_top.php file, it could be your problem. That comes from the file that should be in your zc_install/includes folder.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Function ereg() is deprecated
    By GeneLee in forum General Questions
    Replies: 6
    Last Post: 31 Aug 2012, 06:56 AM
  2. v137 Deprecated: Function ereg() is deprecated Error
    By esugrue in forum General Questions
    Replies: 6
    Last Post: 28 Mar 2012, 11:40 PM
  3. Deprecated: Function ereg() is deprecated
    By hsartcorp in forum General Questions
    Replies: 3
    Last Post: 19 Sep 2011, 08:08 PM
  4. 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
  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