Jump to:

23355 Posts in 17702 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » SilverStripe Modules encrypted with Zend Guard

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1801 Views
  • UndefinedOffset
    Avatar
    Community Member
    27 Posts

    SilverStripe Modules encrypted with Zend Guard Link to this post

    I'm working on a project that I/the company would like to protect with Zend Guard, however I am reciving a ton of warnings in the Zend Guard protected version. Anyone know of away to fix this or a way around it?

    Ex: Notice: Undefined index: Level in /home/project/public_html/sapphire/core/ClassInfo.php on line 157

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: SilverStripe Modules encrypted with Zend Guard Link to this post

    Where is the Zend Guard? Its a bit strange that Zend Guard is mucking up the ClassInfo. You could try just wrapping an isset() round the code (ClassInfo:157) which will supress the errors but you might get some funny behaviour since something is calling 'Level' perhaps thats a Zend thing that ClassInfo does not include.

  • UndefinedOffset
    Avatar
    Community Member
    27 Posts

    Re: SilverStripe Modules encrypted with Zend Guard Link to this post

    Level is actually a DataObject in the module I'm trying to use Zend Guard on, I've got the sinking feeling that Zend Guard is changing the classnames because the manifest does have Level.php listed under the Class manifest. I'm really at a loss and the company would like to encrypt this module using Zend Guard or something very similiar.

    I also get allot of these errors when using ?flush=1, they could be because of the upload transfer method maybe

    Warning: Unexpected character in input: '' (ASCII=4) state=1 in /home/project/public_html/sapphire/core/ManifestBuilder.php on line 391

    Warning: Unexpected character in input: '' (ASCII=28) state=1 in /home/project/public_html/sapphire/core/ManifestBuilder.php on line 391

    Warning: Unexpected character in input: '' (ASCII=6) state=1 in /home/project/public_html/sapphire/core/ManifestBuilder.php on line 391

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: SilverStripe Modules encrypted with Zend Guard Link to this post

    Yeah, I've tried Zend Guard as well ; did not succeed.

    I've spun off a more generic thread regarding encryption.

    http://www.silverstripe.org/general-questions/show/266546?

  • UndefinedOffset
    Avatar
    Community Member
    27 Posts

    Re: SilverStripe Modules encrypted with Zend Guard Link to this post

    It seems to me that manifest builder is reading the files looking for classes. In which case it would make sense that silverstripe cannot read the files. They are encryped and binary. Can someone confirm this, or does anyone know of away to have a module encrypted.

    1801 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.