Whenever I view a page using this mod (i.e. the subjects_user_viewpage func) I get that annoying headers already sent warning
Warning: Cannot modify header information - headers already sent by (output started at C:\GuitarDreamsNew\public_html\modules\subjects\pnuser.php:1952) in C:\GuitarDreamsNew\public_html\includes\pnHTML.php on line 334
Does anyone know why on earth this is happening? It is so annoying - I can't activate this mod on my live site because users will see that damn warning every time!
-brian
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
- mesteele101 responded to »How to install Zikula for MSSQL ??? - Part II« 19. May
- mesteele101 created topic »File packaging« 16. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Problem w/ Subjects Mod
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 31, 2007
- Posts: 28
Most errors of the "Cannot add header information..." type can be fixed by removing surplus whitespace, normally at the end of the first mentioned file. See if your modules\subjects\pnuser.php file looks like this at the end:
1952 ?>
1953
1954
Remove extra lines. Save. -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 151
I wish that was the case, but there are no extra lines. I think it has something to do with the fact that in one function, there is a call like this
$output = new pnHTML();
$output->SetInputMode(_PNH_VERBATIMINPUT);
Then before that functions ends, it calls a function that also starts with those two lines. And after looking at pnHTML, there is so header related stuff going on in there. But it is beyond me at this point.
-brian
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
