Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2004
    Location
    Finland
    Posts
    488
    Plugin Contributions
    3

    application error ZenCart and HHVM

    I have just succesfully installed ZenCart on HHVM. And it's blazing fast (after the first JIT run)

    There was quite alot of tweaking in the database connection and query system... Mostly stuff that was silenced with error supression operator @

    Anyone else played around with HHVM?

    I'm using HHVM 3.7.0 through nginx fastcgi.

    I'll play around with it a little and see what happens.
    Working with Zen Cart since 2003 :: www.prr.fi
    Author of the original Finnish language pack for Zen Cart since 2004

  2. #2
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: ZenCart and HHVM

    Nice :)

    Maybe you could share some more detail of the changes you needed to make and php/zc version you used.

    It's a while since I tried Zen Cart with HHVM. (I think it was HHVM version 3.3.1 and Ubuntu is on 3.7 now)

    Ian

    If I get a chance I'll throw up a Digital Ocean droplet with nginx/hhvm in the next week or so.

  3. #3
    Join Date
    Mar 2004
    Location
    Finland
    Posts
    488
    Plugin Contributions
    3

    Default Re: ZenCart and HHVM

    I'll post a patch next week if I have the time. :)

    Some of the stuff was in the database classes... where some functions returned true instead of a result object, and the true value was given as a parameter to some other functions that didn't accept it ... and most of the stuff was silenced with the @ operator, so had to remove all of them to see what was going on.

    Also there was one flush() call which was failing without any errors. Might be a hhvm php parity problem.
    Working with Zen Cart since 2003 :: www.prr.fi
    Author of the original Finnish language pack for Zen Cart since 2004

  4. #4
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: ZenCart and HHVM

    No problem.

    Was talking with Chris(DrByte) and he mentioned that Laravel Homestead will run v1.6.0 out of the box and also supports hhvm/nginx so might use that as a quick way of running stuff locally in a vm. Would be nice to get habitat to support that.

    Quote Originally Posted by pasi View Post
    I'll post a patch next week if I have the time. :)

    Some of the stuff was in the database classes... where some functions returned true instead of a result object, and the true value was given as a parameter to some other functions that didn't accept it ... and most of the stuff was silenced with the @ operator, so had to remove all of them to see what was going on.

    Also there was one flush() call which was failing without any errors. Might be a hhvm php parity problem.

  5. #5
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: ZenCart and HHVM

    Quote Originally Posted by wilt View Post
    No problem.

    Was talking with Chris(DrByte) and he mentioned that Laravel Homestead will run v1.6.0 out of the box and also supports hhvm/nginx so might use that as a quick way of running stuff locally in a vm. Would be nice to get habitat to support that.
    Hmm... very promising indeed. Seems like we are cooking on (natural) gas and not on LPG

  6. #6
    Join Date
    May 2014
    Posts
    1
    Plugin Contributions
    0

    Default Re: ZenCart and HHVM

    Hello, I started to move zencart 1.5.4 to hhvm and got immediately problems you described in the previous posts (now facing the query class returning boolean instead of a resultset).
    Could you give some hints how you solved that or the file patch if it's ready? (All of us are fully busy so I'm just asking )

    Thanks,
    Marco

    Quote Originally Posted by pasi View Post
    I'll post a patch next week if I have the time. :)

    Some of the stuff was in the database classes... where some functions returned true instead of a result object, and the true value was given as a parameter to some other functions that didn't accept it ... and most of the stuff was silenced with the @ operator, so had to remove all of them to see what was going on.

    Also there was one flush() call which was failing without any errors. Might be a hhvm php parity problem.

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

    Default Re: ZenCart and HHVM

    We're preparing a v1.5.5 release which currently seems to work fine with HHVM, at least under basic preliminary testing.
    .

    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.

 

 

Similar Threads

  1. SubDomains and Redirected Domain Names and ZenCart
    By AlyssaKay in forum General Questions
    Replies: 6
    Last Post: 16 Jul 2010, 11:52 AM
  2. my zencart and zencart /admin blank page
    By totomony in forum Installing on a Windows Server
    Replies: 1
    Last Post: 12 Dec 2009, 05:32 AM
  3. Joomla and Zencart
    By fredbo66 in forum General Questions
    Replies: 1
    Last Post: 3 Jun 2008, 02:38 PM
  4. Replies: 8
    Last Post: 26 Apr 2007, 05:14 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