Your SlideShare is downloading. ×
0
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Drupal troubleshooting
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Drupal troubleshooting

2,188

Published on

How to find bugs in Drupal? This presentation will list a lot of tips to make your life easier.

How to find bugs in Drupal? This presentation will list a lot of tips to make your life easier.

Published in: Technology, Design
1 Comment
0 Likes
Statistics
Notes
  • Thanks for sharing.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
2,188
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
9
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Drupal troubleshooting
  • 2. Peter Arato (Pronovix)Twitter: @itaratoModules: Graphmind,Bubbletimer, Webcam trigger,Faceted ajax search, Block tab
  • 3. White screen
  • 4. Error message
  • 5. Unexpected behavior
  • 6. Low performance
  • 7. Design issues
  • 8. Bad/old content
  • 9. What to do?
  • 10. Prevention
  • 11. TestsSimpletest, Unittest, Selenium
  • 12. Quality AssuranceCoder module, PHP Code Sniffer, PHPmd, PHP Depend
  • 13. Performance toolsab, JMeter, httperf, Siege
  • 14. Debugging / performance tools xDebug, *cachegrind, MacGDBp Wireshark
  • 15. Modules
  • 16. Devel module dpm(), dvm(), dpr(), dvr(), kpr(),dargs(), dd(), ddebug_backtrace(), db_queryd() node access blocks
  • 17. from https://ratatosk.backpackit.com/pub/
  • 18. from https://ratatosk.backpackit.com/pub/
  • 19. from https://ratatosk.backpackit.com/pub/
  • 20. Drupal for FirebugFirefox and Chrome extension firep()
  • 21. from https://ratatosk.backpackit.com/pub/
  • 22. Browser toolsFirebug, DOM inspector, HTML validator, YSlow
  • 23. Journal
  • 24. Tips
  • 25. configurationini_set() (index.php, ...) .htaccess php.ini
  • 26. maximum reporting level php.ini (E_ALL) display all errorsdatabase logging and syslog modules
  • 27. debug_backtrace()
  • 28. check your limits execution time limit memory limit upload limit post limitphp (apc, suhosin), mysql
  • 29. be universal no short php tagscoding standards (vars and refs) standard sql test in multiple browsers php 5.2 (yet) use Drupal and the API
  • 30. use tools (IDE) that helps you syntax highlight function reference safer refactoring debugging code completion
  • 31. read code
  • 32. er
  • 33. quick checkssite and module settings permissions environment variables clear cache ...
  • 34. quick checkssite and module settings permissions environment variables clear cache ...
  • 35. disable modules 1 by 1
  • 36. try it on a clean Drupal install
  • 37. sql hacks disable modulesfix encoding problemsset weight of a module clear cache
  • 38. turn off cachingDrupal caches, JS, CSS,memcache, APC, proxy
  • 39. go harddump variables debug
  • 40. ask googleirc (#drupal-contribute) forum issue queue Drupal events ;)
  • 41. contribute back

×