Unstoppable Domains

Php Problem

Spaceship Spaceship
Watch
P

ProdigyMX

Guest
Guest
Hey, im new to php atm and im having a few problems. Ive setup a script easily but keep getting this above each page:

Code:
Warning: Cannot modify header information - headers already sent by (output started at /home2/prodigy/public_html/wzscript/vars.php:25) in /home2/prodigy/public_html/wzscript/albums.php on line 49

What do I have to edit to get rid of this message?

EDIT: Admin please move this to the php section if you see fit.
 
Last edited by a moderator:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
You have a space at the beginning or end of your PHP file... that's what's causing it 99% of the time. Make sure you have no spaces after ?> or before <?.
 
0
•••
May I see the entire code? I may be able to help you.

You have a space at the beginning or end of your PHP file... that's what's causing it 99% of the time. Make sure you have no spaces after ?> or before <?.

99% seems inaccurate to me. There could be other common factors that could be causing this.
 
0
•••
lpxxfaintxx said:
May I see the entire code? I may be able to help you.



99% seems inaccurate to me. There could be other common factors that could be causing this.

You're right, I used the 99% as more of a phrase than an exact statistic. I just guessed that since in the URL it had "wzscript/albums.php" and when people install scripts that generate that error, it is usually because they leave the space there.
 
0
•••
Thankyou, sorted it out.
 
0
•••

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back