Author Topic: Bug on Main-Page  (Read 25322 times)

Offline Bryant Keller

  • Forum Moderator
  • Full Member
  • *****
  • Posts: 360
  • Country: us
    • About Bryant Keller
Bug on Main-Page
« on: June 11, 2010, 07:37:39 PM »
Support for the PHP Echo shortcut is apparently not supported in the server at this time. Not sure if this is a new thing that was added to the pages header or if support for the echo shortcut was removed, but to keep '?> from showing up at the top of the main page the line:

Code: [Select]
<?= '<?xml version="1.0" encoding="utf-8"?>' ?>
needs to be changed to:

Code: [Select]
<?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>
either that or just:

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
and avoid the PHP all together....

Either way should work. I just thought I would point this out.

About Bryant Keller
bkeller@about.me

Offline Cyrill Gorcunov

  • NASM Developer
  • Full Member
  • *****
  • Posts: 179
  • Country: 00
Re: Bug on Main-Page
« Reply #1 on: June 23, 2010, 09:03:11 PM »
yup, I've sent a patch to Peter yesterday, not sure if patch was correct though :)
hope we will fix it soon. Thanks, Bryant!

Offline Keith Kanios

  • Full Member
  • **
  • Posts: 383
  • Country: us
    • Personal Homepage
Re: Bug on Main-Page
« Reply #2 on: June 24, 2010, 06:36:02 AM »
I've implemented the full echo, just in case short-tag support is re-enabled.

There were also short-tags around the latest stable version number and associated link that are now fully qualified and thus fixed.

Offline Cyrill Gorcunov

  • NASM Developer
  • Full Member
  • *****
  • Posts: 179
  • Country: 00
Re: Bug on Main-Page
« Reply #3 on: June 24, 2010, 08:12:54 PM »
Great! Thanks Keith!

Offline Bryant Keller

  • Forum Moderator
  • Full Member
  • *****
  • Posts: 360
  • Country: us
    • About Bryant Keller
Re: Bug on Main-Page
« Reply #4 on: June 25, 2010, 12:57:04 AM »
Awesomeness man! Looks great :)

About Bryant Keller
bkeller@about.me