On 28 Jan 2003 at 17:45, p dont think pdontthink-at-angrynerds.com wrote: > (please remember to reply to the SM-USERS list)
Oops :-} > > Can you try moving the other versions of global.php out of the SM tree > just in case? What did you change in the version of global you are > currently using? I suspect that the code might not specifically be > calling functions in one of the other versions, but that there might be > an include buried somewhere that still is trying to pull in > src/global.php or something like that. Ideally, you shouldn't need to > change global.php yourself... Hmm ... verrrry interesting. As soon as I removed src/global.php I got the error: Fatal error: Failed opening required '../src/global.php' (include_path='.:/usr/share/pear') in /usr/share/squirrelmail/src/validate.php on line 25 with either weather or notes. kara > > - paul > > > > > You can also run the grep command I gave you from the main SM > directory. > > > You should get exactly one result; if you get two, that is why you > have > > > a problem. > > > > Here is what I ran from the squirrelmail directory: > > grep -R "function check_php_version" * > > > > And here are the results: > > > > functions/global.php: function check_php_version ($a = > > '0', $b = '0', $c = '0') > > functions/global.php.~1.22.~: function check_php_version ($a = '0', $b > = > > '0', $c = '0') > > functions/global.php.edited: function check_php_version ($a = 0, $b = > 0, > > $c = 0) > > src/global.php: function > check_php_version ($a = > > '0', $b = '0', $c = '0') > > > > * src/global.php is from a previous version of SM and is not > referenced in > > any of > > the errors. > > * functions/global.php.~1.22~ and global.php.edited are also not > referenced, > > and > > are saved versions of the file > > > > So, the only result in global.php is on line 70, and is where I get > the "cannot > > redeclare" error after adding the absolute path to line 15. > > > > kara > > > > > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
