Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 08:56 am EST

Geeklog Forums

Professional theme eval()'d code on line 1


Status: offline

scroff

Forum User
Regular Poster
Registered: 02/19/03
Posts: 111
thoughtful
Thank you to the Geeklog Guys for the latest release! I haven't installed it yet, this weekend... but I just installed the Professional theme, which is sweet.

I have Squatty and Scott Mathews integration for Andromeda on the site and, only while using the Professional theme, was receiving this error;

"Warning: Cannot modify header information - headers already sent by (output started at /xxxx/yyyyy/public_html/mp3/professional/andromeda.php:271) in /xxxx/yyyyy/public_html/lib-common.php(1030) : eval()'d code on line 1"

I looked for white space for hours (yea I can hear you all laughing)... Banging your head

when I removed the first line from the Professional header.thtml...

Text Formatted Code
<?php header ('Content-Type: text/html; charset={charset}'); ?>

 


the error dissapeared.

How important is that line? Is it something I'll need when I upgrade to 1.3.10? If it is how can I fix it?

Thanks thanks thanks! Its a deal - shaking hands
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Hi Scroff,

I wanted to note that I've seen this error being caused by plugins or add-on's that output Javascript as well ahead of the HTML in the header.thtml


Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

MacDog

Forum User
Newbie
Registered: 05/07/04
Posts: 3
It seems to me that the top entry of the header.thtml file should be moved and changed.
I suggest the following, that seems to solve the problem. (BTW, the line do not exist in the older themes.)
Text Formatted Code

<head>
<title>{page_title}</title>
<meta http-equiv="Content-Type" content="text/html; charset={charset}">



 
 Quote

All times are EST. The time is now 08:56 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content