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

Home » FUDforum Development » Bug Reports » admsmiley.php parse error
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
icon3.gif  Re: admsmiley.php parse error [message #6507 is a reply to message #6477] Tue, 15 October 2002 15:20 Go to previous messageGo to previous message
Willem_M is currently offline  Willem_M   Belgium
Messages: 3
Registered: October 2002
Location: Belgium
Karma:
Junior Member
Hi,

I upgraded to the 2.3.3RC1 version with the update script.
Still the same problem (and now I checked the MD5 sum).

But I did some more testing and I found the cause !! Very Happy

I started to check if any other page had the same problem, and came accross some other pages with the same problem (parse errors) or with garbled table lists (you could see part of php-code inside tables !).
Then I had the wonderful Idea to check the "View source" in my browser, and what did I see: some <? and ?> tags, and I had short tags disabled in my php.ini file !!!!!!

So this is the problem:
You have used some SHORT TAGS in several (admin) pages !!

    Some of the affected pages are:
  • adm/admreplace.php (gives parse error)
  • adm/admsmiley.php (gives parse error)
  • install.php ??? (see below)


I think also the install.php is affected, as I also discovered the following error when I want to load the Theme Manager page:
FATAL ERROR: _vti_conf/locale not a file in .../forum/priv/thm/default/i18n, can't open
Any help on how to resolve this would be appreciated !

    So my conclusion:
  • Add a check in your install.php to see if the PHP has "short_tags" enabled and abort if not (temporary solution)
  • (Better solution IMO) Remove all short tags and use the standard tags (as short tags and XML will not work together very well).
    I suggest you disable yourself the short tags on your test system and see what errors you get Very Happy Very Happy



The very young do not always do as they are told
The Nox
[Message index]
 
Read Message
Read Message
Read Message icon3.gif
Read Message
Previous Topic: incorrect titles on Polish buttons
Next Topic: notification emails
Goto Forum:
  

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

Current Time: Wed Nov 27 11:33:04 GMT 2024

Total time taken to generate the page: 0.04150 seconds