Bug 73513 - wordtrans-web uses obsoleted PHP script style
wordtrans-web uses obsoleted PHP script style
Product: Red Hat Linux
Classification: Retired
Component: wordtrans (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
: 77450 (view as bug list)
Depends On: 73516
  Show dependency treegraph
Reported: 2002-09-05 12:19 EDT by Joe Orton
Modified: 2008-05-01 11:38 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-04 04:37:07 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joe Orton 2002-09-05 12:19:13 EDT
The PHP scripts in /var/www/html/wordtrans/ use the obsoleted PHP script
delimiters <?  ?> which don't work by default with the version of PHP currently
in Raw Hide: <?php ... ?> has to be used instead.
Comment 1 Gary Benson 2002-09-05 12:43:25 EDT
This should be fixable by creating the file /etc/httpd/conf.d/wordtrans.conf and
making it contain the following:

  <Directory /var/www/html/wordtrans>
      php_value short_open_tag 1

However this does not work at present due to bug 73516.
Comment 2 Ngo Than 2002-09-05 14:59:43 EDT
Bryce, do you know why does php use new style ?php as default.
It will break the old php scripts?
Comment 3 Joe Orton 2002-11-07 04:49:59 EST
It will, and it does, but it was done.
Comment 4 Joe Orton 2002-11-07 04:52:56 EST
*** Bug 77450 has been marked as a duplicate of this bug. ***
Comment 5 Ngo Than 2002-11-07 07:31:20 EST
the bug 73516 is still there, this means that /etc/httpd/conf.d/wordtrans.conf
will does not work and i have to fix php scripts?

Comment 6 Joe Orton 2002-12-04 04:36:15 EST
Adding "Requires: php >= 4.2.2-10" to wordtrans-web and using:

  <Directory /var/www/html/wordtrans>
      php_admin_flag short_open_tag Off

will work now.
Comment 7 Joe Orton 2002-12-04 04:37:00 EST
That should be "php_admin_flag short_open_tag On", of course...
Comment 8 Ngo Than 2002-12-04 10:45:52 EST
it's fixed in wordtrans-1.1pre9-11. Thanks for your infos.

Note You need to log in before you can comment on or make changes to this bug.