Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: blunted on November 26, 2014, 06:23:49 AM

Title: Profile Page
Post by: blunted on November 26, 2014, 06:23:49 AM
Is printing ?>
at the top of each page. I dont know when it started, so no clue on mods.
Any place to look first? Its also printing in the admin.
Title: Re: Profile Page
Post by: Illori on November 26, 2014, 06:30:00 AM
are you using a theme other then default? does it do it with the default theme as well?
Title: Re: Profile Page
Post by: blunted on November 26, 2014, 08:29:04 AM
Yes its happening in default as well
Title: Re: Profile Page
Post by: Kindred on November 26, 2014, 09:37:12 AM
SOunds like one of your files got edited incorrectly.

What mods have you installed lately?
Title: Re: Profile Page
Post by: blunted on November 26, 2014, 10:34:21 AM
That's the issue, I've tried uninatalling new mods with no luck
Title: Re: Profile Page
Post by: Kindred on November 26, 2014, 11:02:41 AM
well --- THAT will also be an issue.

please answer the question.
What mods do you have installed?




Next question(s):
What mods have you tried to uninstall?
Were the uninstall tests successful?
did you continue with the uninstall anyway or did you stop?
Title: Re: Profile Page
Post by: blunted on November 26, 2014, 01:45:27 PM
I will get a list when I'm home.
Yes the uninstalls were successful without error.
I'm on a phone ATM without access to mod list.
Would server error logs show problem file? I'd assume not
Title: Re: Profile Page
Post by: blunted on November 26, 2014, 02:48:05 PM
1.    Expire Attachments mod    1.0    [ Uninstall ] [ List Files ] [ Delete ]
2.    SMF Advanced Invitations System    1.0.11    [ Uninstall ] [ List Files ] [ Delete ]
3.    Board Notes    1.0.8    [ Uninstall ] [ List Files ] [ Delete ]
4.    NiceTooltips    1.8    [ Uninstall ] [ List Files ] [ Delete ]
5.    Highslide 4 SMF    0.8.1    [ Uninstall ] [ List Files ] [ Delete ]
6.    Install & Uninstall Mods Quickly    1.4    [ Uninstall ] [ List Files ] [ Delete ]
7.    SMF 1.1.19 / 2.0.6 Update    1.0    [ List Files ] [ Delete ]
8.    Fake Online Time    2.0    [ Uninstall ] [ List Files ] [ Delete ]
9.    Hide Info Center From Guests    1.0    [ Uninstall ] [ List Files ] [ Delete ]
10.    Drafts    1.1.4    [ List Files ] [ Delete ]
11.    Encrypt Personal Messages by NIBOGO    1.0    [ Uninstall ] [ List Files ] [ Delete ]
12.    RSS Feed Poster    3.0.4    [ Uninstall ] [ List Files ] [ Delete ]
13.    Blue Smiley    1.0    [ Uninstall ] [ List Files ] [ Delete ]
14.    Search User In MP    1.1    [ Uninstall ] [ List Files ] [ Delete ]
15.    SMF 2.0.4 Update    1.0    [ List Files ] [ Delete ]
16.    SMF 2.0.3 Update    1.0    [ List Files ] [ Delete ]
17.    Similar Topics    0.5    [ Uninstall ] [ List Files ] [ Delete ]
18.    SMFPacks Popup Pro Mod    1.0    [ Uninstall ] [ List Files ] [ Delete ]
19.    Avatar Rounded Corners    1.0    [ Uninstall ] [ List Files ] [ Delete ]
20.    Sisyphus    1.0    [ Uninstall ] [ List Files ] [ Delete ]
21.    Like Posts    1.1    [ Uninstall ] [ List Files ] [ Delete ]
22.    Scrolling Buttons    0.3    [ Uninstall ] [ List Files ] [ Delete ]
23.    SMF Gallery Pro    6.5.5    [ Uninstall ] [ List Files ] [ Delete ]
24.    SMF Trader System    1.7    [ Uninstall ] [ List Files ] [ Delete ]
25.    QRR: Quick Reply Reposition    1.1.2    [ Uninstall ] [ List Files ] [ Delete ]
26.    SMF 2.0.8 Update    1.0    [ List Files ] [ Delete ]
27.    SMF Classifieds    4.0    [ Uninstall ] [ List Files ] [ Delete ]
28.    Buddies Block    1.0    [ Uninstall ] [ List Files ] [ Delete ]
29.    Bookmarks    2.5    [ Uninstall ] [ List Files ] [ Delete ]
30.    Space Between Posts    2.0    [ Uninstall ] [ List Files ] [ Delete ]
31.    BBC User Info    2.0    [ Uninstall ] [ List Files ] [ Delete ]
32.    Login Security    1.0.2.2    [ Uninstall ] [ List Files ] [ Delete ]
33.    SMF 2.0.7 Update    1.0    [ List Files ] [ Delete ]
34.    SimplePortal    2.3.6    [ Uninstall ] [ List Files ] [ Delete ]
35.    SMF Arcade    2.5    [ Uninstall ] [ List Files ] [ Delete ]
36.    Tapatalk SMF 2.0 Plugin    4.1.1    [ Uninstall ] [ List Files ] [ Delete ]
37.    SMF 2.0.5 Update    1.0    [ List Files ] [ Delete ]
38.    Contact Form    1.1    [ Uninstall ] [ List Files ] [ Delete ]
39.    Swekey Hardware Authentication    1.2    [ Uninstall ] [ List Files ] [ Delete ]
40.    Anonymous Boards    1.1    [ Uninstall ] [ List Files ] [ Delete ]
41.    Tiny URL Mod    1.5    [ Uninstall ] [ List Files ] [ Delete ]
42.    ENotify    2.0.2    [ Uninstall ] [ List Files ] [ Delete ]
43.    Member NotePad    2.0.2    [ Uninstall ] [ List Files ] [ Delete ]
44.    Better Profile Menu    1.7    [ Uninstall ] [ List Files ] [ Delete ]
45.    Force new password    0.1.1    [ Install Mod ] [ List Files ] [ Delete ]
46.    Separate the sticky topics    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
47.    PM Attachments    1.6    [ Uninstall ] [ List Files ] [ Delete ]
48.    SMF 1.1.20 / 2.0.9 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
49.    SA KB    1.0.2a

