Drupal 5.9.
On reply pages an array is being printed in the source code that contains ip address, e-mail address of the person who commented, and more. How do I get rid of this? I have no idea how this could have arised... Seems like some sort of error logging is going on? I have not seen another site with this problem. Quite concering though.
The content being printed in source code looks like this:
stdClass Object
(
[cid] => 1350
[pid] => 0
[nid] => 467
[uid] => 0
[subject] => "subject...
[comment] =>
"comment
[hostname] => 82.182.26.101
[timestamp] => 1226965177
[score] => 0
[status] => 0
[format] => 3
[thread] => 01/
[users] => a:1:{i:0;i:0;}
[name] => name
[mail] => name@gmail.com
[homepage] =>
[registered_name] =>
[picture] =>
[data] =>
[new] => 0
)
Comments
You are saying that you see
You are saying that you see this text printed in the HTML source code? What is the URL of the page in question and what feature exactly are you calling "reply pages?" Would help if you know which module this is.
PS: Drupal 5.9 is outdated and should be replaced by 5.12, to obtain all security and bug fixes.
--
Gallery Robinson
Web Development Specialists
http://galleryrobinson.com/
--
CiviHosting - Drupal Hosting Specialists -- 100% Satisfaction Guaranteed
Here's a URL you can look
Here's a URL you can look at:
http://www.axbom.se/comment/reply/172/28
From my prespective it's just the regular comment module. I thought of disabling the Subscriptions module in case that triggered it but it's still the same.
I'll try upgrading to 5.12 tonight as well and see if that helps.
--
http://www.axbom.se
--
http://www.axbom.se
Check your theme
There is probably a debugging statement in your theme. Look for a var_dump in comment.tpl.php or one of the other theme functions/files.
Alan Davison
www.caignwebs.com.au
Alan Davison
Back roads somewhere in South America
LiteJazz theme comment.tpl.php
Thanks,
Line 29 of the comment template in the LiteJazz theme had this:
<?phpprint_r($comment)
?>
which is a debug statement. Just changed it to
<?phpprint($comment)
?>
--
http://www.axbom.se
--
http://www.axbom.se
just delete the whole row
Apparently the
<?phpprint($comment)
?>
does nothing. Just delete it if you have this problem.
Addition: it appears that the comment.tpl.php that I'm using is not an original part of the LiteJazz theme - so no dark light over the theme developers. I must have gotten that code from somewhere else, unfortunately I have no recollection of where, if it was the forums or other documentation. I remember needing the feature to have a separate background color for comments posted by admin.
--
http://www.axbom.se
--
http://www.axbom.se