Warning message


Posted on 16th Feb 2014 07:03 pm by admin

I've put a website that I was doing live and I'm getting this warning message when I try to add a new user when I'm not logged in. It should redirect me back to the login page but I get this message.

Warning: Cannot modify header information - headers already sent by (output started at /home/sites/sampleestateagent.eu/public_html/includes/session.php:18) in /home/sites/sampleestateagent.eu/public_html/includes/functions.php on line 21

Did you know?Explore Trending and Topic pages for more stories like this.
I'm not sure why this is happening as it works fine on localhost.

Thanks for the help and if you need any code posting, let me know

Thanks,
No comments posted yet

Your Answer:

Login to answer
276 Like 34 Dislike
Previous forums Next forums
Other forums

JSON SORT WITH PHP
I have two products that I want to sort by say "Id:17, value: xxx" using php
The page w

How to grab certain words ??
I am working with this API

Returns JSON.
curl http://letsbetrends.com/api/current_trends

extending tidy
I have problem with type-hinting and extending tidy. This code creates error:
Code: class cMyTidy

list files from folder, only one for each date
I have many files in a folder and wish to only list one of each date

these are the file names

Results from Db outputted twice
Hey guys.. for come reason my data is outputted twise shown in the image below and i cant figure out

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

Else statement screws up all css
Does anyone know what goes wrong in the process with this php code?
This code seems to be causing

PHP, Arrays & A Lot Of Confusion
I've been doing basic PHP work on sites for a few years now, but I've never been tempted to learn ho

Fatal error: Call to a member function fetchrow() on a non-object in C:xamppht
okay i have this query and everytime i add `item_id`=? to it... it gives me the error in the title..

Preventing SQL Injection
I have a question about SQL Injection, In some of our code we use this: view plaincopy to clipboa

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash