Hi, folks,
For the last two days, I had been trying to install (eGW 1.6.002 +
CK-ERP) over a new Fedora 12 environment (running the default php 5.3).
After successfully logging into the setup page, a blank page returns
instead of the usually Step 1,2,3,… page.
I traced the problem to …/phpgwapi/inc/class.translation.inc.php and
the following line (approx line 75),
==> if (extension_loaded(‘mbstring’) ||
@dl(PHP_SHLIB_PREFIX.‘mbstring.’.PHP_SHLIB_SUFFIX)) {
Changing this line to,
==> if (extension_loaded(‘mbstring’)) {
get everything back to normal, ie installation/setup completed successfully.
====================================================
Accordingly to php.net,
dl — Loads a PHP extension at runtime
.
.
This function has been /DEPRECATED/ as of PHP 5.3.0 and /REMOVED/ as of
PHP 6.0.0. Relying on this feature is highly discouraged.
=====================================================
I don’t know if the cutting out of @dl() , may have other implications
or side effects, the development team may like to follow up on this.
I have also grepped on ‘@dl(’ and there are quite a number of places
where the dl function is being used within the 1.6.002 code base.
Because of the ‘@’ sign, the undefined dl() function error would not
even be reported in error_log. Correcting the various ‘@dl(’ 's may
solve some strange unexpected failures.
Best Regards,
CK