[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

PHP errors specific to Fedora

Hi. I was wondering if anyone was familiar with the differences between Apache and PHP in Red Hat 8.0 and those same packages in Fedora Core 1. Something seems to have changed, because I'm phasing out a RH8 web server and replacing it with FC1, but on the new server I get an error on one of my PHP pages. It looks like this:

Warning: preg_match() expects parameter 2 to be string, array given in /var/www/squirrelmail-1.4.2/plugins/vacation/vacation.php on line 33

Fortunately this is the only error on the whole site. The page in question is a Squirrelmail PHP-based webmail plugin that allows users to manipulate the vacation program from their browser. This error repeats three times in a row.

I've tried a number of things to fix it, including deciperhing the PHP code (which seems fine), but I then decided to determine whether the problem recurred when I ported the old version of the site to the new server. It did, so the error seems to be specific to FC1 (but not RH8), even though the code is identical.

Apache is at 2.0.48-1.2 and PHP is at 4.3.4-1.1. On my old server they were at 2.0.40-8 and 4.2.2-8.0.5. Anyone out there know whether this is a configuration error or a problem with the packages themselves?

Ed Holden


:: Ed Holden
:: Administrator, Research Information Systems
:: McLean Hospital
:: Tel: (617) 855-2822
:: Web: http://research.mclean.org/ris

Any information, including protected health information (PHI), transmitted in this email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential and or exempt from disclosure under applicable Federal or State law. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon, protected health information (PHI) by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the material from any computer.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]