Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [rsahertian] internal server error

Quote Reply
Re: [rsahertian] internal server error In reply to
O, try changing;

if (!$USER) {print $IN->redirect( Links::redirect_login_url);return;}

to

if (!$USER) {print $IN->redirect( Links::redirect_login_url); exit;}

Not quite sure why a return was being called there. You could probably even get away without the 'exit', but I'd leave it in there just for safe measure.

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!
Subject Author Views Date
Thread internal server error rsahertian 1752 Sep 10, 2003, 11:37 AM
Post Re: [rsahertian] internal server error
Andy 1697 Sep 10, 2003, 11:39 AM
Thread Re: [rsahertian] internal server error
Andy 1694 Sep 10, 2003, 11:41 AM
Thread Re: [Andy] internal server error
rsahertian 1685 Sep 10, 2003, 12:14 PM
Post Re: [rsahertian] internal server error
Andy 1689 Sep 10, 2003, 12:16 PM