Morgan Systems
Find 
  Development Notes and Bugfixes  
   

Select Article

We burn the midnight oil so you don't have to.
 
   
   
   
   
   
   
   
   
   
   
   
   




 

Acidlab Fix PHP 5.05

ACIDLab PHP 5 Fix

PHP 5.05 breaks Acidlab
Re: ACID v0.9.6b23 - PHP 5.05 breaks Acidlab
Resolution: Hacks to handle null variable passing
10/11/2005

If you've recently upgraded to PHP 5.05 and are now receiving an error using ACIDLAB's search (query) page:

Fatal error: Cannot use string offset as an array
in /usr/share/acidlab/acid_state_citems.inc

You may find this helpful. I took a little time and hacked through the code to correct the errors. The fix included edits to acid_output_html.inc, acid_state_citems.inc, and acid_state_common.inc. To install, choose either the zip or tar.gz below, backup these three files (on my system: /usr/share/acidlab), then overwrite them from the archive.

Download:
Zip
tar.gz
 
Contact us.

Comments

Add your comments

Name:
E-Mail:   We will not display your email address.
Comments: