Monthly Archives: January 2012

SocialEngine Ning Import

A few weeks ago i created a small Java program which makes it possible to merge multiple Ning-Portals into one Social-Engine Community site by merging the backup files of all Ning-Portals into one (because Social-Engine can only import one Ning-Portal).

Well… today i tried to import a backup with about 15.000 members (including profile information and profile pictures) and got a “Memory Exceeded” error. Ok, until here no problem. Changing the “memory_limit” in php.ini file should fix the problem…

it doesn’t…

Well… very long story and a lot of terrifying emotions later i found out that there is not call to ini_set(‘memory_limit’, ’128M’), but in the “<SE_ROOT>/install/” directory is a .htaccess file with the following block:

<IfModule mod_php5.c>
php_value   post_max_size         100M
php_value   upload_max_filesize   100M
php_value   max_input_time        600
php_value   max_execution_time    600
php_value   memory_limit          128M
</IfModule>

Commenting out (or increase) the “php_value memory_limit XXX” row finally fixed the problem and i was able to import the huge amount of data.

At least, I really have no idea why the SE team decided to set those values for the Import-Tools (Admin-Only) but nowhere else for the public accessible pages.

Share

iF.SVNAdmin sources on GitHub

I decided to host the sources of iF.SVNAdmin on GitHub. It provides a better way for contributions and user commits (forks and pull-requests).

I made a lot of changes since the last release, which are actually not 100% compatible. What means that you should prefer a clean install, but copy the “config/config.ini” and “config/userroleassignments.ini” files.

Note: It’s not an official release of a new version.

The biggest change is the deletion of the custom Template Engine and a new way to handle Exceptions. I also made a few bug fixes to the LDAP interface, but still have encoding problems when using LDAPv2-Protocol (Protocol version 3 works great with AD!).

Project on GitHub:
https://github.com/mfreiholz/iF.SVNAdmin

Thanks again for all patches i recieved.

Share