"Header may not contain more than a single header"
igoris
Joined: 2006-06-19
Posts: 3 |
Posted: Mon, 2006-06-19 11:43 |
When I register a new user on the Gallery and subseqently try to log them in (testing), I get the following error: Warning: Header may not contain more than a single header, new line detected. in .....\gallery\modules\core\classes\GalleryPhpVm.class on line 124 I've looked at the file, but i can see nothing wrong with the header function there. Not entirely sure what's causing this problem... You can register to test this: www.foto-albumas.lt/index.php Installation is new, clean. Any ideas? Gallery versija = 2.1.1 pagrindas 1.1.0.1 |
|
Posts: 3
maybe i must change server to the Debian?
Posts: 1
I have the same problem. Is there any solution?
Posts: 32509
please try the latest nightly snapshot of gallery 2.
i seem to remember that we fixed something like that since g2.1.1a.
Posts: 29
I also got this error, in Gallery v2.1.2, too.
Posts: 32509
same advice for you. please try the nightly snapshot of g2.2 and if the problem persists, we can diagnose it.
Posts: 29
Sorry, but I install only stable version.
Posts: 1
Hey, I have a solution for this:
You may not have spaces in vars you put in the $location beneath, so do this:
$location = ereg_replace( ' +', '%20', $location );
header("Location:$location");
This error was generated after a migration to PHP5.