General ⇒ FAQ (Frequently Answered Questions) :: Archives ⇒ x` @ top left of every page :: Archived ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexFAQ (Frequently Answered Questions)

Archived ⇒ x` @ top left of every page


how do I get rid of the x` at the top of every page?


www.felix.us.com

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
fedora5/2.0/5/5/9.1.2


check your Header.html

Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1


AND PUT THE DRAGONFLY AND THEME CREDITS BACK!

Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1


sorry, i put it back on. I cannot find the error in header.html I dont see a x` anywhere. when I view compiled sites source it says the x` is before <!DOCTYPE

does that mean that the error lies elsewhere? x` is still there when I change themes, I've unsuccessfully searched for x` in a bunch if files in the includes and includes classes folders. any ideas?




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{S_TEXTDIR}" lang="{S_LANGCODE}">
<head>
{S_HEADER_TAGS}
<link rel="stylesheet" type="text/css" href="{THEME_PATH}/style/{CSS_FILE}.css" />
<SCRIPT src="{THEME_PATH}/style/fading.js" type=text/javascript></SCRIPT>
</head>
<BODY style="MARGIN: 0px" vLink=#c0c0c0 aLink=#c0c0c0 link=#c0c0c0>
<!-- IF S_ADMIN_MENU -->
<div id="adminmenu"></div>
<script language="JavaScript" type="text/javascript"><!--
{S_ADMIN_MENU}
cmDraw ('adminmenu', adminMenu, 'hbr', cmThemeOffice, 'ThemeOffice');
--></script>
<!-- ENDIF -->
<TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
<TBODY>
<TR>
<TD class=lefttd noWrap width=10><img border="0" src="{THEME_PATH}/images/spacer.gif" width="10" height="10"></TD>
<TD width="100%">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="80">
<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0" background="{THEME_PATH}/images/_bg.jpg">
<tr>
<td width="412" background="{THEME_PATH}/images/logo.jpg" height="80">
<a href="{U_MAININDEX}"></a></td>
<td align="center" width="100%"><img src="https://69.64.64.241/images/felixheader.gif" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="10">{G_LEFTIMAGE}</td>
<td><img border="0" src="{THEME_PATH}/images/spacer.gif" width="1" height="1"><!-- IF S_IS_USER -->{WELCOME}<!-- ELSE -->Welcome Guest! Please <a href="/index.php?name=Your_Account&file=register">Register</a> or <a href="/index.php?name=Your_Account">Login</a><!-- ENDIF --></td>
<td align="right">{S_DATE}
</td>
<td align="right" width="10">{G_RIGHTIMAGE}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" width="100%" bgcolor="#ECECEC" cellspacing="1" cellpadding="0" class="forumline">
<tr class="navmenu">
<td align="center" width="10%" class="row2">
<a href="{U_MAININDEX}">
<img border="0" src="{THEME_PATH}/images/blocks/CPG_Main_Menu/icon_home.gif" width="20" height="20"><br>
{S_HOME}</a></td>
<td align="center" width="15%" class="row2"><a href="{U_FORUMS}">
<img border="0" src="{THEME_PATH}/images/blocks/CPG_Main_Menu/bb.jpg" width="20" height="20"><br>
{S_FORUMS}</a></td>
<td align="center" width="15%" class="row2"><a href="{U_GALLERY}">
<img border="0" src="{THEME_PATH}/images/blocks/CPG_Main_Menu/photo_gallery_icon.gif" width="20" height="20"><br>
Photo Gallery</a></td>
<td align="center" width="15%" class="row2"><a href="https://69.64.64.241/Content/pid=4.html">
<img border="0" src="{THEME_PATH}/images/blocks/CPG_Main_Menu/tree5.jpg" width="20" height="20"><br>
Family Tree</a></td>
<td align="center" width="15%" class="row2">
<a href="https://69.64.64.241/Content/pid=1.html">
<img border="0" src="{THEME_PATH}/images/blocks/CPG_Main_Menu/emailicon.jpg" width="20" height="20"><br>
Email Account</a></td>
<td align="center" width="15%" class="row2"><a href="https://69.64.64.241/Your_Account.html">
<img border="0" src="{THEME_PATH}/images/blocks/CPG_Main_Menu/icon_profile.gif" width="20" height="20"><br>
Account Info</a></td>
<td align="center" width="10%" class="row2">
<a href="https://69.64.64.241/ContactPro.html">
<img border="0" src="{THEME_PATH}/images/blocks/CPG_Main_Menu/icon_pencil.gif" width="20" height="20"><br>
Contact Admin</a></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr>
<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
</tr></table>
</td>
</tr>
<tr>
<td>
<img border="0" src="{THEME_PATH}/images/spacer.gif" width="10" height="10">
</td>
</tr>
<tr>
<td> <table class="maintable" width="100%" height="100%"><tr>
<!-- IF S_LEFTBLOCKS -->
<td class="mainside" id="pe600" {B_L_VISIBLE} style="padding-left: 5px">
<!-- BEGIN leftblock -->
<div class="blockhead">
<img align="left" alt="Toggle Content" title="Toggle Content" id="pic{leftblock.S_BID}" src="{leftblock.S_IMAGE}" onclick="blockswitch('{leftblock.S_BID}');" style="cursor:pointer" /><img border="0" src="{THEME_PATH}/images/spacer.gif" width="1" height="1">
{leftblock.S_TITLE}
</div>
<div class="blockcontent" id="pe{leftblock.S_BID}" {leftblock.S_VISIBLE}>
{leftblock.S_CONTENT}
</div>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr>
<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
</tr></table>
<br/>
<!-- END leftblock -->
</td>
<!-- ENDIF -->
<td class="main">
<!-- IF IMPORTANT_MESSAGE -->
<center><span style="font-size: 12px; color: #FF0000">{IMPORTANT_MESSAGE}</span></center><br />
<!-- ENDIF -->
<!-- IF PAGE_TITLE -->
<div class="pagetitle">{PAGE_TITLE}</div>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr>
<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
</tr></table><br />
<!-- ENDIF -->
<!-- BEGIN messageblock -->
<table border="0" cellpadding="0" cellspacing="0" class="tbt"><tr>
<td class="tbtl">
<img border="0" src="{THEME_PATH}/images/forums/spacer.gif" width="22" height="22"></td>
<td class="tbtbot">
<font size="3"><b>{messageblock.S_TITLE}</b></font></td>
<td class="tbtr">
<img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="124" height="22" /></td>
</tr></table>
<div class="table1">
<div class="content" >{messageblock.S_CONTENT}</div><br /><div align="center">
<!-- IF S_CAN_ADMIN -->
[ {messageblock.S_OUTPUT} - {messageblock.S_REMAIN} - <a href="{messageblock.U_EDITMSG}">{messageblock.S_EDIT}</a> ]
<!-- ELSE -->
{messageblock.S_DATE}
<!-- ENDIF -->
</div>
</div>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr>
<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
</tr></table>
<br/>
<!-- END messageblock -->
<!-- BEGIN centerblock -->
<table border="0" cellpadding="0" cellspacing="0" class="tbt"><tr>
<td class="tbtl">
<img border="0" src="{THEME_PATH}/images/forums/spacer.gif" width="22" height="22"></td>
<td class="tbtbot">
<font size="3"><b>{centerblock.S_TITLE}</b></font></td>
<td class="tbtr">
<img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="124" height="22" /></td>
</tr></table>
<div class="table1">
{centerblock.S_CONTENT}
</div>
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr>
<td class="tbll"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblbot"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
<td class="tblr"><img src="{THEME_PATH}/images/forums/spacer.gif" alt="" width="8" height="4" /></td>
</tr></table>
<br />
<!-- END centerblock -->

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
fedora5/2.0/5/5/9.1.2


