Fresh UberDrupal profile install followed by recommended updates. Uc_option_image is first new module installed with upgrade.php run after FTP upload.

Verified all requirements listed are enabled, then select the module. Choose Save Configuration. Page not found displays for http://shop.domain.com/admin/build/modules/list/confirm. Tested other module activations with no problems.

CommentFileSizeAuthor
#4 uc_option_images.998120-3.patch843 bytesneilnz

Comments

alb’s picture

confirm this problem;

I also tested to increase the
max_execution_time, max_input_time, and memory_limit
but not work

SeanK’s picture

New info:
Set up a localhost server with UberDrupal, core 6.20, and all module update recommended as of today.

Enabled Attributes. Worked as expected.

Tried to enable Option Images Dev version.
Recieved the following:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in C:\xampplite\htdocs\drupal\includes\bootstrap.inc on line 1718

So now I have a place to start.

SeanK’s picture

Next try: moved the module from the UberDrupal profile modules folder into the sites\all\modules folder. New error message:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in C:\xampplite\htdocs\drupal\sites\all\modules\uc_option_image\uc_option_image.install on line 7

neilnz’s picture

Status: Active » Needs review
StatusFileSize
new843 bytes

Here's a patch that'll get it to install.

The problem is a recursive loop because it's setting $no_image then checking $noimage.

I have removed the recursion and got it to just set the default.

SeanK’s picture

Status: Needs review » Reviewed & tested by the community

Tested patch and it has worked successfully.

acouch’s picture

Status: Reviewed & tested by the community » Fixed

I rewrote the install file so that it no longer uses that recursive call. If anyone else knows what function that served or what it should still be in the module let me know.

Status: Fixed » Closed (fixed)

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

Xermit’s picture

Version: 6.x-1.x-dev » 6.x-1.4

I have the same error
I applied the patch but not had other error:
PHP Parse error: syntax error, unexpected ';', expecting ')' in C:\xampp\htdocs\drupal\sites\all\modules\uc_option_image\uc_option_image.i

if ($info) {
    $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
    );

as result i revert patch #4 and replace symbol ';' to ',' and install is completed

mallton’s picture

I received the same error as in #8. Updating the install file to use ',' instead of ';' on line 11 resolved the issue and allowed installation to proceed. This needs to be committed.