DokuWiki

It's better when it's simple

User Tools

Site Tools


bugs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bugs [2015-08-21 14:35]
andi [Server/PHP Error Logs]
bugs [2018-01-03 13:45] (current)
andi [Report a Bug]
Line 5: Line 5:
 ===== Make sure it is a Bug ===== ===== Make sure it is a Bug =====
  
-Before you report something, try to research if the problem you encounterreally is a bug. Maybe it is intended behavior for some reason? Maybe there'​s a [[config|setting]] you could to tune?+Before you report something, try to research if the problem you encounter really is a bug. Maybe it is intended behavior for some reason? Maybe there'​s a [[:config|setting]] you could tune?
  
-You should also search the [[https://​forum.dokuwiki.org|forum]] if people had the same problem before. Maybe there'​s a fix already?+You should also search the [[https://​forum.dokuwiki.org/|forum]] if people had the same problem before. Maybe there'​s a fix already?
  
-However if still in doubt, just open a bug report. We can always close itshould it turn out to not be a bug.+Howeverif still in doubt, just open a bug report. We can always close it should it turn out to not be a bug.
  
 ===== Check if the problem is already reported ===== ===== Check if the problem is already reported =====
  
-All bugs should be reported in our bug tracker at github ​located at: https://​github.com/​splitbrain/​dokuwiki/​issues+All DokuWiki ​bugs should be reported in our bug tracker at GitHub ​located at: [[https://​github.com/​splitbrain/​dokuwiki/​issues]]. For bugs in plugins and templates use the plugin'​s own bugtracker --- you'll find a link to that on the plugin'​s documentation page.
  
-Use the search to check if your problem already has been reported. Also make sure you search through closed bugs as well - the bug might have been fixed already in development.+Use the search to check if your problem already has been reported. Also make sure you search through closed bugs as well --- the bug might have been fixed already in development.
  
-If the bug was reported already, check if can provide additional information to aid fixing the bug. See below on how.+If the bug was reported already, check if you can provide additional information to aid fixing the bug. See below on how.
  
 ===== Report a Bug ===== ===== Report a Bug =====
 +
 +As mentioned above, DokuWiki bugs **have** to be reported at [[https://​github.com/​splitbrain/​dokuwiki/​issues]]. You will need a free GitHub account to do so. Please **do not** report bugs anywhere else (IRC, Twitter, Forum). The Bug Tracker at GitHub is the only canonical way to report a bug. Again: report plugin bugs in the plugin'​s bug tracker.
  
 When reporting a bug you should try to include as much information as possible that helps developers with identifying the problem. When reporting a bug you should try to include as much information as possible that helps developers with identifying the problem.
Line 33: Line 35:
   * Exact steps to reproduce the problem   * Exact steps to reproduce the problem
   * Screenshots   * Screenshots
 +  * What did you try to fix the problem and what where the exact results?
  
 It is especially important to gather exact error messages! See if you can find error logs from the web server and the JavaScript console (see below). It is especially important to gather exact error messages! See if you can find error logs from the web server and the JavaScript console (see below).
Line 44: Line 47:
 ==== Server/PHP Error Logs ==== ==== Server/PHP Error Logs ====
  
-When ever something goes fatally wrong, PHP will just stop processing your request. ​The usually results in a [[faq:​blankpage|blank or partially rendered page]]. Sometimes errors are less gravebut things are still missing.+Whenever ​something goes fatally wrong, PHP will just stop processing your request. ​This usually results in a [[faq:​blankpage|blank or partially rendered page]]. Sometimes errors are less grave but things are still missing.
  
-In all those cases PHP will log an error message to some log file. Where exactly that log file resides is different from system to system. Errors might be logged to the webserver's error log, the system global log or a specific PHP error log. This is configured in the [[phpfn>​error_log]] directive in php.ini.+In all of those cases PHP will log an error message to some log file. Where exactly that log file resides is different from system to system. Errors might be logged to the web server's error log, the system global log or a specific PHP error log. This is configured in the [[phpfn>​error_log]] directive in php.ini.
  
 Typical locations are: Typical locations are:
  
-  * /​var/​log/​apache2/​error.log +  * ''​/​var/​log/​apache2/​error.log''​ 
-  * /​var/​log/​apache/​error.log +  * ''​/​var/​log/​apache/​error.log''​ 
-  * /​var/​log/​httpd/​error.log +  * ''​/​var/​log/​httpd/​error.log''​ 
-  * /​var/​log/​syslog+  * ''​/​var/​log/​syslog''​
  
-If you are on a hosted server, best ask your provider ​on where to find that log.+If you are on a hosted server, best ask your provider where to find that log.  If you don't have access to ''​php.ini''​ and can't find the log file you could also try adding the following to the ''​.htaccess''​ file in your DokuWiki root folder: 
 + 
 +<​code>​ 
 +php_value display_errors 1 
 +php_value display_startup_errors 1 
 +</​code>​ 
 + 
 +That may send the error message to the browser.
  
 ==== JavaScript Console log ==== ==== JavaScript Console log ====
Line 67: Line 77:
 | Safari ​ |                              | ''​Cmd''​ + ''​Opt''​ + ''​C''​ | | Safari ​ |                              | ''​Cmd''​ + ''​Opt''​ + ''​C''​ |
  
-If you see any errors (usually shown in red) in the console, go to your [[plugin:​config|config manager]] and disable the [[config:​compress|compress setting]]. Reload the page and check the JavaScript console for errors again+If you see any errors (usually shown in red) in the console, go to your [[plugin:​config|config manager]] and disable the [[config:​compress|compress” setting]]. Reload the page and check the JavaScript console for errors again.
- +
-If you find errors in the JavaScript console you should always attach them to your bug report. Preferably the ones found with the compress setting disabled. However sometimes errors only show up with compress enabled - in that case send us these error messages.+
  
 +If you find errors in the JavaScript console you should always attach them to your bug report. Preferably the ones found with the "​compress"​ setting disabled. However, sometimes errors only show up with "​compress enabled"​ --- in that case send us these error messages.
  
 ===== Recently opened tasks ===== ===== Recently opened tasks =====
  
-{{rss>http://pipes.yahoo.com/pipes/pipe.run?_id=02bfefe73ba14054570ce82f1929e433&_render=rss&owner=splitbrain&repo=dokuwiki 1h date}}+[[http://​feeds.feedburner.com/​dokuwiki-recently-opened-tasks|{{https://raw.githubusercontent.com/legacy-icons/famfamfam-silk/​master/​dist/​png/​feed.png?16x16&recache|Subscribe to ‘DokuWiki:​ Recently Opened Tasks’ by RSS}}]]  [[https://​feedburner.google.com/​fb/​a/​mailverify?​uri=dokuwiki-recently-opened-tasks&amp;loc=en_US|{{https://​raw.githubusercontent.com/​legacy-icons/​famfamfam-silk/​master/​dist/​png/​email.png?​16x16&recache|Subscribe to ‘DokuWiki:​ Recently Opened Tasks’ by email}}]]
  
 +{{rss>​http://​feeds.feedburner.com/​dokuwiki-recently-opened-tasks date author}}
  
bugs.1440160505.txt.gz · Last modified: 2015-08-21 14:35 by andi