1
bumbum
PHP debug error: Notice [PHP]: A session had already been started...
  • 2006/3/27 11:32

  • bumbum

  • Just popping in

  • Posts: 99

  • Since: 2004/10/18


Can anyone help me out with this one:
In PHPdebug mode I'm getting this error message
Quote:
Notice [PHP]: A session had already been started - ignoring session_start() in file include/common.php line 177

Most of the site seems to be working fine but I'm having trouble with register.php - On completion of the registration form visitors are redirected to /register.php (blank page) and registration details are not submitted.
I don't know if they're related problems. I've already uploaded fresh copies of register.php and common.php and it's made no difference.
I'm running version 2.0.13.2 Any help is much appreciated guys...

2
peterr
Re: PHP debug error: Notice [PHP]: A session had already been started...
  • 2006/3/27 12:23

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Are you using sessions or cookies ? this topic had some good tips.
NO to the Microsoft Office format as an ISO standard.
Sign the petition

3
bumbum
Re: PHP debug error: Notice [PHP]: A session had already been started...
  • 2006/3/27 13:19

  • bumbum

  • Just popping in

  • Posts: 99

  • Since: 2004/10/18


I'm using cookies and I have custom sessions turned off. I don't really know how either of these work so I don't know how to figure out what's going wrong.
Thanks peterr - I'm gonna have a look at that thread now.

4
peterr
Re: PHP debug error: Notice [PHP]: A session had already been started...
  • 2006/3/28 21:59

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


bumbum,

sorry for pointing to that other thread, I thought it might give you some ideas (but I didn't mean to post there).

You have a blank page and don't know what is causing it.

Yes, it is true what you say about a blank page and php, but the blank page (possible php error) is blank because you probably have php error logging to not display errors to the browser (which is what you should have for a production website anyway).

Check your web server logs for any messages, find out what the php error level reporting is, do a phpinfo() and find out if php errors are being logged to a file, then look for that file.

If you post any info from the phpinfo() here, pls leave out or comment out your username, for obvious reasons.

Can you modify .htaccess or php.ini ?

(Also, I see from other posts, you have recently downgraded from 2.2 --> 2.0.13.2 , could that have some affect ??)

P
NO to the Microsoft Office format as an ISO standard.
Sign the petition

5
bumbum
Re: PHP debug error: Notice [PHP]: A session had already been started...
  • 2006/3/29 19:05

  • bumbum

  • Just popping in

  • Posts: 99

  • Since: 2004/10/18


No worries peterr, you were helping out! I'm gonna go and have a look at those logs now.

Login

Who's Online

301 user(s) are online (215 user(s) are browsing Support Forums)


Members: 0


Guests: 301


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits