While using Apache 2.x with PHP4.2.x, a number of issues have been seen. Some of these are:
* Plugins fail to load
* Error "cannot load ../data/default_pref" (see note #1 for fix)
* Inbox does not appear once logged in; browser loads perpetually (see note #2 for fix)
* Themes not being applied even though change is stored
This issue seems to have come about due to Apache 2.x and PHP4.2.x working together and breaking relative paths (ie ../filename instead of /my/path/filename). This bug was reported at php.net and can be seen at the urls:
* http://bugs.php.net/bug.php?id=19323
* http://bugs.php.net/bug.php?id=19287
The suggested course of action is to upgrade your version of PHP to PHP4-STABLE-200210011500 or higher, or consider changing Apache back to the 1.3 branch.
# This error can be avoided by setting you data directory to the absolute path (ie ../data/ --> /usr/local/www/squirrelmail/data/)
# As an extension to this, this can be fixed (*Warning only semi-tested*) by running the following command at the ...\squirrelmail\src directory: (I suggest cut-and-paste for this)
NOTE: Adjust this for your path to squirrelmail using \/ in place of /'s. That's a backslash then forwardslash - not a V)
<code>
perl -pe "s/\'\.\.\\'\/usr\/local\/www\/squirrelmail\;" -i *php
</code>
|