JSON error
kingofdarkness4 - December 20, 2007 - 04:40
| Project: | Drupal ajaxIM |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
when updating from 5.x-1.x-dev to 5.x-2.x-dev, drupal goes straight into a halt with this error:
Fatal error: Cannot redeclare class json_obj in ../../../../httpdocs/sites/all/modules/ajaxim/ajaxim/json.php on line 23
Does anyone know why this is occuring?

#1
i suspect this is because the server and the new dev both have the line
<?phpinclude(drupal_get_path('module', 'ajaxim_server') .'/ajaxim/json.php');
?>
I commented the line out just to get rid of the error-- i don't know if this increases or decreases functionality. it just got rid of the error so I didn't have to roll back.