Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect twig error. #21

Open
gertjanwytynck opened this issue Jan 16, 2014 · 0 comments
Open

Redirect twig error. #21

gertjanwytynck opened this issue Jan 16, 2014 · 0 comments

Comments

@gertjanwytynck
Copy link

Hi, first time I use Twiggy on CI so this is maybe a dumb question.

I'm using this block but I get an error on the redirect..

if($res !== false){
redirect(base_url('home'), 'refresh');
}

Displayed error:
Message: Cannot modify header information - headers already sent by (output started at /Volumes/RAID/DATA/ColdFusion9/wwwroot/romanticagony_intranet/back-end/application/vendor/Twig/lib/Twig/Environment.php(314) : eval()'d code:23)

Filename: helpers/url_helper.php
Line Number: 540

Line 314 in Environment is:
eval("?>".$this->compileSource($this->loader->getSource($name), $name));

What do I wrong?

  • I don't have whitespaces.
  • I don't have echo/print_r..

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant