Gossamer Forum
Home : Products : Others : Gossamer Community :

Error when doing user update - in GLinks 3.2

Quote Reply
Error when doing user update - in GLinks 3.2
Hi,

Getting a bit of a weird error in GComm since our upgrade to GLinks 3.2:

Unable to load Links SQL because: Bareword "GT::Date::FORMAT_DATE" not allowed while "strict subs" in use at /path/cgi-bin/admin/Links.pm line 879.

Compilation failed in require at /path/lib/Community/Apps/Local/LinksSQL.pm line 169.


Doesn't seem to be a fatal error, but doesn't show the message as normal (i.e "user xxx was updated").

Any ideas?

TIA

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] Error when doing user update - in GLinks 3.2 In reply to
You need to either upgrade your community or make community use glinks' libraries.

Adrian
Quote Reply
Re: [brewt] Error when doing user update - in GLinks 3.2 In reply to
Hi,

Thanks for the reply. Is there much different in GComm 1.1.1 and 1.0.4 (appart from the lib files) ? Our install is pretty modified, so ideally, if I can just update the lib locations, that would be better <G>

TIA

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: [brewt] Error when doing user update - in GLinks 3.2 In reply to
Hi,

Mmm.. I just upgraded to GComm 1.1.1, and get the following error when clicking on "Users":

Code:
The system encountered a fatal error:

Can't use string ("1") as a HASH ref while "strict refs" in use at /home/ultranerds/ultranerds.com/secure/lib/GT/Template.pm line 866.

Any ideas? :/

TIA

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] Error when doing user update - in GLinks 3.2 In reply to
Andy,

Erase all of your compiled templates :)

Cheers,
Boris

Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins
Quote Reply
Re: [eupos] Error when doing user update - in GLinks 3.2 In reply to
Hi,

Wow, that was simple <G> Thanks Boris :) All seems fine now.

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] Error when doing user update - in GLinks 3.2 In reply to
Hi,

Actually, I lied :D

Seem to be getting an error when trying to update a user:

The column 'Signup IP' must not be left blank

The bit with "Signup IP" is just showing up as "none";

Quote:
Created On: 02-11-2004 08:00:30
Last Login On: 08-10-2005 12:05:59 (7 total logins)
Signup IP: None

Just having a look in the DB to see if there is a simple MySQL statement I can run, to populate SignupIP - but no joy so far =(

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] Error when doing user update - in GLinks 3.2 In reply to
Hi,

Well, not the ideal solution - but this seems to have sorted it:

Code:
UPDATE comm_users SET comm_signup_ip ="127.1.1.1" WHERE comm_signup_ip IS NULL;

I guess it was a problem with signups being done in the admin panel (most of them are users created from the admin panel). I'd imagine I just need to keep an eye on new signups, to make sure its working ok :)

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!