Gossamer Forum
Home : Products : Gossamer Links : Discussions :

defined(%hash) is deprecated at ...../admin/GT/Base.pm line 100.

Quote Reply
defined(%hash) is deprecated at ...../admin/GT/Base.pm line 100.
Does anyone know the fix for all of the defined deprecated messages?


Code:
defined(%hash) is deprecated at /public_html/cgi-local/admin/GT/Base.pm line 100.

(Maybe you should just omit the defined()?)
defined(@array) is deprecated at /public_html/cgi-local/admin/GT/Base.pm line 224.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /public_html/cgi-local/admin/GT/SQL/Base.pm line 410.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /public_html/cgi-local/admin/GT/SQL/Driver.pm line 273.
(Maybe you should just omit the defined()?)



Cheers,


Alex
Quote Reply
Re: [AlexJ] defined(%hash) is deprecated at ...../admin/GT/Base.pm line 100. In reply to
Hi,

Which version of GLinks are you running? Basically there are a load of files that need changing to work with the newer versions of Perl. I've been through and fixed up a set of modules for myself (attached). If you are using the latest version (3.2.0 +). Just be sure to backup your own files though, in case it doesn't work for you.

Cheers

Andy

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] defined(%hash) is deprecated at ...../admin/GT/Base.pm line 100. In reply to
Hi Andy,

Thanks - I appreciate you sharing those!

My install morphed into something so unrelated to what GLinks is, it's unrecognizable, so I wasn't able to keep up with the updates. I believe the core of it all is still 2.0.4! LOL Hopefully I can patch your updates in.

I'll let you know how that goes! Smile

Cheers,

AlexJ
Quote Reply
Re: [AlexJ] defined(%hash) is deprecated at ...../admin/GT/Base.pm line 100. In reply to
haha no worries - I know how it is! (I had a few installs like that as well)

The main thing is just to find the lines of code its complaining about, and remove the "defined" parts. Later versions of Perl are much more strict on it (to the point the latest version of Perl won't even install GLinks without editing the code install.cgi script)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!