SnippetMaster Support Forums

General => Installation Issues => Topic started by: LXicon on June 17, 2014, 01:18:18 PM

Title: php 5.4 ioncube Illegal string offset 'snippetcount'
Post by: LXicon on June 17, 2014, 01:18:18 PM
i have been tasked to upgrade an apache/php server from php 5.2 to the current php. i tried php 5.5 but the zend optimizers required are not available for php 5.5 yet, so i've compiled php 5.4.

i've been having trouble getting your snippetmaster to work with the new server (we had one that worked with the old).

this is what i have:
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies

the zend version of snippetmaster gives this error:
PHP Fatal error:  Incompatible file format:  The encoded file has format major ID 1, whereas the Loader expects 5 in /data/www/perl/test/selfservice/index.php on line 0
which implies that the code has not been obfuscated for php 5.4

the ioncube version works but it throws a warning:
Warning: Illegal string offset 'snippetcount' in /xxxxxx/snippetmaster/includes/templates/main.html on line 0

how can i suppress this warning?

Title: php 5 4 ioncube Illegal string offset snippetcount
Post by: DanielOr on March 10, 2016, 02:30:53 PM

lass dir von deinem Hoster/Provider mal die Error-Logs zu diesem Vorfall zu schicken. Die Fehlermeldung sagt so nichts aus.

Eri-HH: Geht PHP 5.5 problemlos?