Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Gossamer Links and Forum - Complication failed in require

Quote Reply
Gossamer Links and Forum - Complication failed in require
I have just upgraded a server and Perl and am suddenly getting complication errors with Gossamer Links and Forum.

The error logs are showing...

Compilation failed in require at /var/www/xxx/weblinks/jump.cgi line 17
Compilation failed in require at /var/www/xxx/weblinks/admin/Links.pm line 31

Which is are these two lines in the different files:

use GT::Base qw/:all/;
use Links qw/$CFG/;

Any idea how to fix this error???

Thanks
Quote Reply
Re: [ryel01] Gossamer Links and Forum - Complication failed in require In reply to
Hi,

What error message do you get if you run it from SSH?

Also - did you update all your paths? This is a useful post:

https://www.gossamer-threads.com/...ons_P298281/#p298281

You need to make sure you grep the paths for the Perl scripts, otherwise it won't know where to load from

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] Gossamer Links and Forum - Complication failed in require In reply to
Hi Andy,

Exactly the same error when I try running a script by perl -c xxxxx.pl

The database and path to the install didn't change all - I just did a Ubuntu system update and left everything in the same place.

That post looks like it's about moving the script to a new location.
Quote Reply
Re: [ryel01] Gossamer Links and Forum - Complication failed in require In reply to
Hi,

What version of Perl are you running?

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: [ryel01] Gossamer Links and Forum - Complication failed in require In reply to
BTW it may be quicker (if you want) to send me over FTP/SSH logins, and I'll have a quick look for you. Always tricky to debug these things based on simple error messages over a forum :)

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!