Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Defined #hash is deprecated after upgrade to mySQL 5.5

Quote Reply
Defined #hash is deprecated after upgrade to mySQL 5.5
Greetings:

I have recently updated by server to Ubuntu 12.04 which has mySQL 5.5. When I run a range of scripts now eg. build, verify etc.
defined(%hash) is deprecated at /path/to/links/admin/bases.pm line 43. (Maybe you should just omit the defined()?)
Any idea what this means? Should I follow the decision to perhaps comment out the %hash in the files referred to?

Thanks,

Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [Clint] Defined #hash is deprecated after upgrade to mySQL 5.5 In reply to
Hi,

Does this help?

http://www.gossamer-threads.com/...20deprecated#p310558

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!
Quote Reply
Re: [Andy] Defined #hash is deprecated after upgrade to mySQL 5.5 In reply to
Thanks Andy,

I'll have to try and do some digging about applying patch files. I see that Eupos tried the patch and it failed. He is running 3.30 (same as me).

I'll ask him where/how he updated it manually.

All the best,

Clint
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory