Jump to content

error in sending API


Ju-Pao

Recommended Posts

I encountered this error:

 

can't locate /var/www/soap/isrv/gallery/createuser.pm in @inc (@inc contains: /etc/httpd/lib/perl /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /etc/httpd/) at /var/www/soap/isrv/gallery.pm line 31.

 

My code is simply like this:

 

<?php

 

$result = array();

$command = 'createUser';

$parameters = array('userdetails' => array('email' => '[email protected]',

                                          'group' => 'friends',

                                          'auth_url' => '',

                                          'expirydate' => '',

                                          'name' => 'pao',

                                          'login' => '[email protected]'));

 

require('GalleryClient.class');

 

$result = GalleryClient::sendApiGallery($command, $parameters);

 

print_r ($result);

 

?>

 

What does this error mean?

How can I solve it?

Link to comment
https://forums.phpfreaks.com/topic/51613-error-in-sending-api/
Share on other sites

The error means that you are missing a Perl module that your code requires.. Specifically, /var/www/soap/isrv/gallery/createuser.pm is the missing file, but I think you normally need to go through a different process to add Perl modules to your system properly.. If you have trouble with getting the Perl module installed, then you might want to wait for someone with more Perl experience or post for help in a Perl forum..

 

Link to comment
https://forums.phpfreaks.com/topic/51613-error-in-sending-api/#findComment-254272
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.