Gossamer Forum
Home : Products : Links 2.0 : Customization :

Have tried but 'Priority Logo' still gives an error...

Quote Reply
Have tried but 'Priority Logo' still gives an error...
I have changed the files according to the instructions delivered for 'Priority Logo Links and Regular Logo Links' on http://www.concepts2000.com/Directory/Mods/priority.html but it doesn't seem to work.

I get the following error:
----------------------------------


CGI ERROR
==========================================
Error Message : fatal error: syntax error at /my/longer/dir/to/admin/links.def line 37, near "Graphic"
syntax error at /my/longer/dir/to/admin/links.def line 88, near "Priority"

Script Location : admin.cgi
Perl Version : 5.00502

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /my/longer/dir
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: nl
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.myhost.com
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : ---.---.---.---
REMOTE_PORT : 1186
REMOTE_USER : blabla
REQUEST_METHOD : GET
REQUEST_URI : /mydir/to/admin/admin.cgi
SCRIPT_FILENAME : /my/longer/dir/to/admin/admin.cgi
SCRIPT_NAME : /mydir/to/admin/admin.cgi
SERVER_ADMIN : me@myhost.com
SERVER_NAME : www.myhost.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.3 (Unix) PHP/3.0.9 FrontPage/3.0.4.3
TZ : US/Central

-----------------------------------

Does anyone have an idea what is wrong. (the code was adjusted according to the link mentioned earlier.

Thanks,

Mark
Quote Reply
Re: Have tried but 'Priority Logo' still gives an error... In reply to
Make sure you have commas after the ] except for the last field in your %db_def hash in the links.def file.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Have tried but 'Priority Logo' still gives an error... In reply to
Thanks alot Eliot. That certainly did the trick. Should have practiced more CGI I think, wouldn't have happened then.

Again, Thank you.

Mark
Quote Reply
Re: Have tried but 'Priority Logo' still gives an error... In reply to
It is Perl, not CGI, that you need to learn.

Wink

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Have tried but 'Priority Logo' still gives an error... In reply to
ehe.. well thanks anyway.

Mark