Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 12076

Use it for questions about module and theme debugging (e.g. "How do I debug this situation?").

1
vote
Testing framework, an alternative method for debugging email is to hijack drupal_mail. To do this you need to install the Devel module and edit the core mail.inc by replacing the standard drupal_mail … restore mail.inc with a pristine version when done debugging. Note: The latter method is a rather nasty hack (but I've found it useful a few times). Using the Testing framework to debug mail is the recommended method. …
answered Apr 29 '14 by Free Radical
1
vote
search through the current directory and all the directories below it for the string "print_r" and print out all lines containing that string, prefixed with its file name. For future debugging, I … suggest you install the Devel module for debugging. At least one of its debug printout functions (dpm()) will print where the debug statement is placed by name of file and line number if the object is …
answered Apr 29 '14 by Free Radical
1
vote
I assume you've got no backup from before you messed up the site, so that the obvious solution - using your favourite SQL management tool (e.g. phpMyAdmin or the CLI SQL program) to restore from backu …
answered Jun 6 '14 by Free Radical
1
vote
You can only have a string (not an array) as the second argument to dpm(). Try: dpm($array, "array: ");
answered Apr 11 '16 by Free Radical
1
vote
If you can accept using a module for this, rather than a theme override, you should be able to use CustomError: This module allows the site admin to create custom error pages for HTTP status codes …
answered May 23 '15 by Free Radical
2
votes
It is impossible to tell you exactly what is wrong with the information that is given. I run several multi-sites using separate databases, and they work as advertised when I set them up following the …
answered Jun 27 '13 by Free Radical