You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Nick
I'm trying to change the Shipping Methods (we are based in Argentina) so I need to create
MAIL X (AR To AR)
MAIL X (AR To NON AR)
etc....
When we open the Manage Realtime Shipping Methods and then Update Realtime Shipping Method we get an empty screen with this text:
To update the database entry for the item you selected, use the interface presented below.
* - Denotes a required field.
and nothing more, (no boxes, no dialogs) this is a bug or we forgot to fill something?
I open the source code and found this:
<
!-- DISPLAY ERROR: SUBROUTINE adm_iud_update_disp GENERATED MESSAGE: Can't locate object method "splitpath" via package "File::Spec" at /usr/local/etc/httpd/sites/poesia.com/htdocs/ccp5/cgi-bin/modules/CGI/Carp.pm line 257.
--
This was updated in the install package last night. Very few, but some, machines are missing the Perl module File::Spec from the core perl install. Weird but true.
You can download File::Spec from:
http://www.perl.com/CPAN-local/modules/ … 0.8.tar.gz
And upload the 'Spec' folder, all it's contents and the Spec.pm file into the directory: ./cgi-bin/modules/File. That will cure your problem.
Thank you very much for your detailed explanation of the issue. Including an error message from the source deserves applause from all the users out here!
Offline
Nick, i'm here again.
The server run Red Hat Linux.
When I upload the spec.pm the whole program return an error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
and the error.log says
<Fri Aug 9 17:19:47 2002> <error> <client 200.49.106.74> Premature end of script headers: /usr/local/etc/httpd/sites/poesia.com/htdocs/ccp5/cgi-bin/cp-admin.cgi
<Fri Aug 9 17:20:54 2002> <error> <client 200.11.240.13> File does not exist: /usr/local/etc/httpd/sites/poesia.com/htdocs/n4/img/cert02.gif
"$Verbose" is not exported by the File::Spec module at /usr/lib/perl5/5.00503/File/Spec/Unix.pm line 11
Can't continue after import errors at /usr/lib/perl5/5.00503/File/Spec/Unix.pm line 11
BEGIN failed--compilation aborted at /usr/local/etc/httpd/sites/poesia.com/htdocs/ccp5/cgi-bin/modules/CGI/Carp.pm line 226.
BEGIN failed--compilation aborted at /usr/local/etc/httpd/sites/poesia.com/htdocs/ccp5/cgi-bin/modules/CGIcustom/Error.pm line 12.
If I delete that file, it works again (with the original problem)
thanks for your hard work in this issue. email me if you need a ftp acc
Offline
Make sure the upload of those .pm files was done in ASCII. If so, ask your host to install and compile File::Spec on the server itself. That should fix it.
Offline
Sorry. I do the stuff before read the entire message.
Now its ok. thanks
Offline