Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2014
    Location
    Florida USA
    Posts
    4
    Plugin Contributions
    0

    Default My ZenCart not compatible on dreamhost php 5.4

    We have just upgraded our Zen Cart store to vs 1.5.3 because dreamhost is updating to php 5.4.
    The store was working fine in 1.5.3, but when dreamhost got changed to php 5.4 + CGI, our store was no longer visible. Just a blank screen.

    When trying to access our Zen Cart store, we got this message:

    Deprecated: Function ereg() is deprecated in /home/deltasoft/targetvet.com/store/includes/classes/db/mysql/query_factory.php on line 177

    What can we do to correct this?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: ZenCart not compatible on dreamhost php 5.4

    There are no ereg in Zen Cart v1.5.3 ...

    Are you sure you have updated all files and template files to Zen Cart v1.5.3 on your server?

    Are you able to get into your Admin at all?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Nov 2014
    Location
    Florida USA
    Posts
    4
    Plugin Contributions
    0

    Default Re: ZenCart not compatible on dreamhost php 5.4

    No, I am not able to get into Admin at all. Just a full page of "Deprecated: Function ereg() is deprecated in /home/deltasoft/targetvet.com/store/includes/classes/db/mysql/query_factory.php on line 177"

    over and over down the screen.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: ZenCart not compatible on dreamhost php 5.4

    Perhaps getting something like Beyond Compare from scootersoftware.com this has the ability to compare your local files with the files on your server and is helpful in finding files that are incorrect ...

    It is handy also in comparing things like a clean version of Zen Cart with your current files either on your computer or on your server to see if perhaps you missed some updates or files did not load correctly to your server etc.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: ZenCart not compatible on dreamhost php 5.4

    Quote Originally Posted by deltasoft View Post
    Deprecated: Function ereg() is deprecated in /home/deltasoft/targetvet.com/store/includes/classes/db/mysql/query_factory.php on line 177

    What can we do to correct this?
    All the ereg functions in query_factory.php were removed many versions ago. Yours is definitely not from ZC v1.5.3. So that tells me you've uploaded PHP files for an older version of Zen Cart. The solution would be to install the current version, instead of the older files.
    .

    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.

  6. #6
    Join Date
    Nov 2014
    Location
    Florida USA
    Posts
    4
    Plugin Contributions
    0

    Default Re: ZenCart not compatible on dreamhost php 5.4

    You are right. After comparing the Zen Cart query_factory.php file that was in Zen Cart 1.5.3 folder and the ones on my website, I found that the file was from the original install of 1.3.8a.

    Not sure why the files didn't get copied from Zen Cart to my website directory, but I did upload the whole folder to perform the upgrade. I chose upgrade database and when it was finished, there were a few steps that had not be executed. Could that have been why the files weren't copied?

    If I had chosen Install instead of Upgrade Database, it warned that my database would be wiped out.

    I will upload the new files directly via ftp to the website. Will let you know if it works.

    Thank you for helping.!!

  7. #7
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: ZenCart not compatible on dreamhost php 5.4

    Quote Originally Posted by deltasoft View Post
    ... I did upload the whole folder to perform the upgrade. ...
    Would strongly recommend rebuilding the site when upgrading from Zen Cart 1.3.8a to Zen Cart 1.5.3 (if you have not already followed this process).

    NOTE: When uploading the new version (ZenCart 1.5.3), don't forget to remove any obsolete files present from previous Zen Cart version(s).
    Last edited by lhungil; 5 Nov 2014 at 08:45 PM.

  8. #8
    Join Date
    Nov 2014
    Location
    Florida USA
    Posts
    4
    Plugin Contributions
    0

    Default Re: My ZenCart not compatible on dreamhost php 5.4

    How do I "rebuild" the website.? Won't it wipe out my database?

    My admin area says the website is Database Patch Level 1.5.3

 

 

Similar Threads

  1. Zencart 1.3.7 compatible with PHP 5?
    By BEatMaKeR in forum General Questions
    Replies: 3
    Last Post: 17 Jul 2010, 04:25 AM
  2. dreamhost won't allow paypal.php file on server
    By Otha in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 10 May 2010, 11:05 PM
  3. Zencart slow on Dreamhost?
    By polarduality in forum General Questions
    Replies: 71
    Last Post: 5 Aug 2009, 12:33 AM
  4. Stopped before I could start, index.php not found - Dreamhost Problem
    By Jeffey in forum Installing on a Linux/Unix Server
    Replies: 18
    Last Post: 28 Aug 2006, 08:43 AM

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