Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Error including libraries:

Quote Reply
Error including libraries:
I keep getting this message:

Error including libraries:
syntax error at links.cfg line 154, near
"my %months = map { $_ => $i++ } qw!Jan Feb Mar Apr May Jun Jul
Aug Sep Oct Nov Dec"
(Might be a runaway multi-line DD string starting on line 136)
syntax error at links.cfg line 173, near "my @months = qw!Jan Feb "
(Might be a runaway multi-line !! string starting on line 150)
syntax error at links.cfg line 179, near "}"

I have double checked permissions and links.cfg setup. What am I doing wrong?
Quote Reply
Re: Error including libraries: In reply to
 
Code:
# Site Title, the default title to use. You should really spend some time customizing
# the directory though!
$build_site_title = 'Bob\'s Good Stuff Lists';

Note the "\" before the apostrophe. This is called "escaping" the apostrophe. Either it must be there, or the single quotes (') surrounding the title need to be changed to double quotes (").

I hope this helps.
Quote Reply
Re: Error including libraries: In reply to
Thanks, Bobsie, that did it.

Now I have a new problem. When I try to add a category I get a cgi error message:

Code:
Error Message : error in get_defaults. unable to open id file: /public_html/cgi-bin/links/admin/data/
categoryid.txt.

Reason: No such file or directory

Script Location : admin.cgi
Perl Version : 5.00502

The data dir and categoryid.txt file are there.

I also get a similar error when I try other admin functions.

Now what?