Getting this error when using <style>

scottj

Joined: 2005-09-06
Posts: 2
Posted: Tue, 2005-09-06 03:25

I am getting this error when I try to incorporate the random block script into my index page on my site.

Quote:
Warning: Cannot modify header information - headers already sent by (output started at /home/bystande/public_html/test.php:1) in /home/bystande/public_html/gallery/lib/lang.php on line 356

Seems to run fine as long as you don't use a <style> tag in your page header. Is there any way to get around this?

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Tue, 2005-09-06 03:29

"test.php" isn't a gallery file, so you're going to need to be quite a bit more specific about what you're doing that's causing the error.

 
scottj

Joined: 2005-09-06
Posts: 2
Posted: Tue, 2005-09-06 03:40
signe wrote:
"test.php" isn't a gallery file, so you're going to need to be quite a bit more specific about what you're doing that's causing the error.

Trying to find a script that i can use on my index page that will display a random thumbnail and link to my gallery. I tried using the php from the random block file to incorrporate into my front page. It alsmot work but it seems to have an issue with <style> in the heading of my page.

 
Aislin Beck

Joined: 2006-01-25
Posts: 3
Posted: Wed, 2006-01-25 12:35

Hmm i think i have thesame problem on my cartridge gallery. Someone has the solution for the <style> issue? Thnx!