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
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.
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
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.