From: Leif W <war...@us...> - 2005-03-17 16:10:40
|
> "Leif W" <war...@us...>; 2005-03-17@10:12 -0500 > >> "David King" <dk...@pe...>; 2005-03-17@09:01 -0500 >> >> There are PHP errors all over the web site. > > I posted about those a few weeks ago asking if it's ok if I fix this, > nobody responded. Check the archives. It's a trivial fix and I can > do > it, so I guess I'll go fix that at least. One PHP call in about 4 > locations (only two shown on the site's first page). But the two on > the > first page are in loops, that's why there's so many errors. FWIW I fixed this on the live site. Both grep commands below expand to this list of individual files, which may have had more than one fix each. images/links/links.php themes/1225AM/footer.php themes/Default/footer.php links.php mainfile.php # # Go to web site # cd /home/groups/d/dy/dynapi/htdocs/dynapi # # Find list of files to correct and look at the lines # grep -HinR LC_TIME . # # Remove the quotes around LC_TIME. # perl -p -i -e 's/\"LC_TIME\"/LC_TIME/g' `grep -lR \"LC_TIME\" .` Leif |