We're getting internal server errors for all our gossamer scripts. They use to work just fine. And other scripts are not getting the errors. Any idea how to troubleshoot this strictly with Gossamer Threads scripts, consider our other scripts do not have this problem?
Dec 10, 2020, 12:07 AM
Novice (45 posts)
Dec 10, 2020, 12:07 AM
Post #2 of 31
Views: 6273
I got an answer. My host just upgraded their OS, and along with that came a new version of Perl. It appears that our GossamerThreads Scripts are not compatible with this version of Perl. We've got (well had) 3 different Links sites running (was running). My guess is that Gossamer isn't going to be upgrading the scripts anytime soon, if ever. Guess it's time to retire these script and move on. If anyone knows anything about the compatibility of the Gossamer scripts with various versions of Perl, I'm interested in hearing. My wish is that we can continue to move forward. Oh well, guess these things can't last forever. Anyone know anything?
Dec 10, 2020, 6:44 AM
Veteran / Moderator (18436 posts)
Dec 10, 2020, 6:44 AM
Post #5 of 31
Views: 6251
aimcmc wrote:
I got an answer. My host just upgraded their OS, and along with that came a new version of Perl. It appears that our GossamerThreads Scripts are not compatible with this version of Perl. We've got (well had) 3 different Links sites running (was running). My guess is that Gossamer isn't going to be upgrading the scripts anytime soon, if ever. Guess it's time to retire these script and move on. If anyone knows anything about the compatibility of the Gossamer scripts with various versions of Perl, I'm interested in hearing. My wish is that we can continue to move forward. Oh well, guess these things can't last forever. Anyone know anything?Hope that helps
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!
Dec 10, 2020, 7:24 AM
Novice (45 posts)
Dec 10, 2020, 7:24 AM
Post #6 of 31
Views: 6264
Well this is most encouraging. I've downloaded and will try this out sometime today. Is there some place FAQ or Knowledge base that describes this? Is there some place that other scripts that we have are updated? I most appreciate your reply and look forward checking it out. I'll feedback when I know more. Thank you.
Dec 10, 2020, 7:58 AM
Veteran / Moderator (18436 posts)
Dec 10, 2020, 7:58 AM
Post #7 of 31
Views: 6246
Hi,
The bulk of the problem with moving to later versions of Perl, is that the "defined" option when from being a warning, to being a fatal error message. So that's most likely why it won't run. I had to spend a lot of times getting the modules right, but the attached (in my last post) work fine for me on the latest version of Perl
. It's pretty much just a case of renaming:
/admin/GT => /admin/GT.bak
/admin/Links.pm => /admin/Links.pm.bak
/admin/bases.pm => /admin/bases.pm.bak
Then upload the new files to your server. and copy /admin/Links.pm.bak/Config/Data.pm to /admin/Links.pm/Config/Data.pm , and you should be good to go.
FWIW, this is designed to work on GLinks 3.1.0+ (the later the better) , but may work on older versions like 3.0.4
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!
The bulk of the problem with moving to later versions of Perl, is that the "defined" option when from being a warning, to being a fatal error message. So that's most likely why it won't run. I had to spend a lot of times getting the modules right, but the attached (in my last post) work fine for me on the latest version of Perl

