0

I always get this error when I have some time without updating a project, only occurs in the development environment.

Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,'

How to avoid? or Why does this happen?

i use:

  • Symfony 2.0.9
  • Linux Mint 12 3.0.0-14-generic x86_64
  • PHP 5.3.6-13ubuntu3.3
rkmax
  • 17,633
  • 23
  • 91
  • 176

2 Answers2

1

Delete your browser cookies. It fixed the error for me

Pierre Olivier Tran
  • 1,669
  • 4
  • 24
  • 40
1

You might be using Mink or Behat. Please, make sure that they are loaded only for their environment and not dev/prod. See:

https://github.com/symfony/symfony/issues/1766

Felix
  • 341
  • 2
  • 10