PHP Classes

Getting blank page

Recommend this page to a friend!

      PHP Obfuscate  >  All threads  >  Getting blank page  >  (Un) Subscribe thread alerts  
Subject:Getting blank page
Summary:blank page
Messages:2
Author:Terry Woody
Date:2015-04-23 20:48:41
 

  1. Getting blank page   Reply   Report abuse  
Picture of Terry Woody Terry Woody - 2015-04-23 20:48:41
Hi. Looks like a simple class that could come in useful.

Have installed and tested. After pressing "Obfuscate" button only get a blank page.

Had 500 error on obfuscator.php but after giving write permission gone. But still have blank page.

Any ideas?

Many thanks!

  2. Re: Getting blank page   Reply   Report abuse  
Picture of Rafael Espinosa Rafael Espinosa - 2015-04-24 12:17:54 - In reply to message 1 from Terry Woody
You must use composer.
Try composer dump-autoload. If you don't use composer replace

<< require_once(__DIR__ . DIRECTORY_SEPARATOR . "vendor/autoload.php");

>> require_once(__DIR__ . DIRECTORY_SEPARATOR . "src/Obfuscator/PhpObfuscator.php");

in obfuscator.php on line 5.

The class was updated yesterday, cause deprecated mhash function. I'm using hash instead.
On
<< mhash(MHASH_SHA256, md5(uniqid()))
>> hash('SHA256', md5(uniqid()))

Thanks to Marcio Amorim from http://www.cerebrum.com.br.

Any way check you apache logs entries.