Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 01-17-2006 14:44:11

phunter121
Member
From: UK
Registered: 03-22-2004
Posts: 101
Website

Easy One: Is This A Syntax Error

I get thousands of messages logged on my servers error log that for example say:

[Mon Jan 16 17:59:49 2006] cp-app.cgi: Use of uninitialized value in string at /hsphere/local/home/phunter1/canineconcepts.co.uk/cgi-bin/ccp51/library/common/display.pl line 546.

Line 546 has the following syntax:

Code:

return "$$var";

Is this a simple syntax error and should only have one $ sign or is the problem more complex. It not causeing any problems, but if you have any thoughts ...


Peter Hunter

Offline

 

#2 01-17-2006 15:31:26

dtwg
Member
From: California
Registered: 11-15-2004
Posts: 1339
Website

Re: Easy One: Is This A Syntax Error

No, it's not a syntax error. It's part of a subroutine/function that creates a variable name from a literal string...just part of the way things work.

My guess is that maybe you are using a CGIVAR somewhere for a variable that doesn't exist. It may (I'm not sure) show up somewhere as an error message embedded as an HTML comment in the source of the affected page. I'd surf around your site doing "view source" on various pages and see if I saw anything. If you've done any mods, those would be suspects.

Like you say, other than cluttering your error log, it's just a nuisance -- it isn't fatal. Still...

Good luck,

Dave

Offline

 

Board footer