Getting error when we try to import CSV or XML in atom 2.3.1 in Linux 7

123 views
Skip to first unread message

binay...@gmail.com

unread,
Jun 19, 2017, 2:19:59 AM6/19/17
to AtoM Users
Hi,
I am using ATom 2.3.1 with PHP 5 on redhat linux 7.
when i try to import a csv i am getting below error.

Import a CSV file

Error encountered


Fatal error: Uncaught exception 'sfInitializationException' with message 'arElasticSearchPlugin needs cURL PHP extension' in /usr/share/nginx/atom/plugins/arElasticSearchPlugin/config/arElasticSearchPluginConfiguration.class.php:36
Stack trace:
#0 /usr/share/nginx/atom/vendor/symfony/lib/config/sfPluginConfiguration.class.php(47): arElasticSearchPluginConfiguration->initialize()
#1 /usr/share/nginx/atom/vendor/symfony/lib/config/sfProjectConfiguration.class.php(93): sfPluginConfiguration->__construct(Object(ProjectConfiguration), '/usr/share/ngin...', 'arElasticSearch...')
#2 /usr/share/nginx/atom/vendor/symfony/lib/config/sfProjectConfiguration.class.php(64): sfProjectConfiguration->loadPlugins()
#3 /usr/share/nginx/atom/vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php(37): sfProjectConfiguration->__construct('/usr/share/ngin...', Object(sfEventDispatcher))
#4 /usr/share/nginx/atom/vendor/symfony/lib/command/sfCommandApplication.class.php(61): sfSymfonyCommandApplication->configure()
#5 /usr/share/nginx/a in /usr/share/nginx/atom/plugins/arElasticSearchPlugin/config/arElasticSearchPluginConfiguration.class.php on line 36






when we checked the Linux box we can see curl is enable.


[‎19/‎06/‎2017 4:12 PM] Kanwat, Sangeeta:

curl

 

cURL support => enabled

cURL Information => 7.29.0

Age => 3

Features

AsynchDNS => Yes

Debug => No

GSS-Negotiate => Yes

IDN => Yes

IPv6 => Yes

Largefile => Yes

NTLM => Yes

SPNEGO => No

SSL => Yes

SSPI => No

krb4 => No

libz => Yes

CharConv => No

Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp

Host => x86_64-redhat-linux-gnu

SSL Version => NSS/3.21 Basic ECC

ZLib Version => 1.2.7

libSSH Version => libssh2/1.4.3



Can someone help for the same 

 

Dan Gillean

unread,
Jun 19, 2017, 10:41:48 AM6/19/17
to ICA-AtoM Users
Hi there,

We do not test installations on RedHat or other Linux flavors, but since RHEL is essentially the same as CentOS with a few added features, you might want to look at previous posts tagged in our user forum as centOS:

Read more about using the tags in the AtoM user forum on our wiki, here: https://wiki.accesstomemory.org/Resources/User_forum/Tags

For example, this recent post might be useful:

As noted in the above post, you will need PHP 5.5 with AtoM 2.3 - RHEL apparently installs PHP 5.4.16 by default. You might also find some of the information in the PHP manual on the curl extension useful, such as this comment:

Another user has also shared some instructions on how they got AtoM working on RHEL 7.1, here:

We have not tested these instructions ourselves, but hopefully they will give you some ideas.

Good luck! Let us know how it goes.


Regards,


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.
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/aea57143-53b7-4560-a66f-3aee30727e01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages