Jump to content

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' => 'ju51pao@yahoo.com',

                                          'group' => 'friends',

                                          'auth_url' => '',

                                          'expirydate' => '',

                                          'name' => 'pao',

                                          'login' => 'ju51pao@yahoo.com'));

 

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.