my complete list which includes a few not installed
Title: Re: Profile Page
Post by: kat on November 27, 2014, 07:07:24 AM
Can you give us a URL, so we can take a look? (Assuming guests can view)

Ignore that. Profile. :P
Title: Re: Profile Page
Post by: blunted on November 27, 2014, 06:18:22 PM
Guests can't view, don't get the rest of your point.

It only happens on the main admin page and the actual profile view page.
Title: Re: Profile Page
Post by: kat on November 28, 2014, 08:18:57 AM
After I asked for a URL, I realised we couldn't see anything, because, as guests, we wouldn't have a profile...


What I'm thinking, is that some file edits just didn't happen, when they should've done.

That "?>" thing is a tag, which should be the very first line of a PHP file. Only, it should look like this:

<?php

So, I'm wondering if one of your files has two lines, at the top, like this:

<?
php


...or something. If you find the file and put that as one line, it should fix it.

Profile.php? Profile-View.php?
Title: Re: Profile Page
Post by: Kindred on November 28, 2014, 08:54:38 AM
actually, k@... the ?> is the thing that indicates the END of a php code section (in the case of SMF, it marks the end of every file)
Title: Re: Profile Page
Post by: kat on November 28, 2014, 09:01:36 AM
Oh, I know that! (Even I'm not that dumb. Honest!)

It's just something that made me think "Hmmm... I wonder...?"
Title: Re: Profile Page
Post by: Illori on November 28, 2014, 09:09:40 AM
i think the op says this is happening on all pages not just the profile, right? if so then you need to check every source file and make sure at the end of the file it only has one ?> and nothing after it. even if just the profile pages it is best to check all source files to be sure it is not from a file that is called from the profile source.
Title: Re: Profile Page
Post by: kat on November 28, 2014, 09:18:46 AM
Most likely index.template, I'd've thought. But, on every theme? I s'pose it could be, if a mod (un)install caused it.

Dunno where I got the idea that it was only on a profile page. :P
Title: Re: Profile Page
Post by: Kindred on November 28, 2014, 09:21:03 AM
k@...   :)

because the user said that. :D


Quote from: blunted on November 27, 2014, 06:18:22 PM
It only happens on the main admin page and the actual profile view page.


as Illori suggested, though...   it sounds like a mod has duplicated the ?> so some file (possibly a language file) has two of them in it.
Title: Re: Profile Page
Post by: kat on November 28, 2014, 09:25:37 AM
/me goes to clean his spex... :P
Title: Re: Profile Page
Post by: blunted on November 28, 2014, 11:25:44 AM
Thank you, I'll scour more files to see if I can track it down. You've given me a little more.insight :) much appreciated!
Title: Re: Profile Page
Post by: blunted on November 28, 2014, 12:55:43 PM
FOUND IT!
Thank you all :)

Was in default languages who.english.php