*sigh*
Well, there are definitely OTHER syntax errors in your
links.cfg before the line where the
$build_index is located...
Here are some that I found:
1) The following line:
Code:
$db_admin_email = 'linksadmin\@atwab.com';
You do NOT need the escape character, and the codes should look like the following:
Code:
$db_admin_email = 'linksadmin@atwab.com';
2) What the heck are the following codes for:
Code:
%db_ignore_doubles = ( www.jkghjfgdf.com" => 1 );
Either delete this line or change the codes to the following:
Code:
%db_ignore_doubles = (
www.jkghjfgdf.com => 1
);
3) I don't know why the heck you have the following codes:
Code:
if ($ENV{'PATH_INFO'} =~ m,^/category,) {
require "$db_lib_path/category.def";}else {
require "$db_lib_path/links.def";
}
But I would delete them.
4) The following lines need to be changed:
Code:
$db_mail_path = "/usr/lib/sendmail -t";
to the following:
Code:
$db_mail_path = "/usr/lib/sendmail";
5) Also...most if not ALL of your variable definitions are incorrect! Change all your variable definitions toward the top of your file to the following:
Code:
$db_script_url = $db_dir_url . "http://atwab.com/links/admin/admin.cgi";
to the following:
Code:
$db_script_url = "http://atwab.com/links/admin/admin.cgi";
Code:
$build_new_path = $build_root_path . "/home/atwab/public_html/links/New";
to the following:
Code:
$build_new_path = $build_root_path . "/New";
Code:
$build_cool_path = $build_root_path . "/home/atwab/public_html/links/Cool";
to the following:
Code:
$build_cool_path = $build_root_path . "/Cool";
Code:
$db_header_path = $db_script_path . "/home/atwab/public_html/links/header";
to the following:
Code:
$db_header_path = $db_script_path . "/header";
Do you get the picture?
There are more variables that you need to change...
Good luck!
Regards,
------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.