November 4, 2009

weekly update

Tags: , , , ,
Filed under: ZenMagick — DerManoMann @ 10:41 pm

The last week I’ve digressed from my current work on refactoring the ZenMagick MVC code and looked (mostly) at two other things.

ZenMagick on PHP5.3

Support for PHP5.3 has been asked for a few times now and since I am keen to add some support for namespaces to the loader anyway, I decided to upgrade my dev. environment to PHP5.3.

There have been a number of isses in particular with Savant and OpenID. Luckily, those were easy enough to solve. There are plugins that I haven’t tested yet, though.

Zen cart is another issue altogether, although getting things to work weren’t as hard as expected. The most important thing to do is to disable deprecated warnings and rename zen cart’s date_diff() function to zen_date_diff().

A full ZenMagick release including zen cart

Again, this seems something that a lot of people would like to see, so I just had to look at that.

I am really thankful for the responses so far and it really looks like, again, rubikintegration comes to the rescue!

I’ve taken the fully patched version from rubikintegration and it seems to be fine. Looking at the comments it seems to work fine, so that is going to be my starting point.

Now, of course, there is overlap with the PHP5.3 issue. So what I did is take the fully patched version and apply the PHP5.3 fixes. I still need to test that a bit and make sure it still works on PHP5.2.x, though.

Once that is done I think I’ll create a separate repository for the plain zen-cart version. Perhaps that could be used by different people and I’d be happy to give Dave and Raine access to apply further patches should the need arise.
For that, I think I’ll set up a new project on github. In the long run I might move the ZenMagick sources there as well, but for now subversion is good enough (I think I’ve written about that before, but can’t remember where…)

Other

  • Added support for category meta tags (as per admin config)
  • Converted ZMCrumbtrail and ZMMetaTags to be toolbox tools
  • The toolbox code has changed a bit and is not a service any more but can be retrieved from $request via
    $request->getToolbox()

2 Comments

  1. FYI
    http://www.zen-cart.com/forum/showthread.php?p=802601#post802601

    Comment by Carlos Kosloff — November 5, 2009 @ 3:08 am

  2. Hmm, I also found a few more things. In particular the installer code doesn’t work due to mysql issues.
    Also, for some reasons the database was in strict mode (does PHP5.3 do that?), so some of the installer SQL wouldn’t load…

    Comment by DerManoMann — November 5, 2009 @ 3:42 am

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.