Posted by oneighty on February 7, 2007 at 4:21pm
| Project: | Case Tracker |
| Version: | 5.x-1.1 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | zero2one |
| Status: | closed (fixed) |
Issue Summary
I am getting a blank / empty page when clicking on Case Tracker, under Site Configuration.
Also, I can add a new Project without any problems, but the moment I want to add a Case, I get a blank screen again.
I have Views 5.x-1.5 installed & I checked in the logs and don't find any errors.
Comments
#1
Also getting a blank page when I go to the Manage Fields tab in Cases under Content Management -> Content Types.
I've tried increasing the memory as this link suggests, http://drupal.org/node/31819, but still get a Blank screen.
Help! Pleeeeeeeeeeease!!!!
#2
I've looked at my Apache log files and get the following:
[Fri Feb 09 07:44:34 2007] [error] [client 127.0.0.1] PHP Fatal error: Only variables can be passed by reference in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\Exacct\\modules\\casetracker\\casetracker.module on line 393, referer: http://localhost/Exacct/?q=admin/content/types/casetracker-basic-case
[Fri Feb 09 07:45:25 2007] [error] [client 127.0.0.1] PHP Fatal error: Only variables can be passed by reference in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\Exacct\\modules\\casetracker\\casetracker.module on line 393, referer: http://localhost/Exacct/?q=casetracker/projects
[Fri Feb 09 07:45:57 2007] [error] [client 127.0.0.1] PHP Fatal error: Only variables can be passed by reference in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\Exacct\\modules\\casetracker\\casetracker.module on line 1142, referer: http://localhost/Exacct/?q=admin/settings
#3
For the error on ine 393, I made the following changes (after reading up "variables can be passed by reference") :
...
: variable_get('casetracker_default_case_status', array_shift(array_keys($case_status_options))),
to
$form['casetracker_case_information']['case_status_id'] = array(
...
: variable_get('casetracker_default_case_status', array_shift($temp_akeys)),
Did the same for case_priority_options and case_type_options.
For the error on ine 1141, I made the following changes:
...
'#default_value' => variable_get('casetracker_default_case_'.$state, array_shift(array_keys($options))),
...
to
$temp_akeys = array_keys($options);
...
'#default_value' => variable_get('casetracker_default_case_'.$state, array_shift($temp_akeys)),
...
Hope this all makes sense, 'cause for someone who have never written anything in PHP, it's quite confusing.
#4
Thanks oneighty, I was having the same issue and that worked for me.
#5
Is fixed in http://drupal.org/node/116842
#6
Automatically closed -- issue fixed for two weeks with no activity.