Hi,
I am hoping someone can help me with this. I am installing this script for the first time and so far it hasn't worked. I have been able to add a category so far but I can't add a link. When I try to add a link using the admin form/page, it gives the following error:
Error: Unable to Add Link
There were problems with the following fields:
Date (Invalid date format)
Please fix any errors and submit the record again.
The form already had the date on it (16-Sep-2000) and I didn't change it. When this error comes up, the form is still right there under the error message for me to correct the date. What do I do to make it work? I have tried entering the date in different ways but did not succeed. When I changed the date to (16_Sep_2000) with the underscores, I got this long text error below:
CGI ERROR
==========================================
Error Message : fatal error: Can't locate Time/Local.pm in @INC (@INC contains: /usr/local/etc/httpd/cgi-bin/links/admin /usr/local/lib/perl5/i386-bsdos/5.00403 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-bsdos /usr/local/lib/perl5/site_perl .) at /usr/local/etc/httpd/cgi-bin/links/admin/links.cfg line 160.
Script Location : /usr/local/etc/httpd/cgi-bin/links/admin/admin.cgi
Perl Version : 5.00403
Form Variables
-------------------------------------------
Category : Entertainment
Contact Email : ashehab@netscape.net
Contact Name : Ed Shehab
Date : 16_Sep_2000
Description :
Hits : 0
ID : 3
Rating : 0
ReceiveMail : Yes
Title : Music of Lebanon
URL : http://www.musicoflebanon.com
Votes : 0
add_record : Add Link
db : links
isNew : No
isPopular : No
Environment Variables
-------------------------------------------
CONTENT_LENGTH : 271
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /usr/local/etc/httpd/htdocs
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.musicoflebanon.com
HTTP_REFERER : http://www.musicoflebanon.com/cgi-bin/links/admin/admin.cgi
HTTP_USER_AGENT : Mozilla/4.61 [en] (WinNT; U)
PATH : /bin:/usr/bin:/usr/contrib/bin:/usr/local/bin:/usr/home/musicofl/bin
QUERY_STRING :
REMOTE_ADDR : 24.218.196.73
REMOTE_HOST : h00c04f598682.ne.mediaone.net
REMOTE_PORT : 1298
REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/links/admin/admin.cgi
SCRIPT_FILENAME : /usr/local/etc/httpd/cgi-bin/links/admin/admin.cgi
SCRIPT_NAME : /cgi-bin/links/admin/admin.cgi
SERVER_ADMIN : webmaster@musicoflebanon.com
SERVER_NAME : www.musicoflebanon.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.3.1.1 SSL/1.15 PHP/4.0b2
Plesae help me..I have read all the posts regarding this error. I also tried to download the Local.pm file from suggested links but I couldn't find it. Please help..I am not experienced at Perl.
Thanks!!
I am hoping someone can help me with this. I am installing this script for the first time and so far it hasn't worked. I have been able to add a category so far but I can't add a link. When I try to add a link using the admin form/page, it gives the following error:
Error: Unable to Add Link
There were problems with the following fields:
Date (Invalid date format)
Please fix any errors and submit the record again.
The form already had the date on it (16-Sep-2000) and I didn't change it. When this error comes up, the form is still right there under the error message for me to correct the date. What do I do to make it work? I have tried entering the date in different ways but did not succeed. When I changed the date to (16_Sep_2000) with the underscores, I got this long text error below:
CGI ERROR
==========================================
Error Message : fatal error: Can't locate Time/Local.pm in @INC (@INC contains: /usr/local/etc/httpd/cgi-bin/links/admin /usr/local/lib/perl5/i386-bsdos/5.00403 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-bsdos /usr/local/lib/perl5/site_perl .) at /usr/local/etc/httpd/cgi-bin/links/admin/links.cfg line 160.
Script Location : /usr/local/etc/httpd/cgi-bin/links/admin/admin.cgi
Perl Version : 5.00403
Form Variables
-------------------------------------------
Category : Entertainment
Contact Email : ashehab@netscape.net
Contact Name : Ed Shehab
Date : 16_Sep_2000
Description :
Hits : 0
ID : 3
Rating : 0
ReceiveMail : Yes
Title : Music of Lebanon
URL : http://www.musicoflebanon.com
Votes : 0
add_record : Add Link
db : links
isNew : No
isPopular : No
Environment Variables
-------------------------------------------
CONTENT_LENGTH : 271
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /usr/local/etc/httpd/htdocs
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.musicoflebanon.com
HTTP_REFERER : http://www.musicoflebanon.com/cgi-bin/links/admin/admin.cgi
HTTP_USER_AGENT : Mozilla/4.61 [en] (WinNT; U)
PATH : /bin:/usr/bin:/usr/contrib/bin:/usr/local/bin:/usr/home/musicofl/bin
QUERY_STRING :
REMOTE_ADDR : 24.218.196.73
REMOTE_HOST : h00c04f598682.ne.mediaone.net
REMOTE_PORT : 1298
REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/links/admin/admin.cgi
SCRIPT_FILENAME : /usr/local/etc/httpd/cgi-bin/links/admin/admin.cgi
SCRIPT_NAME : /cgi-bin/links/admin/admin.cgi
SERVER_ADMIN : webmaster@musicoflebanon.com
SERVER_NAME : www.musicoflebanon.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.3.1.1 SSL/1.15 PHP/4.0b2
Plesae help me..I have read all the posts regarding this error. I also tried to download the Local.pm file from suggested links but I couldn't find it. Please help..I am not experienced at Perl.
Thanks!!