Tag Archives: php

SocialEngine 4: Session.hash_function Fault

In Apple’s implementation of Apache/PHP, session.hash_function is set to sha512, which generates a 128-character hash. The DB table truncates at 32 (because SE4 is expecting md5 no sha512). This triggers …

Tags: , , , , , , , , | Posted under SocialEngine | Leave a comment

Fatal Error Cannot Redeclare Function II

In the previous article, we saw how to prevent an error like this one by wrapping the function in an if (! function_exists() statement. [code language=”html”] Fatal error: Cannot redeclare …

Tags: , , , , | Posted under MODX, MODX | Leave a comment

PHP Kint Debugger

Recently I was creating a PHP class to help extract fragments of malformed HTML documents. This small project is a work in progress and while using PHPStorm I wanted a …

Tags: , , | Posted under Drupal, Programming/Coding | Leave a comment