Page 1 of 1
Debug message appears in page when using 'custom content'
Posted: Fri Sep 08, 2006 10:59 am
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}
Re: Debug message appears in page when using 'custom content'
Posted: Fri Sep 08, 2006 1:05 pm
by tsw
and what would be the version of cmsms and version of customcontent?
Re: Debug message appears in page when using 'custom content'
Posted: Fri Sep 08, 2006 1:17 pm
by calguy1000
just go into the PHP file and delete the debug line.
Re: Debug message appears in page when using 'custom content'
Posted: Tue Oct 03, 2006 1:12 pm
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!
Re: Debug message appears in page when using 'custom content'
Posted: Tue Oct 03, 2006 1:53 pm
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?