About Features Downloads Getting Started Documentation Events Support GitHub

Site Tools


development:troubleshooting

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
development:troubleshooting [2019/02/27 08:55]
demiankatz
development:troubleshooting [2019/03/07 08:45] (current)
demiankatz
Line 5: Line 5:
 ===== Turn on Development Mode ===== ===== Turn on Development Mode =====
  
-VuFind'​s Apache configuration includes an environment variable called VUFIND_ENV which tells the software what kind of environment it is running in -- development or production. By default, this is set to production, which activates performance-oriented caching and disabled detailed error messages for greater security. If you switch this setting to development mode (by editing $VUFIND_LOCAL_DIR/​httpd-vufind.conf,​ uncommenting the appropriate VUFIND_ENV line, and restarting Apache), cache-related problems will automatically go away, and all on-screen error messages will be presented in much greater detail for debugging purposes.+VuFind'​s Apache configuration includes an environment variable called VUFIND_ENV which tells the software what kind of environment it is running in -- development or production. By default, this is set to production, which activates performance-oriented caching and disabled detailed error messages for greater security. If you switch this setting to development mode (by editing $VUFIND_LOCAL_DIR/​httpd-vufind.conf,​ uncommenting the appropriate VUFIND_ENV line, and restarting Apache), ​most cache-related problems will automatically go away, and all on-screen error messages will be presented in much greater detail for debugging purposes
 + 
 +===== Clear the Cache ===== 
 + 
 +When in doubt, empty the contents of $VUFIND_LOCAL_DIR/​cache -- this can solve several common problems, such as changes to language files not appearing immediately.
  
 ===== Turn on Debug Mode ===== ===== Turn on Debug Mode =====
development/troubleshooting.txt · Last modified: 2019/03/07 08:45 by demiankatz