stop using crap like notepad, word and dreamweaver.
Just find yourself a good editor.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


I've never used notepad I switch back and forth between dreamweaver and winSCP. you think winscp is the problem ?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
fedora5/2.0/5/5/9.1.2


domitros wrote
I've never used notepad I switch back and forth between dreamweaver and winSCP. you think winscp is the problem ?
Sorry I misread your message, I was unaware that dreamweaver screwed up the code as well

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
fedora5/2.0/5/5/9.1.2


Well, nothing better then GNU/LInux with KDE and then the right web tools ( kdewebdev.org/ ).

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


Well, since you were editing files (Im assuming this, correct me if I'm wrong?)

Which files were you editing? Since the x` is residing outside of the doctype, I would assume it's not a problem from the template files.

Go back and search the files you were changing around.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux | Apache[1.3.37] (Unix) | MySQL[4.1.21] | PHP[4.4.5] | DF[9.1.2.1]


I looked at or edited most every file. I replaced admin.php index.php header.php and the entire /includes/ folder with the orginial files and its still there, any suggestions where to look next?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
fedora5/2.0/5/5/9.1.2


*fixed* I looked at the messed up main page through my browser, clicked on view source, removed the x` and then copied the source and pasted it into index.php and saved. thanks

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
fedora5/2.0/5/5/9.1.2


wha?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux | Apache[1.3.37] (Unix) | MySQL[4.1.21] | PHP[4.4.5] | DF[9.1.2.1]


haha - that'll make a nice static page! Smile

The source you see is generated by the PHP code. You can't copy the HTML back into the php file!

Although I've never seen those particular characters generated, it may be due to an encoding error - check all your edited files and make sure they are saved as UTF-8 (in NotePad2, choose File - Encoding - UTF-8) - not UTF-8 with Signature either.

Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1


domitros wrote
I've never used notepad I switch back and forth between dreamweaver and winSCP. you think winscp is the problem ?


No problems for this. When I'm on windows I still prefer using Dreamweaver for editing css and html. Php and I'm back to my trusty crimson editor.

DJ Maze wrote
Well, nothing better then GNU/LInux with KDE and then the right web tools ( kdewebdev.org/ ).


KDE sux Wink Gnome rulez Smile

Now using debian and gedit is the bomb with all the above

Smile

J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}

All times are UTC