OK, I got everything up and running pretty well, I thought......admin section all works fine, adding categories, links, deleteing, modifying, etc..building pages works fine.....on main index page, I can rate a link, go to a random link, jump to a link with an ID, and search all just fine. BUT....when I attempt to ADD or MODIFY a link from the built pages, it returns a fatal error as follows:
CGI ERROR
==========================================
Error Message : fatal error: (Maybe you didn't strip carriage returns after a network transfer?)
Script Location : add.pl
Perl Version : 5.00404
Form Variables
-------------------------------------------
Environment Variables
-------------------------------------------
CONTENT_LENGTH : 266
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /home/usr42/html
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_CONNECTION : Keep-Alive
HTTP_HOST : www.mylittlecorner.com
HTTP_REFERER : http://www.mylittlecorner.com/cgi-bin/wsearch/add.pl
HTTP_USER_AGENT : Mozilla/4.08 (Macintosh; I; PPC, Nav)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 168.191.127.154
REMOTE_PORT : 1525
REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/wsearch/add.pl
SCRIPT_FILENAME : /home/usr42/cgi-bin/wsearch/add.pl
SCRIPT_NAME : /cgi-bin/wsearch/add.pl
SERVER_ADMIN : usr42@localhost
SERVER_NAME : mylittlecorner.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.3.3 (Unix) FrontPage/3.0.4.2
Now, I know this means ostensibly that I did not upload the add.cgi and the modify.cgi in ASCII mode, but I deleted each file and re-uploaded them several times, they ARE in ASCII and the path to perl is correct. If the other scripts in that directory work but not those two, what could possibly be the problem do you think??
------------------
-----------
Blessings,
Rhiannon
CGI ERROR
==========================================
Error Message : fatal error: (Maybe you didn't strip carriage returns after a network transfer?)
Script Location : add.pl
Perl Version : 5.00404
Form Variables
-------------------------------------------
Environment Variables
-------------------------------------------
CONTENT_LENGTH : 266
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /home/usr42/html
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_CONNECTION : Keep-Alive
HTTP_HOST : www.mylittlecorner.com
HTTP_REFERER : http://www.mylittlecorner.com/cgi-bin/wsearch/add.pl
HTTP_USER_AGENT : Mozilla/4.08 (Macintosh; I; PPC, Nav)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 168.191.127.154
REMOTE_PORT : 1525
REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/wsearch/add.pl
SCRIPT_FILENAME : /home/usr42/cgi-bin/wsearch/add.pl
SCRIPT_NAME : /cgi-bin/wsearch/add.pl
SERVER_ADMIN : usr42@localhost
SERVER_NAME : mylittlecorner.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.3.3 (Unix) FrontPage/3.0.4.2
Now, I know this means ostensibly that I did not upload the add.cgi and the modify.cgi in ASCII mode, but I deleted each file and re-uploaded them several times, they ARE in ASCII and the path to perl is correct. If the other scripts in that directory work but not those two, what could possibly be the problem do you think??
------------------
-----------
Blessings,
Rhiannon