Install syntax error
compujohnny - October 22, 2009 - 11:40
| Project: | Ubercart Option Images |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
Hi,
When I tried to enable this module I got the following message
Parse error: syntax error, unexpected ';', expecting ')' in /home/******/public_html/dev/sites/all/modules/uc_option_image/uc_option_image.install on line 11
I found the following in the install file:
$file = (object) array(
'uid' => 1,
'filename' => 'option_image_0_0_0';
'filepath' => $no_image,
'filemime' => $info['file_mime'],
'filesize' => $info['file_size'],
'status' => FILE_STATUS_PERMANENT
);
I changed the bold line and removed the ; and replaced it with a , and it all worked fine,
Please fix that if possible,
Thank you,

#1
See: http://drupal.org/node/590850