uc_option_image.install file had an array problem at line#11

$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
);

should be

$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
);

----

attachment contains the fixed file

CommentFileSizeAuthor
#1 uc_option_image.install.patch464 bytesMatteo Lorétan

Comments

Matteo Lorétan’s picture

Status: Active » Needs review
StatusFileSize
new464 bytes

Here is a patch to fix the problem, replacing the semicolon with a comma as a described above.

dakku’s picture

Status: Needs review » Reviewed & tested by the community

works..
can this be added to CVS?

spaquet’s picture

Yep, this should be patch in the CVS since it's an easy one.

acouch’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

This has been fixed in the dev version. Please let me know if you are still having trouble installing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.