Loading...
 

History: Debug_Mode_Enabled

Preview of version: 30

This is a profile for troubleshooting, development and debugging. It is a bit like going into Safe mode




Provides step-by-step instructions to solve common issues

Things to check/try

  1. Running latest stable version? tiki-admin.php?page=general
  2. Is database up to date? A note will appear on tiki-admin.php if DB structure is out of sync with Tiki version (3.0 and up)
  3. Clear all Tiki caches tiki-admin_system.php?do=all
  4. Clear your browser cache & cookies
  5. Try another browser
  6. Logout & log back in
  7. Check integrity of your files
  8. If you changed a server setting, did you restart Apache?
  9. Change the theme (especially if you are using custom theme)
  10. Try to reproduce the problem on a Tiki demo site. If you can reproduce, then, please report a bug



Activate debugging/logging tools

YAML
preferences: error_reporting_level: 2047 #Full error_reporting_adminonly: n #Not just for admins because we could be testing as Anonymous smarty_notice_reporting: y log_sql: y #logging sql queries log_mail: y #logging sent email log_tpl: y #add comments in templates (if you click view source, you can see which tpl was used to create it feature_debug_console: n # [http://dev.tikiwiki.org/Debugger+Console|Debugger Console] smarty_security: y # it was required to turn off for debug console, but now we can restore. feature_bot_bar_debug: y use_minified_scripts: n # to use compressed version of scripts, when available for faster performance but not so useful for debugging. style: thenews.css feature_wiki_1like_redirection: n #Tiki tries to be smart but this can be annoying because it prevents error messages on typos


Once you go in production, you should de-activate debugging/logging tools

I am locked out of Tiki

and I can't go to profiles to enable Debug Mode
  1. Go to phpMyAdmin (or the equivalent)
  2. Find the table tiki_preferences
  3. Edit the values from above.
    • Example: error_reporting_level -> 2047


You should also empty all *.tpl.php files in templates_c/


Todo in this profile.

  • Add/include or link to direct instructions on how to apply a profile.
  • Add permanent links to things often used when debugging (which would be moveable and always available)
    • tiki-admin_system.php?do=all
    • Debug console
    • etc

Questions about this profile

  • Should a Debug page be included to local tiki for easy linking?
    • Yes, and also provides feedback to user
  • Should profile switch to thenews.css ?
    • Done because some people may not know how to change, or the page may be inaccessible
    • So people need to switch back after.


De-activate unstable features

1- all experimental features
2- features known to be buggy in 3.0

History

Advanced
Information Version
Mon 25 of Nov, 2013 07:27 GMT-0000 Xavier de Pedro change theme style to default since 6.0 at least 54
View
Mon 17 of Sep, 2012 02:15 GMT-0000 Marc Laporte link to new page about this 53
View
Thu 17 of Mar, 2011 15:33 GMT-0000 Philippe Cloutier Add for 6.x 52
View
Wed 05 of Jan, 2011 19:42 GMT-0000 Marc Laporte duplicate 51
View
Wed 03 of Nov, 2010 10:46 GMT-0000 Xavier de Pedro link to the antagonic profile 50
View
Wed 03 of Nov, 2010 10:45 GMT-0000 Xavier de Pedro added aliases because I never remember the right syntax of this page, to link to it from tw.o forums for tips to users 49
View
Tue 14 of Sep, 2010 02:23 GMT-0000 Marc Laporte cleaner 48
View
Mon 21 of Jun, 2010 03:44 GMT-0000 Marc Laporte This is becoming too much of doc, so moving to doc 47
View
Mon 21 of Jun, 2010 03:19 GMT-0000 Marc Laporte 46
View
Mon 21 of Jun, 2010 02:06 GMT-0000 Marc Laporte 45
View
Mon 21 of Jun, 2010 01:53 GMT-0000 Marc Laporte 44
View
Mon 21 of Jun, 2010 01:50 GMT-0000 Marc Laporte 43
View
Mon 21 of Jun, 2010 01:46 GMT-0000 Marc Laporte 42
View
Mon 21 of Jun, 2010 01:45 GMT-0000 Marc Laporte Moved here from http://doc.tikiwiki.org/Theme+Problems 41
View
Sun 18 of Apr, 2010 20:14 GMT-0000 Marc Laporte 40
View
Sat 16 of Jan, 2010 15:25 GMT-0000 Philippe Cloutier 39
View
Sat 16 of Jan, 2010 15:23 GMT-0000 Philippe Cloutier remove "smarty_security: y" (unrelated to debugging) 38
View
Sat 21 of Nov, 2009 01:33 GMT-0000 Marc Laporte 37
View
Wed 04 of Nov, 2009 01:26 GMT-0000 Jonny Bradley add feature_debug_console 36
View
Sat 03 of Oct, 2009 00:03 GMT-0000 Marc Laporte 35
View
Fri 02 of Oct, 2009 17:27 GMT-0000 Marc Laporte 34
View
Fri 28 of Aug, 2009 17:06 GMT-0000 Marc Laporte 33
View
Fri 28 of Aug, 2009 16:41 GMT-0000 Marc Laporte 32
View
Sun 16 of Aug, 2009 22:27 GMT-0000 Marc Laporte 31
View
Wed 22 of Jul, 2009 16:06 GMT-0000 Marc Laporte 30
View