Closed (fixed)
Project:
Andromeda
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2011 at 16:33 UTC
Updated:
13 Jul 2011 at 22:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
yshido commentedcan you please make a screenshot and add it to this issue?
Thanks
Comment #2
paul_constantine commentedHere are some screenshots of the page right before and after saving the comment.
After the css is gone I can not access the comment. I can click but it will not load.
Reloading the homepage will bring back the page in full css, trying to read the comment will crash the css again (without displaying the comment).
Regards,
Paul
Comment #3
yshido commentedI just reproduced this issue on an x86 machine with win7 and FF. After posting a comment (on a blog in my case) the page doesnt show the correct way anymore.
Here is the php error message:
Fatal error: Call to undefined function dsm() in /var/www/clients/client1/web22/web/sites/all/themes/andromeda/templates/comment.tpl.php on line 73
Comment #4
yshido commentedquick and dirty fix:
solution 1:
<?php print dsm($author); ?>into
<?php print drupal_set_message($author); ?>If you use this one, the css will be back in place, but there ist still something wierd within the line where the name of the author and comment date are shown. (see pic)
solution 2:
just get rid of the whole line 73 within the comment.tpl.php until Arshad brings up a better solution. And thats what I have done ;)
Comment #5
paul_constantine commentedThank you yshido,
I also opted for your solution number 2.
Worked great for me.
Comment #6
shadcn commenteddsm() should not be there at all. Removed the line in the development branch. See http://drupalcode.org/project/andromeda.git/commit/8786761
Thanks for spotting that Paul and thanks for your help @yshido.
Comment #7
yshido commentedComment #8
ethos_bass commentedJust wanted to confirm that solution #1 in post 4 worked for me. I had the same problems as listed above (failed function dsm($author)). Using drupal 7.2, Andromeda 7.x-1.x-dev.
Changed line 73 in comment.tpl.php to
<?php print drupal_set_message($author); ?>and all is well.Thanks for solution.
Comment #9
yshido commentedI want to point on #6 from the maintainer. You should remove the dsm completly or better get the complete new version from git (link in #6)