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

Error including libraries: syntax error

Quote Reply
Error including libraries: syntax error
Hello,
I instaled the links script on my server.
When I execute the script I get this message:
>
Error including libraries: syntax error at links.cfg line 154, near "my %months = map { $_ => $i++ } qw!Jan Feb Mar Apr M"
(Might be a runaway multi-line MM string starting on line 136)
Unmatched right bracket at links.cfg line 167, at end of line
syntax error at links.cfg line 167, near "}"

Make sure they exist, permissions are set properly, and paths are set correctly.
>

What can I change to fix this?

Jim

Quote Reply
Re: Error including libraries: syntax error In reply to
Somewhere around line 136 of links.cfg you will find the configuration variable, $build_site_title.

If your site title contains an apostrophe, then you need to put a "\" in front of it, like this:

Quote:
$build_site_title = 'Bob\'s Good Stuff Lists';

Alternatively, you could just change the single quotes around the title to double quotes, like this:

Quote:
$build_site_title = "Bob's Good Stuff Lists";

I hope this helps.
Quote Reply
Re: Error including libraries: syntax error In reply to
You hit the nail on the head! Thanks for the help!

Jim