Debug message appears in page when using 'custom content'

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
scotch33
Dev Team Member
Dev Team Member
Posts: 284
Joined: Tue Feb 14, 2006 9:56 pm

Debug message appears in page when using 'custom content'

Post by scotch33 »

Hi I am getting the following message when I log in as a member on my site...

DEBUG: this user(1) is not a member of group Pending

I have two groups set up - pending and members - I am testing the login as a 'member'.  The custome content code I am using is below...

{cms_module module=CustomContent}

Welcome to the membership area and thanks for signing up so we can cross reference your details.  At the moment your membership is pending approval.Please bare with us and we will check you with the members database as soon as possible.



{content}
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: Debug message appears in page when using 'custom content'

Post by tsw »

and what would be the version of cmsms and version of customcontent?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Debug message appears in page when using 'custom content'

Post by calguy1000 »

just go into the PHP file and delete the debug line.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
scotch33
Dev Team Member
Dev Team Member
Posts: 284
Joined: Tue Feb 14, 2006 9:56 pm

Re: Debug message appears in page when using 'custom content'

Post by scotch33 »

Hi,

ok.

firstly I am using 0.13 and 1.0.5.
I have also just checked and the debug is coming up on both group types...

in members it says - DEBUG: this user(216) is not a member of group Pending
in pending it says - DEBUG: this user(216) is not a member of group Members

Also on the very first login that a member does it fails, then on the next and all ones after it it is fine. 

Now if poss I would like to know how to sort this out - if anyone has any pointers that would be great.

In the mean time the removal of the custom content DEBUG line caused the front end to lose all formatting and the back end to throw this up...

Warning: Cannot modify header information - headers already sent by (output started at /home/ile01/public_html/modules/CustomContent/CustomContent.module.php:749) in /home/ile01/public_html/lib/classes/class.admintheme.inc.php on line 161 Warning: Cannot modify header information - headers already sent by (output started at /home/ile01/public_html/modules/CustomContent/CustomContent.module.php:749) in /home/ile01/public_html/lib/classes/class.admintheme.inc.php on line 164 Warning: Cannot modify header information - headers already sent by (output started at /home/ile01/public_html/modules/CustomContent/CustomContent.module.php:749) in /home/ile01/public_html/lib/classes/class.admintheme.inc.php on line 167 Warning: Cannot modify header information - headers already sent by (output started at /home/ile01/public_html/modules/CustomContent/CustomContent.module.php:749) in /home/ile01/public_html/lib/classes/class.admintheme.inc.php on line 168 Warning: Cannot modify header information - headers already sent by (output started at /home/ile01/public_html/modules/CustomContent/CustomContent.module.php:749) in /home/ile01/public_html/lib/classes/class.admintheme.inc.php on line 171 Warning: Cannot modify header information - headers already sent by (output started at /home/ile01/public_html/modules/CustomContent/CustomContent.module.php:749) in /home/ile01/public_html/lib/classes/class.admintheme.inc.php on line 176

thus at the moment I have still got the problem.

Thanks!
scotch33
Dev Team Member
Dev Team Member
Posts: 284
Joined: Tue Feb 14, 2006 9:56 pm

Re: Debug message appears in page when using 'custom content'

Post by scotch33 »

Further to the previous - on restoring the original custom content module - got the system playing nicely without the debug messages (NOTE: for no reason, mind you) but a new problem has arisen - now my page with custom content areas is ignoring what group the user is in and showing all info for all areas.

Any ideas anyone? 
Post Reply

Return to “Modules/Add-Ons”