Help Desk Software & Beyond
May 22, 2012, 12:48:58 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] 2
  Print  
Author Topic: [PROB] 'Customer Ticket List' - Internal Server Error (solved)  (Read 3596 times)
arvin
Sr. Member
****

Karma: 10
Posts: 400


Yeah thats right !


View Profile
« on: April 16, 2008, 01:33:18 PM »

Hello,

K .. dl'd the mod .... followed the instructions ...and it works ...kinda ... i get a internal server error when trying to access my tickets as the "customer"

if you want to test it ...... please go to http://dev.csg.mts.net/cgi-bin/ttx.cgi?cmd=newticket&sid=&style=


other then that ....this is an awesome mod ...Thank you Sparky

Smiley
« Last Edit: April 16, 2008, 05:36:14 PM by sparky672 » Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #1 on: April 16, 2008, 01:51:30 PM »

... i get a internal server error when trying to access my tickets as the "customer"

LOL... you get an Internal Server Error when just trying to view a single ticket too.

So I suspect that the problem is in TTXTicket.pm someplace.

I'm going to look-up your FTP login and check it out.
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 #2 on: April 16, 2008, 02:04:47 PM »

You skipped this post but I'm still looking for why you get this error.

http://forum.unitedwebcoders.com/index.php/topic,397.msg2117.html#msg2117

You also have a ttxcfg.cgi file in the CGI directory but all it does is point to a ttxcfg.cgi file in another directory.  I'm not sure what the point is.
« Last Edit: April 16, 2008, 02:26:17 PM by sparky672 » 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
arvin
Sr. Member
****

Karma: 10
Posts: 400


Yeah thats right !


View Profile
« Reply #3 on: April 16, 2008, 02:32:31 PM »

Okay ...that was close  Shocked... I was about to make those changes ....but it seems like you did it already... I'll just shut up and wait until you're finished
Smiley

Also ....
Quote
You also have a ttxcfg.cgi file in the CGI directory but all it does is point to a ttxcfg.cgi file in another directory.  I'm not sure what the point is.

I didn't even realize that .... so ...I have no idea what the piont is either
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #4 on: April 16, 2008, 02:48:03 PM »

I moved all your stuff into the main ttxcfg.cgi file in the cgi directory and deleted the duplicate.

I still don't know what's causing the error.  I did a detailed file compare of every edited module and don't see it yet.  I also checked for invisible junk and it all looks clear.

Last time we went through this, it was a simple thing like having the cookie disabled.  This time I hope it's something just as simple.

Feel free to check over your edits again from top to bottom.  Meanwhile, I'll have to mull it over for a while.



BTW->  for whatever it's worth the new module works...   Grin

http://dev.csg.mts.net/cgi-bin/ttx.cgi?cmd=custdesk
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
arvin
Sr. Member
****

Karma: 10
Posts: 400


Yeah thats right !


View Profile
« Reply #5 on: April 16, 2008, 03:13:33 PM »

Why me ? LOL ...or why my server ?

Thank you Sparky.... I looked at eveything and it seems fine .... I'm stumped as to what could be causing this ....do you think its a permissions issue ?
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #6 on: April 16, 2008, 03:17:26 PM »

You had some screwy permissions but I set them all to 755 so that's not it.

It "looks" like a module was uploaded in binary mode instead of ascii text, BUT that's not it either as all the modules appear to function under other circumstances.

Time for me to get more serious and dig in.
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
arvin
Sr. Member
****

Karma: 10
Posts: 400


Yeah thats right !


View Profile
« Reply #7 on: April 16, 2008, 03:21:38 PM »

Quote
It "looks" like a module was uploaded in binary mode instead of ascii text

Doh! ..yes it was ...sorry ....
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #8 on: April 16, 2008, 03:24:20 PM »

Huh

Which one?

Did you re-upload it correctly?
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
arvin
Sr. Member
****

Karma: 10
Posts: 400


Yeah thats right !


View Profile
« Reply #9 on: April 16, 2008, 03:26:18 PM »

both files ...were uploaded wrong ...I haven't done anything yet ... tell me when and I'll do it ...I thought I had changed the setting in my ftp prog ..
« Last Edit: April 16, 2008, 03:32:27 PM by arvin » Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #10 on: April 16, 2008, 03:32:42 PM »

You must be mistaken.

I re-uploaded the new files in ASCII text mode and it makes no difference.

Plus if that was it, then this wouldn't work either...

/ttx.cgi?cmd=custdesk
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
arvin
Sr. Member
****

Karma: 10
Posts: 400


Yeah thats right !


View Profile
« Reply #11 on: April 16, 2008, 03:34:46 PM »

Very true ......

Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #12 on: April 16, 2008, 03:38:27 PM »

WTF?  Huh  I just broke that too.   Cheesy

?cmd=custdesk is giving a 500 error now...

maybe that just means we're getting closer.    Shocked

No... wait... I broke ttx.cgi itself.  Doh.

Fixed it.  Back to square one.
« Last Edit: April 16, 2008, 03:45:34 PM by sparky672 » 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 #13 on: April 16, 2008, 03:56:26 PM »

I did find something you must have accidently deleted from ttx.cgi

$data{HTMLBASEWIDTH} = $cfg->get('HTMLBASEWIDTH');

I put it back but still no dice.

I'm 75% sure this problem is located in the TTXTicket.pm module.  (edit:  100% sure.  I moved your TTXTicket.pm file into my test server and it broke mine too.)

Can you 100% confirm this installation of TTX was working from the customer's point of view BEFORE applying this mod?
« Last Edit: April 16, 2008, 04:18:10 PM by sparky672 » 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 #14 on: April 16, 2008, 04:38:32 PM »

 Undecided

This whole problem was caused by a piece of the Ticket Merge mod being left over from your last experiment...

In TTXTicket.pm...

Quote
###### MERGE BUTTON
    if ($user->get('me')) {
    ## merge button only appears for users with "me" privilages
    $data->{MERGE} = '<input type="button" class="sm" onclick="return merge();" value="[%Ticket Merge%]">';
    }
###### MERGE BUTTON END

I left it in place but disabled it with comment # symbols.

Your Customer Ticket List Mod is now working.

 Grin Cheesy Grin Cheesy



Customer Ticket List and Ticket Merge do not conflict with each other.  I'm using both myself.  But when you remove a custom modification, it would be best to remove or comment out ALL of the Mod.
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] 2
  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.031 seconds with 19 queries.