Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Can't loggin as admin due to Header issues

Asked Modified Viewed 3,388 times
S
Sharpy
S
Sharpy 10
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Junior Member

Everytime i try to login a white screen with the text

Quote

Warning: Cannot modify header information - headers already sent by (output started at /www/uuuq.com/c/o/d/codfather/htdocs/news.php:4) in /www/uuuq.com/c/o/d/codfather/htdocs/maincore.php on line 223

Warning: Cannot modify header information - headers already sent by (output started at /www/uuuq.com/c/o/d/codfather/htdocs/news.php:4) in /www/uuuq.com/c/o/d/codfather/htdocs/maincore.php on line 224


appears breifly and brings me back to the news.php page logged out.

i cant at all logg in, it was fine for the first 2-3 days and today i tried to login and it brought that message

I am using a host called http://www.zymic.com/ with the UUUQ domain, im sure its got something to do with that as it states it in the quote =p

please help me, the website was a test for the software, and its awesome, so i want to keep it to make proper websites.

the website is here.
http://codfather.uuuq.com/news.php
0 replies

7 posts

H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Have you modified any files? If so restore them back to original.

It seems to me you wanted to add more info in the HEAD tag of the site, and added a HEAD tag somewhere in the code of either maincore.php or news.php. I may be wrong but these lines that seem wrongly added and with errouneous code support my theory:
<meta name='description' content='Allot of features:
all Call of duty&#39;s
xbox
ps3
wii
everything =]' />

.Remove that, you cant add that stuff inside code.
The proper place to add more info in the HEAD tag would be to put it in the file /themes/templates/header.php.
BUT, before you do that, you might want to read up on how the proper META syntax is for tags within HEAD.
http://htmlhelp.com/reference/html40/.../meta.html

I still may be wrong though and that error may be generated by something else.

EDIT
On second thought I may be wrong after all, but only a bit ( a large bit ;) ). In the Admin panel you can add keywords to the description of the site. That is an inbuilt feature. But, maybe the system is sensitive to some characters you used, since those keywords must follow a certain syntax, given by my link above and be words separated by comma signs. Nothing else. So the everything "=]'" might break it causing the error on the site. Maybe.
Edited by Homdax on 07-05-2009 21:46,
0 replies
S
Sharpy
S
Sharpy 10
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

thanks allot, ill get onto fixing it. i have a habit of doing smileys, its not professional for a website.

Thanks for the link also. I'm really new to Coding websites, and i learned most of php-fusion with a friend, you may know him, xtrapsp. ive not seen him in a while, so i came here instead with my question.
0 replies
S
Sharpy
S
Sharpy 10
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

which file do i edit in order to remove it, as i can't login so i cant edit that way. i checked maincore, couldnt find anything? also checked news.php

thanks again
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

I think the only issue may be that you added illegal characters in the Site Description Keywords filed in you Site Administration Panel.
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
answered
Veteran Member

If you look at your source code you'll see that you somehow managed to have 2 heads.

[b]<head>[/b]<meta name="verify-v1" content="1MrrgaJrxXu9q+aeGgDinlQb8KUJSXgXWXEJkXvguNw=" />[b]</head>[/b]
[i]Removed Warning[/i]
<br />

<!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'>
[b]<head>[/b]
<title>The CodFather - News</title>
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1' />

<meta name='description' content='Allot of features:
all Call of duty&#39;s
xbox
ps3
wii
everything =]' />
<meta name='keywords' content='' />
<link rel='stylesheet' href='themes/COD_Techops/styles.css' type='text/css' media='screen' />
<link rel='shortcut icon' href='images/favicon.ico' type='image/x-icon' />
<script type='text/javascript' src='includes/jscript.js'></script>
<script type='text/javascript' src='includes/jquery.js'></script>
[b]</head>[/b]


Have you modified themes/templates/header.php?
Plus your coding is a bit messed up around the footer. You should reload a fresh theme file and any templates files you've altered.
0 replies
T
tukangnggame
T
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
answered
Newbie

In file maincore.php and news.ph edit/add at first line
<?php ob_start(); ?>
0 replies
C
crysun2007
C
crysun2007 10
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
answered
Junior Member

HobbyMan make it
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
H
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
S
S
Sharpy 10
  • Junior Member, joined since
  • Contributed 14 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
C
C
crysun2007 10
  • Junior Member, joined since
  • Contributed 16 posts on the community forums.
T
T
  • Newbie, joined since
  • Contributed 4 posts on the community forums.

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet