News:

Join the Facebook Fan Page.

Main Menu

"?>"!!!

Started by KensonPlays, January 30, 2010, 06:34:03 PM

Previous topic - Next topic

KensonPlays

Hello, my forum/site works fine, except I can't find where the "?>" on the top of every page is coming from! I added the script codes for wibiya and the get satisfaction feedback button, and I believe it is something to do with one of those. Code when viewing selection source of the "?>":


</style><style type="text/css">.highslide img {cursor: url(http://kcmartz.com/Themes/default/highslide/graphics/zoomin.cur), pointer !important;}</style><script id="wau_wib_scr_0" src="http://whos.amung.us/api/query/wibiya/0wibiya37910/" type="text/javascript"></script></head><body style="-moz-user-select: text;">?&gt;


Main focus on the "&gt;"


Owner of Mesozoic Haven

macii

"?>" looks very much like the BOM.. Byte order mark, if I am not mistaken.


KensonPlays

I know that the "?>" is the end of a php file... but not more than that...

Owner of Mesozoic Haven

KensonPlays

Ok, I removed the wibiya toolbar from the manually added code and put it into a PortaMx script block, but the "?>" still shows...

Owner of Mesozoic Haven

~DS~

What about the satisfaction code? Try that.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

KensonPlays

I removed that and the feedback button, I will use script blocks for all scripts... ...still...

Owner of Mesozoic Haven

KensonPlays

I still have that "?>" at the top of every page and cannot find the page it is on!

Could you suggest a few pages it could be in? Thanks!

Owner of Mesozoic Haven

Nick Whetstone

Disable the portal's home page and see if it still shows; I've had that before on pages using SSI, but can't remember how I fixed it.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

KensonPlays

Nope, still shows, go to http://www.kcmartz.com
to see what I mean, set frontpage to "go straight to forum"

Owner of Mesozoic Haven

Nick Whetstone

Are there any errors in the error log?
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

SN

I'm Pretty sure this is something to do with the Display.template.php

i had the same problem when i wanted to move a '' Custom profile field" under the posts count.

I'm sorry to say i have no idea how to fix it. I just re-uploaded my backup Display.template.php

KensonPlays

@SN: I will try this, but I tried adding a few mods after, so I don't know if it will work...

@Ha2: I'll look right now (this first, one above second)

Owner of Mesozoic Haven

Nick Whetstone

If you have any mods that affect the display of threads/posts or the postbit, replacing Display.template.php will cause errors. If not, go ahead and try it.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

KensonPlays

 kcmartz
Apply Filter: Only show the error messages of this IP address 168.212.239.3 
     Reverse chronological order of list Today at 10:24:42 AM
Apply Filter: Only show the error messages of this session dc633636d27dbbb2aaa17c32bfbd9ea4
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL

Apply Filter: Only show the errors with the same message
8: Undefined index: active_button
Apply Filter: Only show the errors from this file
File: /home/content/k/c/m/kcm93/html/Themes/default/BoardIndex.template.php (body_above sub template - eval?)
Line: 771

Just one of the errors, there are 9 (cleared error log) just like this...

Owner of Mesozoic Haven

KensonPlays

Quote from: Ha² on February 03, 2010, 01:23:05 PM
If you have any mods that affect the display of threads/posts or the postbit, replacing Display.template.php will cause errors. If not, go ahead and try it.

Like the multiple polls mod?

Owner of Mesozoic Haven

KensonPlays

NOTICE:


File: /home/content/k/c/m/kcm93/html/cache/lang_ManageSettings_english_raven.php (body_above sub template - eval?)
File: /home/content/k/c/m/kcm93/html/Themes/default/GenericMenu.template.php (body_above sub template - eval?)
File: /home/content/k/c/m/kcm93/html/Themes/default/GenericList.template.php (body_above sub template - eval?)
File: /home/content/k/c/m/kcm93/html/Themes/default/BoardIndex.template.php (body_above sub template - eval?)
File: /home/content/k/c/m/kcm93/html/Themes/default/MessageIndex.template.php (body_above sub template - eval?)
File: /home/content/k/c/m/kcm93/html/Themes/default/Display.template.php (body_above sub template - eval?)


Each line is a different error

Owner of Mesozoic Haven

smartdeviceresource

#16
Holy cow KCmartz, I just went there and there definitely something going on it make your entire site huge, I'm thinking an unescaped " or '  somewhere
probably some where like this
QuoteLine 227, Column 35: Attribute "name" exists, but can not be used for this element.
            <li id="button_RSS-Feed" name="xlinks3">✉
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
from your XHTML.  You're missing that red quote

EDIT: Strangely that " is in the source which means that the missing " is somewhere else
EDIT2: HMMM on second thought my post is not helpful, sorry :-[
after some thought, i've learned to be humble and leave the answering to the experts, until i too am an expert.  sorry to anyone who I've confused, with my answers

KensonPlays

@smartdeviceresource, thanks anyway!

Owner of Mesozoic Haven

KensonPlays

Still, checked Modifications.english.php and there is only one.
{root}/index.php only one as well.
All that it could be has only one, all files (I checked like 10), all have only one "?>"

Owner of Mesozoic Haven

Nick Whetstone

Quote from: Kcmartz on February 04, 2010, 03:51:56 PM
Still, checked Modifications.english.php and there is only one.
{root}/index.php only one as well.
All that it could be has only one, all files (I checked like 10), all have only one "?>"
Please try to avoid double posting if possible. If you find something to add, you can always edit it in. :)

Again, I would try to help, but I don't want to send you on a wild goose chase through 40 files in order to try finding it, heh.
The artist formerly known as (Ha)²

Former Support Specialist

Please do not solicit support via PM. Here's why!

Advertisement: