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

date code error

Quote Reply
date code error
Hey!

My nph-build.cgi keeps giving me this error.

Error including libraries:
syntax error at site_html.pl line 34, near "$date "

But I can't find anything wrong. Got any ideas?

I already searched and I couldn't find an answer.

Wayne

Wayne Dooley
webmaster@garthworld.com
http://www.garthworld.com
Quote Reply
Re: date code error In reply to
Have you hacked the site_html.pl file? Because out-of-the box, you should not be getting any errors. It would help if you posted lines 20 - 40 in your site_html.pl file for us to see the codes you are using.

Please do not simply paste your complete site_html.pl file, just lines 20-40.

Regards,

Eliot Lee
Quote Reply
Re: date code error In reply to
I think I got the right ones. LOL


# ----------------------------------------------------------------------
# The HTML in this file and the style sheet (links.css) have been authored
# by Chris Croome of webarchitects.
#
# Email: chris@atomism.demon.co.uk
# Web: http://www.webarchitects.co.uk/
# ----------------------------------------------------------------------

##########################################################
## Globals ##
##########################################################
# You can put variables here that you would like to use throughout
# the site.

$date = &get_date;
$time = &get_time;

# The default DTD is HTML 4 strict. You can check this using the W3's validator
# http://validator.w3.org/
#
# HTML 4.0 strict results in a very plain look in NN 2/3 and MSIE 2 as the


Wayne

Wayne Dooley
webmaster@garthworld.com
http://www.garthworld.com
Quote Reply
Re: date code error In reply to
Run it using telnet/ssh - I find that the best way to pinpoint errors.

It is not likely to be those lines you pasted - probably something further down.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/