Gossamer Forum
Home : Products : Links 2.0 : Discussions :

add.cgi problem please help!!??

Quote Reply
add.cgi problem please help!!??
when i try to access to add a link the program shows this:

CGI ERROR
==========================================
Error Message : fatal error: Undefined subroutine &main::kategorie_title_mb called at /usr/local/etc/httpd/htdocs/mueblinet/cgi-bin/links/admin/site_html_templates.pl line 231.

Script Location : /usr/local/etc/httpd/htdocs/mueblinet/cgi-bin/links/add.cgi
Perl Version : 5.00404

why this subroutine it's no defined?? but i have it in the code?.

Tranks
Quote Reply
Re: add.cgi problem please help!!?? In reply to
Please make a text copy of your site_html_templates.pl, like:

templates.txt

upload it to a publicly accessible directory in your server.

Post the URL where we can find this text file.

ALSO, PLEASE DO NOT POST DUPLICATE THREADS! Just add a reply to your original Thread to bring it to the top of the forum!

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: add.cgi problem please help!!?? In reply to
Here is the URL

http://www.netmaster.com.mx/prueba/templates.txt

Thanks a lot!!.
Quote Reply
Re: add.cgi problem please help!!?? In reply to
This line is your problem:

Code:
require "$db_lib_path/templates.cfg";

$db_lib_path is not defined in site_html_templates.pl file. It is only defined in the links.cfg file.

Replace $db_lib_path with the ABSOLUTE PATH to your templates.cfg file, like the following examples:

Code:
require "/path/to/templates.cfg";

Replace /path/to/ with the complate paths from your ROOT directory to the directory where templates.cfg is located.

Code:
require "./templates.cfg";

If this file is in the same directory as your site_html_templates.pl file.

Code:
require "../templates.cfg";

If this file is located in the directory below where your site_html_templates.pl file is located.

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: add.cgi problem please help!!?? In reply to
Ok i will check this!!

Tranks a lot!!
Quote Reply
Re: add.cgi problem please help!!?? In reply to
Please re-upload the site_html_templates.pl as a text file and also make a copy of your templates.cfg file as a text file.

Provide URLs to these files.

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: add.cgi problem please help!!?? In reply to
Here is the URL
http://www.netmaster.com.mx/prueba/templates.txt

http://www.netmaster.com.mx/prueba/templates.cfg.txt

I can't find the subroutine kategorie_title_mb!!??

Thanks a lot!!.
Quote Reply
Re: add.cgi problem please help!!?? In reply to
I change the script but i have the same problem!!!

Tranks!!
Quote Reply
Re: add.cgi problem please help!!?? In reply to
You did not change the site_html_template.pl file as I suggested!

What I would recommend doing is the following:

1) Change the require line as I SUGGESTED earlier.

2) Re-install the Non-English Mod again.

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. :)
----------------------