Backend Development

Php error. With Nstresser code

Submitted by p0is0n3nvy, , Thread ID: 116229

Thread Closed
p0is0n3nvy
Novice
Level:
0
Reputation:
0
Posts:
33
Likes:
1
Credits:
1
10-01-2019, 06:58 AM
#1
Ive linked my DB and built the database, I can create a user but when I log in. I get this? Any ideas how to fix it.

Warning: Cannot modify header information - headers already sent by (output started at /customers/2/2/9/peachsparadise.com/httpd.www/hub/index.php:6) in /customers/2/2/9/peachsparadise.com/httpd.www/hub/@/header.php on line 11

Now the only thing on line 11 is Header(location: hub/login.php);

Pms welcome. I wanna get this working
[Image: 14shzfd.png]

RE: Php error. With Nstresser code

SkyCod
nulledbb.com/profile/3747/
Level:
0
Reputation:
78
Posts:
1.15K
Likes:
165
Credits:
2.57K
10-01-2019, 10:33 AM
This post was last modified: 10-01-2019, 10:34 AM by SkyCod
#2
You may have left blank spacesbeforeorafter (at the end of file after ?> )i.e.

Code:
THERE SHOULD BE NO BLANK SPACES HERE
<?php

  echo "your code here";

?>
DO CHECK FOR BLANK SPACES HERE AS WELL; THIS LINE (blank line) SHOULD NOT EXIST.

RE: Php error. With Nstresser code

p0is0n3nvy
Novice
Level:
0
Reputation:
0
Posts:
33
Likes:
1
Credits:
1
OP
10-01-2019, 02:54 PM
#3
Could you PM me please?

Im bit of a noob and still cant get to the bottom of it
[Image: 14shzfd.png]

RE: Php error. With Nstresser code

mitto1133
Closed Account
Level:
0
Reputation:
0
Posts:
14
Likes:
0
Credits:
30
14-01-2019, 12:44 PM
#4
Thanks man! Great upload, I was loking for some social media platforms

RE: Php error. With Nstresser code

zSonntag
Newbie
Level:
0
Reputation:
0
Posts:
15
Likes:
1
Credits:
30
22-01-2019, 04:37 AM
#5
Look's very nice, will I look at site without registration?

RE: Php error. With Nstresser code

Tapsix
Newbie
Level:
0
Reputation:
0
Posts:
14
Likes:
1
Credits:
15
04-08-2019, 12:26 AM
#6
10-01-2019, 06:58 AM
yoyp thank Wrote:
Ive linked my DB and built the database, I can create a user but when I log in. I get this? Any ideas how to fix it.

Warning: Cannot modify header information - headers already sent by (output started at /customers/2/2/9/peachsparadise.com/httpd.www/hub/index.php:6) in /customers/2/2/9/peachsparadise.com/httpd.www/hub/@/header.php on line 11

Now the only thing on line 11 is Header(location: hub/login.php);

Pms welcome. I wanna get this working

RE: Php error. With Nstresser code

truefalse32
Novice
Level:
0
Reputation:
0
Posts:
24
Likes:
0
Credits:
1
04-08-2019, 04:29 PM
#7
Issues like this are easy to resolve. Should only take a matter of minutes, look through the DB file again.

RE: Php error. With Nstresser code

truefalse32
Novice
Level:
0
Reputation:
0
Posts:
24
Likes:
0
Credits:
1
30-01-2020, 10:02 AM
#8
Check line 6, seems to be a matter of a typo in this case.

Users browsing this thread: 1 Guest(s)