[bugs] [Bug 1032] New - test.php should test for PHP short tags too.

bugs@bugs.horde.org bugs@bugs.horde.org
Wed, 28 Aug 2002 05:20:59 -0300


http://bugs.horde.org/show_bug.cgi?id=1032

*** shadow/1032	Wed Aug 28 05:20:59 2002
--- shadow/1032.tmp.21181	Wed Aug 28 05:20:59 2002
***************
*** 0 ****
--- 1,36 ----
+ Bug#: 1032
+ Product: Horde
+ Version: 2.2 Stable
+ Platform: Mozilla 5.x
+ OS/Version: Linux
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: jj+horde@stacken.kth.se               
+ URL: 
+ Summary: test.php should test for PHP short tags too.
+ 
+ I "accidentally" ran the redhat upgrader and the upgrader replaced all
+ my php-blabla-horde.rpm's and after that my IMP was unusable.
+ The weird thing was that it would render whacky webpages with random-looking
+ buttons and form-fields. After trying lots of black magic rpm downgrades and
+ stuff it finally dawned on me. The thing was that since imap wouldn't load,
+ I got lots and lots of SORTARRIVE-constant not defined blabla errors, and when
+ I fixed that, it still made the webpage random-looking (weird "<"-chars in the
+ title and logs) until I more or less randomly tried to set "Short Tags" to On.
+ 
+ I *know* that I am supposed to manually check the php.ini.rpmsave against the
+ newly installed and so on, and I am not blaming your product for blowing up
+ when I screw up, it's just that the "test.php" could have a small short-tag
+ php-script to see that short-tags do work, since short-tags are a necessity
+ for horde/imp to work. (Or, I could say that you are to rewrite it all to long
+ tags, but thats more work).
+ 
+ If test.php would do a small short-tag test, I could have picked this up far
+ earlier. It does test many other requirements in a very good way. Kudos for 
+ making such a page to see that all demands are met otherwise.
+