Ju-Pao Posted May 16, 2007 Share Posted May 16, 2007 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? Quote Link to comment https://forums.phpfreaks.com/topic/51613-error-in-sending-api/ Share on other sites More sharing options...
phast1 Posted May 16, 2007 Share Posted May 16, 2007 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.. Quote Link to comment https://forums.phpfreaks.com/topic/51613-error-in-sending-api/#findComment-254272 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.