FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Short tags disabled on my server
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Short tags disabled on my server [message #5535] Sat, 07 September 2002 18:11 Go to next message
mojs is currently offline  mojs   Sweden
Messages: 3
Registered: September 2002
Karma: 0
Junior Member
Is there anyone who has a script or other method to work-around the extensive use of short opening tag for the php scripts in FUDforum?

In the long run it would be nice if all '<?' would be replaced with '<?php' Smile
Re: Short tags disabled on my server [message #5536 is a reply to message #5535] Sat, 07 September 2002 20:00 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Uhm, I am not certain what code are you looking at, FUDforum uses <?php tags execlusively. If you are using the latest stable release and see <? tags, please let me know as that is a bug.

FUDforum Core Developer
Re: Short tags disabled on my server [message #5548 is a reply to message #5536] Sun, 08 September 2002 17:02 Go to previous messageGo to next message
mojs is currently offline  mojs   Sweden
Messages: 3
Registered: September 2002
Karma: 0
Junior Member
Below are the files with short tags from a fresh installation from FUDforum2_20020826.tar.gz

$ find ./ -type f -exec egrep -H '<\?$' {} \;
./adm/admlog.php:<?
./adm/admthemes.php: <?
./adm/admthemes.php: <?
./adm/admthemes.php:<?
./adm/admthemesel.php:<?
./sql/pgsql/seq.php:<?
./sql/pgsql/drop.php:<?
./sql/pgsql/vac.php:<?
./src/root_index.php.t:<?
./src/init_errors.inc.t:<?
./thm/default/i18n/msgsync:<?
./include/theme/default/init_errors.inc:<?
find: ./theme: Permission denied
./index.php:<?
Re: Short tags disabled on my server [message #5549 is a reply to message #5535] Sun, 08 September 2002 17:30 Go to previous messageGo to next message
JamesS is currently offline  JamesS   United States
Messages: 275
Registered: July 2002
Location: Atlanta, GA
Karma: 0
Senior Member
s/\<\?/\<\?php/g

use vim or sed or any other utility that supports regex search and replace
Re: Short tags disabled on my server [message #5554 is a reply to message #5549] Sun, 08 September 2002 18:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Thanks for the report, the problem has been resolved in CVS.

FUDforum Core Developer
Re: Short tags disabled on my server [message #6509 is a reply to message #5554] Tue, 15 October 2002 15:27 Go to previous messageGo to next message
Willem_M is currently offline  Willem_M   Belgium
Messages: 3
Registered: October 2002
Location: Belgium
Karma: 0
Junior Member
I just found this thread after discovering myself that I also had short tags disabled. (see bug reports - parse error in admsmiley.php)

I was using a fresh 2.3.2 install, so that release it hasn't been solved.
Also upgrading to the 2.3.3RC1 did not help !!




The very young do not always do as they are told
The Nox
Odp:Re: Short tags disabled on my server [message #6516 is a reply to message #6509] Tue, 15 October 2002 17:07 Go to previous message
zapal   Poland
Messages: 68
Registered: October 2002
Location: Poland
Karma: 0
Member
Willem_M napisał(a) dnia wto, 15 październik 2002 05:27

Also upgrading to the 2.3.3RC1 did not help !!


CVS version != 2.3.3RC1

grab it with cvs command (it's well described in Download section).
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Error Message at Upgrade
Next Topic: Forum problems
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 12:37:57 GMT 2024

Total time taken to generate the page: 0.02381 seconds