Troubleshooting

zFeeder – Making PHP 5.3 + compatible, solving ‘Function ereg_replace() is deprecated’

The latest zFeeder 1.6 uses couple PHP functions – ereg_replace and set_magic_quotes_runtime, which are deprecated in PHP starting from version 5.3. These function will no more be supported from PHP 6.0 onward.

How to solve “Deprecated: Function ereg_replace() is deprecated” problem?
Use preg_replace, which uses perl regular experssion, instead of ereg_replace.
There are two occurrences of ereg_replace [...]

Thursday, January 14th, 2010

Fix for mergelog, fails with error “abort due to a problem” for dummy records of apache access logs

If you are getting “abort due to problem” for apache access logs for dummy records when your run mergelog (or zmergelog) then you fix the problem as follows:
1. Open mergelog.c file under src folder
2. Look for #define SCAN_OFFSET 9
3. Change it to #define SCAN_OFFSET 7
That’s all.
The problem is that the mergelog looks for [...]

Monday, December 14th, 2009

How to solve ‘ReadFile hangs’ for named pipe client/server – sample working code for named pipe

Cause of ReadFile hangs for a named pipe client

Tuesday, November 3rd, 2009