NameSilo

Php Problem

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
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
Close
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
Close
Thankyou, sorted it out.
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back