User login

debugging

Internal error from Redmine turns out to be due to tmp directory being full

This helpful error:

Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your redMine administrator for assistance.

When looked into the logs:

sudo tail -f /var/log/redmine/default/production.log

Installing NetBeans 7 on Ubuntu 11.10

Install the prerequisites via the command line:

sudo apt-get install openjdk-7-jdk openjdk-7-jre

Note: This will take a while and you will have to respond yes ("y") to the questions.

Then download Netbeans from their site and run the installer. We use the PHP only version.

Note: the installer will probably be located in /home/[username]/Downloads. To run you may need to cd to the Downloads directory, change the permissions using the chmod command, and then run with "./[installer_name]".

Where are the error logs when you need them?

Apache will also log errors to:

syslog

Stefan notes: in case of panic you can try to grep -R in /var/log for PHP Fatal error

Benjamin Doherty says this is covered in the DGD7 environment chapter.

Using a debugger

To open AJAX modal windows or submit forms while watching with a debugger

Start the debugger and go to the desired page once it has completed loading the first. Then go through the next run and submit the form. You stay in the debugger until you stop t. The only important thing is to complete all page loads in the debugger.

Syndicate content