Closed (duplicate)
Project:
Ubercart Option Images
Version:
6.x-1.4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2009 at 11:40 UTC
Updated:
22 Oct 2009 at 12:14 UTC
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,
Comments
Comment #1
TrickerTreater commentedSee: http://drupal.org/node/590850