2.3 upgrade regenerate thumbnails

104 views
Skip to first unread message

gs

unread,
Aug 5, 2016, 2:21:47 AM8/5/16
to ICA-AtoM Users
Hi,
regenerating thumbnails in an upgrade from 2.2.1 to 2.3 gives the following error

>> digital object Regenerating derivatives for ANUA_329-62.jpg... (2.97s)
PHP Fatal error:  Can't use function return value in write context in /var/www/html/atom-2.3.0/plugins/sfThumbnailPlugin/lib/sfImageMagickAdapter.class.php on line 403

Is it because I don't have apache FOP installed?

Thanks,

George

gs

unread,
Aug 5, 2016, 9:19:54 AM8/5/16
to ICA-AtoM Users

Could this be because I'm still on php-5.4.
Is php-5.5 an absolute requirement for version 2.3?

Thanks,

George

Dan Gillean

unread,
Aug 5, 2016, 10:21:17 AM8/5/16
to ICA-AtoM Users
Hi George,

Yes, our Requirements page includes minimum recommended requirements - I believe that there might be some functions used in AtoM 2.3 that are not available in PHP 5.4. I can't definitively say that this is the cause of the issue, but it's a good place to start.

As far as I know, Apache FOP is only used to generate PDF or RTF finding aids from your archival descriptions.

If you're able to upgrade PHP, I recommend you do so, and let us know if that resolves the issue.

Cheers,

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/d618995d-84f3-4186-a223-dde9c323e5ff%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

gs

unread,
Aug 6, 2016, 9:59:07 AM8/6/16
to ICA-AtoM Users

Hi Dan,


See below from the installation instructions for 2.3 for Ubuntu 14.04 (athough I'm on RHEL6).

PHP 5.4 should be OK (!).


PHP

You will need to ensure that you have at leat PHP 5.4 or higher installed - we use PHP 5.5 in development - in addition to a number of PHP extentions, described below.


Thanks,

George


On Saturday, 6 August 2016 00:21:17 UTC+10, Dan Gillean wrote:
Hi George,

Yes, our Requirements page includes minimum recommended requirements - I believe that there might be some functions used in AtoM 2.3 that are not available in PHP 5.4. I can't definitively say that this is the cause of the issue, but it's a good place to start.

As far as I know, Apache FOP is only used to generate PDF or RTF finding aids from your archival descriptions.

If you're able to upgrade PHP, I recommend you do so, and let us know if that resolves the issue.

Cheers,

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

On Fri, Aug 5, 2016 at 9:19 AM, gs <ggr.s...@gmail.com> wrote:

Could this be because I'm still on php-5.4.
Is php-5.5 an absolute requirement for version 2.3?

Thanks,

George

--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.

Dan Gillean

unread,
Aug 8, 2016, 3:22:40 PM8/8/16
to ICA-AtoM Users
Hi George,

I'm still not 100% sure if the PHP version is the issue or not, but my sincere apologies - it appears that this is a place where we neglected to update the docs. I have checked with the developers and there is some code in the 2.3 version that relies on PHP 5.5 or higher. I'll be updating the documentation shortly. Sorry again for any hassle this has caused.

Regards,

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.

gs

unread,
Aug 11, 2016, 3:05:25 AM8/11/16
to AtoM Users
Hi Dan,

Eventually upgraded our development PHP to version 5.6 from the remi repository.
Regenerating thumbnails completed OK.

Regards,

George

Dan Gillean

unread,
Aug 11, 2016, 1:54:51 PM8/11/16
to ICA-AtoM Users
Thanks for letting us know, George! And sorry about the confusion.

Cheers,

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages