Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Webseite Update: SCALAR(0x825a958) - SCALAR(0x825a970)

Quote Reply
Webseite Update: SCALAR(0x825a958) - SCALAR(0x825a970)
Hi,
each day a new surprise?
which occurred here:

Webseite Update: SCALAR(0x825a958) - SCALAR(0x825a970)

urs



Quote Reply
Re: Webseite Update: SCALAR(0x825a958) - SCALAR(0x825a970) In reply to
Where are you getting that? That usually happens when you mix up references and values in passing a parameter.

You had to have been editing the source files (not templates) to bump into that... so let us know where you were working Smile

------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/







Quote Reply
Re: Webseite Update: SCALAR(0x825a958) - SCALAR(0x825a970) In reply to
i was working on some guys site and he had this problem on all his cgi generated pages..

i have no clue how i fixed it Wink

just be sure to switch the position of

Code:
use Links::DBSQL;

put it under

Code:
use Links;

in all the cgi scripts in /cgi-bin

for some reason it is underneath

Code:
use Links::HTML_Templates;

causing it to give you errors.. especially cause in HTML_Templates.pm it calls for the date and time from Links: BSQL and since Links: BSQL routines have not been globalized yet it doesn't exist..

jerry
Quote Reply
Re: Webseite Update: SCALAR(0x825a958) - SCALAR(0x825a970) In reply to
Edit HTML_Templates.pm and make sure the part in %GLOBALS is

.. => \&get_date,
.. => \&get_time,

i.e., there are no () after get_date and get_time.

Cheers,

Alex