Code:
/admin/Links => /admin/Links.bak /admin/GT => /admin/GT.bak
/admin/Links.pm => /admin/Links.pm.bak
/admin/bases.pm => /admin/bases.pm.bak
Then upload the new files to your server. and copy /admin/Links.pm.bak/Config/Data.pm to /admin/Links.pm/Config/Data.pm , and you should be good to go.
FWIW, this is designed to work on GLinks 3.1.0+ (the later the better) , but may work on older versions like 3.0.4
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!
Dec 10, 2020, 8:13 AM
Novice (45 posts)
Dec 10, 2020, 8:13 AM
Post #8 of 31
Views: 6238
Thank you for the further update. I've had others tell me about Define being deprecated. From what you said, looks like they were right. I think I purchased something from you before. I revisited your website. I'm happy to see you are still hanging around. When I find time, I'll look into what you have to offer further. Thank you. I'm anxious to try this out.
Dec 10, 2020, 6:01 PM
Novice (45 posts)
Dec 10, 2020, 6:01 PM
Post #9 of 31
Views: 6236
Worked like a charm. The upgrade went flawlessly for our version 3.3.0. Thank you Andy.
Found one little typo in your instructions...
/admin/Links.pm.bak/Config/Data.pm to /admin/Links.pm/Config/Data.pm
should be
/admin/Links.bak/Config/Data.pm to /admin/Links/Config/Data.pm
I really do appreciate this.
I'm curious, is GossamerThreads supporting and selling their scripts? I couldn't find anything on their site. I'm a bit confused.
Thank You.
Ron
Found one little typo in your instructions...
/admin/Links.pm.bak/Config/Data.pm to /admin/Links.pm/Config/Data.pm
should be
/admin/Links.bak/Config/Data.pm to /admin/Links/Config/Data.pm
I really do appreciate this.
I'm curious, is GossamerThreads supporting and selling their scripts? I couldn't find anything on their site. I'm a bit confused.
Thank You.
Ron
Dec 11, 2020, 12:19 AM
Veteran / Moderator (18436 posts)
Dec 11, 2020, 12:19 AM
Post #10 of 31
Views: 6214
Glad to hear it :)
As far as I'm aware they are not selling or supporting it any more. They have moved to Carbon60, and the scripts were not part of that move. I'm in talks with them about my hosting the forum for them, so we can have it for longevity for those who use the GT scripts still
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!
As far as I'm aware they are not selling or supporting it any more. They have moved to Carbon60, and the scripts were not part of that move. I'm in talks with them about my hosting the forum for them, so we can have it for longevity for those who use the GT scripts still
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!
Dec 11, 2020, 5:08 AM
User (83 posts)
Dec 11, 2020, 5:08 AM
Post #11 of 31
Views: 6206
Andy wrote:
I'm in talks with them about my hosting the forum for them, so we can have it for longevity for those who use the GT scripts still CheersSince they will never update the script again. It would be nice if they just gave you the rights to it. When I get a new server setup in a year because of CentOS Linux ending I'm not looking forward to getting all those fresh install errors.
Dec 11, 2020, 5:57 AM
Veteran / Moderator (18436 posts)
Dec 11, 2020, 5:57 AM
Post #12 of 31
Views: 6187
Hi,
It would be nice - but I can't see it happening :) If you do need the new versions, I have modified install.cgi/.dat files, which will let you install. You then just upload the other files like you did the other day, and you would have a new install (I use this method all the time on the latest versions of Perl)
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!
It would be nice - but I can't see it happening :) If you do need the new versions, I have modified install.cgi/.dat files, which will let you install. You then just upload the other files like you did the other day, and you would have a new install (I use this method all the time on the latest versions of Perl)
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!
Dec 11, 2020, 8:34 AM
Novice (45 posts)
Dec 11, 2020, 8:34 AM
Post #13 of 31
Views: 6197
I got an email from them requesting specific information about the scripts that I am having trouble with. I'm really not sure how they found out I was having problems, but they did ask for more exact details so they could look into it and help. It didn't appear they had any idea what my problem was. I replied to them that you (Andy) has taken care of it for me, and that you are a valuable asset for their organization. I've been around the block a few times and have seen so many great software apps die way too early. These scripts are excellent product that really deserve to be supported into many years ahead. If you were willing, and they had no plans for them, in my humble opinion, there doesn't appear to be any reason why they wouldn't negotiate with you to pass them on to you. They just are too damn good to go to waste. I'm not sure what I can do, but if there is anything I can say or do to help this along, I'd be happy to do whatever. -Ron
Dec 27, 2020, 9:03 AM
Veteran (1119 posts)
Dec 27, 2020, 9:03 AM
Post #14 of 31
Views: 5987
I totally agree with you Ron.
It would be extremely helpful to keep this forum alive & if, for some sad reasons GT can't keep it open, it would be much appreciated if Andy was allowed to take control of it, so existing users of GT Products could continue discussing & helping each other.
Vishal
-------------------------------------------------------
It would be extremely helpful to keep this forum alive & if, for some sad reasons GT can't keep it open, it would be much appreciated if Andy was allowed to take control of it, so existing users of GT Products could continue discussing & helping each other.
Vishal
-------------------------------------------------------
Jan 5, 2021, 11:30 PM
Veteran (1119 posts)
Jan 5, 2021, 11:30 PM
Post #16 of 31
Views: 5874
The internal server that I was getting was because of web hosting issue & there was no error with GLinks.
What error message you getting? or can you just paste the add.cgi link to test?
Vishal
-------------------------------------------------------
What error message you getting? or can you just paste the add.cgi link to test?
Vishal
-------------------------------------------------------
Jan 6, 2021, 12:02 AM
Veteran / Moderator (18436 posts)
Jan 6, 2021, 12:02 AM
Post #17 of 31
Views: 5878
Check your error logs. If you have SSH, you can also try running from the command line with:
That may give some clues
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!
Code:
perl add.cgiThat may give some clues
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!
Jan 6, 2021, 7:20 AM
Novice (45 posts)
Jan 6, 2021, 7:20 AM
Post #18 of 31
Views: 5865
After doing Andy's upgrade for Perl, all seemed to be working great, except now for this one issue.
http://www.illinois.citidirectory.net/cgi/linkssql/add.cgi
Everything else seem fine at http://www.illinois.citidirectory.net/
I hadn't made any changes to the site for a long time until we realized the Perl issue, and all was working fine before that.
This Internal Server error for the add.cgi is identical to the error we get on 2 other similar sites. It's consistent.
My first impression was that it was a similar Perl error, but guess not, I'll dig deeper and contact the host to see if they have any idea.
Thank you,
Ron
http://www.illinois.citidirectory.net/cgi/linkssql/add.cgi
Everything else seem fine at http://www.illinois.citidirectory.net/
I hadn't made any changes to the site for a long time until we realized the Perl issue, and all was working fine before that.
This Internal Server error for the add.cgi is identical to the error we get on 2 other similar sites. It's consistent.
My first impression was that it was a similar Perl error, but guess not, I'll dig deeper and contact the host to see if they have any idea.
Thank you,
Ron
Jan 6, 2021, 7:26 AM
Novice (45 posts)
Jan 6, 2021, 7:26 AM
Post #19 of 31
Views: 5878
Andy thanks. Since you haven't heard about this issue, (http://www.illinois.citidirectory.net/cgi/linkssql/add.cgi), it appears I am off base guessing it has anything to do with the Perl issue that you fixed. I'll have to start looking elsewhere. I'll reach back if I find more and need your further professional assistance. Thank you, Ron
Jan 6, 2021, 7:36 AM
Veteran / Moderator (18436 posts)
Jan 6, 2021, 7:36 AM
Post #20 of 31
Views: 5858
You could try adding this below the part to perl in add.cgi:
See if that spits out any more helpful information
Also - I assume you have checked the path to perl is correct in add.cgi?
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!
Code:
use CGI::Carp qw(fatalsToBrowser);See if that spits out any more helpful information
Also - I assume you have checked the path to perl is correct in add.cgi?
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!
Jan 6, 2021, 3:53 PM
Novice (45 posts)
Jan 6, 2021, 3:53 PM
Post #21 of 31
Views: 5858
First observation -- I compared add.cgi to user.cgi which works ok. I find that they are exactly identical, including ownership and permissions and perl path to each other except for these differences...
use Links::User::Add;
use Links::User::Login;
AND
if ($PLG->dispatch('check_request', \&Links::check_request)) {
$PLG->dispatch('handle_add', \&Links::User::Add::handle);
f ($PLG->dispatch('check_request', \&Links::check_request)) {
$PLG->dispatch('handle_login', \&Links::User::Login::handle);
NEXT - I added the use CGI:: Carp ... code you offered.
I get this
Software Error
Can't locate Unicode/MapUTF8.pm in @INC (you may need to install the Unicode::MapUTF8 module) (@INC contains: /home/aimcmc/illinois.citidirectory.net/cgi/linkssql/admin /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /home/aimcmc/illinois.citidirectory.net/cgi/linkssql/admin/Links/User/Add.pm line 212.
BEGIN failed--compilation aborted at /home/aimcmc/illinois.citidirectory.net/cgi/linkssql/admin/Links/User/Add.pm line 212.
Compilation failed in require at add.cgi line 19.
BEGIN failed--compilation aborted at add.cgi line 19.
That's all gibberish to me. Any hint?
NEXT - I'm thinking that maybe my add.cgi is corrupt. Andy, could you send me a known working add.cgi that I could try?
Not sure what else to do.
Ron
use Links::User::Add;
use Links::User::Login;
AND
if ($PLG->dispatch('check_request', \&Links::check_request)) {
$PLG->dispatch('handle_add', \&Links::User::Add::handle);
f ($PLG->dispatch('check_request', \&Links::check_request)) {
$PLG->dispatch('handle_login', \&Links::User::Login::handle);
NEXT - I added the use CGI:: Carp ... code you offered.
I get this
Software Error
Can't locate Unicode/MapUTF8.pm in @INC (you may need to install the Unicode::MapUTF8 module) (@INC contains: /home/aimcmc/illinois.citidirectory.net/cgi/linkssql/admin /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /home/aimcmc/illinois.citidirectory.net/cgi/linkssql/admin/Links/User/Add.pm line 212.
BEGIN failed--compilation aborted at /home/aimcmc/illinois.citidirectory.net/cgi/linkssql/admin/Links/User/Add.pm line 212.
Compilation failed in require at add.cgi line 19.
BEGIN failed--compilation aborted at add.cgi line 19.
That's all gibberish to me. Any hint?
NEXT - I'm thinking that maybe my add.cgi is corrupt. Andy, could you send me a known working add.cgi that I could try?
Not sure what else to do.
Ron
Jan 6, 2021, 4:47 PM
Novice (45 posts)
Jan 6, 2021, 4:47 PM
Post #22 of 31
Views: 5841
It doesn't appear the add.cgi is corrupt.
Since add.cgi and user.cgi are identical, I swapped the 2 lines that differ. I find that when the user code is swapped to the add code, the add.cgi does NOT error. But by swapping the 2 lines code from the add.cgi to the user.cgi, then the user.cgi gets the Internal server error. Swapping them back, cause the add.cgi to error and user.cgi to be ok again.
So, it seems the add.cgi is not corrupt and it must be something else that is causing the add to error.
Where to look next? Any ideas?
Ron
Since add.cgi and user.cgi are identical, I swapped the 2 lines that differ. I find that when the user code is swapped to the add code, the add.cgi does NOT error. But by swapping the 2 lines code from the add.cgi to the user.cgi, then the user.cgi gets the Internal server error. Swapping them back, cause the add.cgi to error and user.cgi to be ok again.
So, it seems the add.cgi is not corrupt and it must be something else that is causing the add to error.
Where to look next? Any ideas?
Ron
Jan 6, 2021, 9:16 PM
Veteran / Moderator (18436 posts)
Jan 6, 2021, 9:16 PM
Post #23 of 31
Views: 5834
Ah so thats an easy fix =) You just need to install Unicode::MapUTF8 (or ask your host, if you can't do it)
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!
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!
Jan 7, 2021, 8:35 AM
Novice (45 posts)
Jan 7, 2021, 8:35 AM
Post #24 of 31
Views: 5826
So, am I reading this right that the reason folks can not add links and are getting the Internal Server Error is because Unicode::MapUTF8 is necessary?
What does that do?
And, may I ask, can we guess how come this has been working all along until recently when Perl was upgraded? And how come everything else works except the add link script?
I'd like to understand a little better what the problem is before contacting the host.
Thank you,
Ron
What does that do?
And, may I ask, can we guess how come this has been working all along until recently when Perl was upgraded? And how come everything else works except the add link script?
I'd like to understand a little better what the problem is before contacting the host.
Thank you,
Ron
Jan 7, 2021, 8:51 AM
Veteran / Moderator (18436 posts)
Jan 7, 2021, 8:51 AM
Post #25 of 31
Views: 5819
It's probably not required. I think if you are using the modules I uploaded, then I had it in there for utf8 (particularly when doing AJAX form submissions). You could probably get rid of it, but its just as easy to add it ;)
Also when you upgrade Perl ALL the previous modules are lost (as it holds them in folders split by version numbers)
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!
Also when you upgrade Perl ALL the previous modules are lost (as it holds them in folders split by version numbers)
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!