Help Desk Software & Beyond
May 17, 2012, 04:22:02 AM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Access Codes not Displaying  (Read 1926 times)
cpiergalline
Newbie
*

Karma: 0
Posts: 2


View Profile
« on: September 16, 2010, 11:04:22 AM »

Version: 2.24.431 Standard Edition
Server: Apache 2.2

Our ticket system recently started getting hammered by spam bots (3-4 submissions every 15 minutes), so I decided it was finally a good time to enable the Access Codes within TTX.  The problem is, the captcha image does not seem to be displaying properly.

In IE, the image shows as a big red "X", and in firefox it just shows as a broken link.  When I try and open the image in a new window, I receive the following error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, administrator@sleepservices.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


The site is hosted on an internal web server, however I have virtually no web design/web development experience to figure out how to proceed (the guy who did left the company a few months back, and his replacement is mostly a network guy like myself).

I have gone through the few threads that I have found that seemed mostly related to my issues, but none of the solutions seemed to work, or were abandoned by the original poster.  I am willing to believe the problem isn't with TTX, but either my server, or how the set-up was initially done (before my time with the company).

Any thoughts?
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #1 on: September 16, 2010, 11:10:41 AM »

So it would be helpful to know which solutions you've already tried.

There is a solution to this in the sticky thread.  Did you try this one?

Did you upload anything when you activated Captcha?  If so, did you set the file permissions properly?

Quote
... I have virtually no web design/web development experience to figure out how to proceed ...

I don't know what to tell you.  You have to at least be able to know how to install and configure a program like TTX in order to implement most of the solutions posted here.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
cpiergalline
Newbie
*

Karma: 0
Posts: 2


View Profile
« Reply #2 on: September 16, 2010, 11:43:40 AM »

Quote
There is a solution to this in the sticky thread.  Did you try this one?

I tried both resetting templates, as well as adding the "captchamode=alt" line to my ttxcfg.cgi file (it had been missing as well).  And neither made any difference. 

Quote
Did you upload anything when you activated Captcha?  If so, did you set the file permissions properly?

I did not upload anything.  I logged into the set-up page, ticked the Use Access Code box, and that's it.  I'm assuming this is where my issues actually lie, but given that the site is hosted internally, and Apache is running on the same server as TTX, I didn't think that anything actually needed to be "uploaded". 

Quote
I don't know what to tell you.  You have to at least be able to know how to install and configure a program like TTX in order to implement most of the solutions posted here.

In terms of installation and configuration, I am fine, as long as I am pointed in the right direction.  But when it comes to understanding cgi, or anything more than basic html, it's just not what I do. Tongue
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #3 on: September 16, 2010, 11:48:54 AM »

Make sure you have a file installed called key.cgi and that its permissions are set to at least 755.  It might be best to re-upload this file making sure it's uploaded in ASCII or TEXT mode.  Again, verify file permissions.
« Last Edit: September 16, 2010, 11:50:49 AM by Sparky » Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #4 on: September 16, 2010, 07:44:25 PM »

Hello?  What happened?
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
juminosy
Newbie
*

Karma: 0
Posts: 1


View Profile
« Reply #5 on: September 16, 2010, 09:55:08 PM »

Make sure you have a file installed called key.cgi and that its permissions are set to at least 755.  It might be best to re-upload this file making sure it's uploaded in ASCII or TEXT mode.  Again, verify file permissions.

I am having the same problem as the OP. It did not occur to me that it could be a permissions issue. I will try your suggestion and see if it helps Smiley



unusonusonronald Cruzag
« Last Edit: October 10, 2010, 12:18:41 AM by juminosy » Logged

J
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #6 on: September 16, 2010, 10:06:17 PM »

"Internal Server Error" really narrows it down.

Most common causes are when cgi files uploaded improperly or permissions incorrect.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
doc
Newbie
*

Karma: 0
Posts: 3


View Profile
« Reply #7 on: January 02, 2011, 08:13:27 PM »

I am also having an issue getting the Access Code (captcha) to work.

Version information: 3.01.838 MySQL Edition
Steps taken:
1. Enabled Access Code via setup.cgi - submission form didn't change and submissions are still being pushed through like normal
2. Reset templates - same, no change
3. Added "captchamode=alt" to ttxcfg.cgi - same, no change
4. Changed "captchamode" to "gd" - same, no change
5. Re-uploaded key.cgi in ASCII mode and confirmed permissions - same, no change

Any ideas? I just recently (a couple weeks ago) started getting hit like crazy with spammer form submissions, before then I had never seen a single spam submission.
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #8 on: January 02, 2011, 08:18:55 PM »

So what happens when you load key.cgi in the browser?  Ie.  Point your URL directly at this file.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
doc
Newbie
*

Karma: 0
Posts: 3


View Profile
« Reply #9 on: January 02, 2011, 08:27:55 PM »

Good call, didn't think of trying that.

Output:
Error loading GD.pm
Can't locate GD.pm in @INC (@INC contains: /var/www/html/{removed}/{removed}/support /usr/local/perl-5.8.8/lib/5.8.8/i686-linux /usr/local/perl-5.8.8/lib/5.8.8 /usr/local/perl-5.8.8/lib/site_perl/5.8.8/i686-linux /usr/local/perl-5.8.8/lib/site_perl/5.8.8 /usr/local/perl-5.8.8/lib/site_perl .) at (eval 2) line 2. BEGIN failed--compilation aborted at (eval 2) line 2.

I don't see a GD.pm in the installation package nor in my TTX (support) directory.
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #10 on: January 02, 2011, 08:32:56 PM »

That's because it's typically part of your Perl installation.

http://www.broadinstitute.org/ftp/pub/software/WWW/GD.html
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
doc
Newbie
*

Karma: 0
Posts: 3


View Profile
« Reply #11 on: January 02, 2011, 08:49:51 PM »

Gotcha. I'll assume installation of that will fix the problem (not something I have access to do and my host charges too much for custom work) and find another way to prevent non-human clients from getting to the form.

Thank you for the help!
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #12 on: January 02, 2011, 08:53:11 PM »

Perhaps you can do a custom addition of Captcha.  There are free methods to add Captcha to any form...  perhaps with JavaScript or Ajax.  Or maybe you can find a Perl method which does not rely on GD.   Google it.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.032 seconds with 19 queries.