NASM - The Netwide Assembler
September 08, 2010, 11:40:54 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new NASM Forum!
   
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Bug on Main-Page  (Read 578 times)
Bryant Keller
Moderator
Jr. Member
*****
Offline Offline

Posts: 71



View Profile WWW
« 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:
<?= '<?xml version="1.0" encoding="utf-8"?>' ?>

needs to be changed to:

Code:
<?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>

either that or just:

Code:
<?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.
Logged

Cyrill Gorcunov
NASM Developer
Jr. Member
*****
Offline Offline

Posts: 50



View Profile
« 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 Smiley
hope we will fix it soon. Thanks, Bryant!
Logged
Keith Kanios
NASM Developer
Full Member
*****
Offline Offline

Posts: 135



View Profile WWW
« 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.
Logged

Cyrill Gorcunov
NASM Developer
Jr. Member
*****
Offline Offline

Posts: 50



View Profile
« Reply #3 on: June 24, 2010, 08:12:54 PM »

Great! Thanks Keith!
Logged
Bryant Keller
Moderator
Jr. Member
*****
Offline Offline

Posts: 71



View Profile WWW
« Reply #4 on: June 25, 2010, 12:57:04 AM »

Awesomeness man! Looks great Smiley
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!