• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [SOLVED]Stupid ?> at top of page
PostPosted: Fri Jun 08, 2012 4:35 pm 
Offline
Forum Members
Forum Members

Joined: Wed Mar 18, 2009 5:59 pm
Posts: 30
Hi..

I have no idea why a ?> appears on the top of all my pages... Even in the admin area..

U can see under http://www.alteabuilders.com

It appears just after the body tag opens...

What files are loaded before here?

The top of my template looks like this:

Code:
{process_pagedata}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_parent}" lang="{$lang_parent} >
<head>
{metadata}
{stylesheet}
{literal}
<!--[if IE 7]>
<style type="text/css">
html.slide{height: 1%;} /*Holly Hack for IE7 and below*/
</style>
<![endif]-->
{/literal}
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="uploads/Freshmedia/scrolltopcontrol.js"></script>
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
<title>{sitename} - {title}</title>
</head>
<body>

<!-- wrap starts here -->
<div id="wrap">
{* start accessibility skip links *}
    <ul class="accessibility">
      <li>{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}</li>
      <li>{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}</li>
    </ul>
    {* end accessibility skip links *}
    <hr class="accessibility" />
    {* Horizontal ruler that is hidden for visual browsers by CSS *}
<!-- wrap starts here -->
<div id="wrap-out"><div id="wrap">


Thx in advanced!!


Last edited by bunker on Wed Jun 13, 2012 8:05 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Stupid ?> at top of page
PostPosted: Fri Jun 08, 2012 5:43 pm 
Offline
Power Poster
Power Poster

Joined: Mon Jan 29, 2007 4:47 pm
Posts: 403
bunker wrote:
It appears just after the body tag opens...
Actually, no. It is the 1st thing that appears on your page source, so before the <html> tag, even before the DOCTYPE...
Code:
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en >

There is not enough data to say where it comes from. It may even come from an included php file, or an UDT which may be wrongly coded. I doubt it comes from the core or a module, however you should provide more data.

_________________
"There are 10 types of people in this world, those who understand binary... and those who don't."

* by the way: English is NOT my native language (sorry for any mistakes...).

My developer Page on the Forge.


Top
 Profile  
 
 Post subject: Re: Stupid ?> at top of page
PostPosted: Sat Jun 09, 2012 7:11 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 11812
Location: Arizona
You have some bad xhtml...

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_parent}" lang="{$lang_parent} >

Notice the " missing at the end of lang="{$lang_parent} ....

_________________
Extensions » Modules/Tags click the name of the module/tag or Help to the right to get its parameters.
Right click and view source is a great way to see what you have to work with.
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
Image


Top
 Profile  
 
 Post subject: Re: Stupid ?> at top of page
PostPosted: Wed Jun 13, 2012 8:05 am 
Offline
Forum Members
Forum Members

Joined: Wed Mar 18, 2009 5:59 pm
Posts: 30
DrCss.. your right!! Consider this solved!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: psy


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner