Sparky
Moderator
Hero Member
   
Karma: 83
Posts: 2,228
stop pushing all those buttons
|
 |
« Reply #15 on: March 26, 2008, 12:51:38 PM » |
|
I will check that javascript error shortly. I just verified the merge module itself is working at least... http://dev.csg.mts.net/cgi-bin/ttx.cgi?cmd=merge
|
|
|
|
|
Logged
|
Did you update the paths in ttxcfg.cgi after moving TTX to your new location? To those seeking help.... please report back when you figure it out. 
|
|
|
Sparky
Moderator
Hero Member
   
Karma: 83
Posts: 2,228
stop pushing all those buttons
|
 |
« Reply #16 on: March 26, 2008, 01:03:53 PM » |
|
I found it. You accidently deleted one of your closing form tags from the ticket.html page. </form> You have three forms so you should have three sets of <form></form> tags. Here is what you have and the red one is missing which is causing your Javascript error... <td valign=middle align=left bgcolor="#CFDCE8" style="padding-left: 5px">(%MERGE%)</td> <td valign=middle align=left bgcolor="#CFDCE8" style="padding-left: 5px"></td> </tr> </form> <form method="post" action="(%ENV_SCRIPT_NAME%)" id="formmerge" target="winmerge" > <input type="hidden" name="cmd" value="merge"> <input type="hidden" name="msg" id="mergeprob" value=""> <input type="hidden" name="style" value="(%INPUT_style%)"> <input type="hidden" name="sid" value="(%INPUT_sid%)"> <input type="hidden" name="key" value="(%INPUT_key%)"> </form> </table> <form method="post" action="(%ENV_SCRIPT_NAME%)" id="formpreview" target="winpreview" > <input type=hidden name=cmd value=preview> <input type=hidden name=style value="(%INPUT_style%)"> <input type=hidden name=sid value=(%INPUT_sid%)> <input type=hidden name=key value=(%INPUT_key%)> <input type=hidden name=msg> </form>
|
|
|
|
|
Logged
|
Did you update the paths in ttxcfg.cgi after moving TTX to your new location? To those seeking help.... please report back when you figure it out. 
|
|
|
arvin
Sr. Member
  
Karma: 10
Posts: 400
Yeah thats right !
|
 |
« Reply #17 on: March 26, 2008, 01:27:56 PM » |
|
G'day!
That fixed it ....thank you ..... but now ...I click on ticket merge .... the popup comes up and lets me select a target .... and when I click on either button i get this error
Function not available
Please close this window
|
|
|
|
|
Logged
|
|
|
|
Sparky
Moderator
Hero Member
   
Karma: 83
Posts: 2,228
stop pushing all those buttons
|
 |
« Reply #18 on: March 26, 2008, 01:48:13 PM » |
|
I'm going to have to install this from scratch on a new test system using everything from my Mod as I posted it.
You are the second person to see this happen, however, I'm using this same mod on my production system without any problems whatsoever.
The symptoms are as if the Javascript inside the pop-up is being totally ignored like it's not even there.
It's possible something is either missing or totally corrupted. And we've already ruled out 99% of what you could have done.
Just give me some time to track it down.
|
|
|
|
|
Logged
|
Did you update the paths in ttxcfg.cgi after moving TTX to your new location? To those seeking help.... please report back when you figure it out. 
|
|
|
Sparky
Moderator
Hero Member
   
Karma: 83
Posts: 2,228
stop pushing all those buttons
|
 |
« Reply #19 on: March 26, 2008, 02:07:51 PM » |
|
Before I go through all that work, I compared the merge.html template with the one I'm using here... ... and there was only one difference. Mine has Unix (LF) line endings. The one posted in the thread had Windows (CRLF) line endings. LF = Line Feed CR = Carriage Return This is a tricky one... something strange sometimes happens depending on how it's uploaded to the server. Here's mine... please try it... http://www.badongo.com/file/8478340
|
|
|
|
|
Logged
|
Did you update the paths in ttxcfg.cgi after moving TTX to your new location? To those seeking help.... please report back when you figure it out. 
|
|
|
arvin
Sr. Member
  
Karma: 10
Posts: 400
Yeah thats right !
|
 |
« Reply #20 on: March 26, 2008, 02:20:43 PM » |
|
Hi Sparky ....
I uploaded your version of merge.html and I get the same error
"Function not available
Please close this window"
|
|
|
|
|
Logged
|
|
|
|
Sparky
Moderator
Hero Member
   
Karma: 83
Posts: 2,228
stop pushing all those buttons
|
 |
« Reply #21 on: March 26, 2008, 02:25:48 PM » |
|
OK- Time for me to really dig into this one.
I'll install another test system and install the merge function from scratch using my original mod exactly as written.
I'll get back to you here.
|
|
|
|
|
Logged
|
Did you update the paths in ttxcfg.cgi after moving TTX to your new location? To those seeking help.... please report back when you figure it out. 
|
|
|
Sparky
Moderator
Hero Member
   
Karma: 83
Posts: 2,228
stop pushing all those buttons
|
 |
« Reply #22 on: March 26, 2008, 05:51:08 PM » |
|
Arvin-
I set up a fresh stock installation of TTX and applied the mod exactly as described including a fresh download from the links in the thread.
It works perfectly.
So there's no reason why it shouldn't be working for you too.
Please zip up your ttx.cgi and TTXTicket.pm files and send them to the email address I'll leave you in a PM.
Did you make any modifications to the TTXMerge.pm file? If so, send that to me as well.
I'll do a character-by-character comparison to the files I having working here.
|
|
|
|
|
Logged
|
Did you update the paths in ttxcfg.cgi after moving TTX to your new location? To those seeking help.... please report back when you figure it out. 
|
|
|
arvin
Sr. Member
  
Karma: 10
Posts: 400
Yeah thats right !
|
 |
« Reply #23 on: March 27, 2008, 09:06:11 AM » |
|
just to keep this thread up to date as requested I have zipped and emailed the files. Also, I didn't make any changes to the TTXMerge.pm file, however I'm sent it just in case : ) . The strange thing is that I installed a fresh copy of TTX on on our server and after the install was complete ...I uploaded the merge files after following the instructions that were listed. Thank you and take care
|
|
|
|
|
Logged
|
|
|
|
Sparky
Moderator
Hero Member
   
Karma: 83
Posts: 2,228
stop pushing all those buttons
|
 |
« Reply #24 on: March 27, 2008, 09:15:16 AM » |
|
It might not be your fault, though... 1. some weird unforeseen combination of code & server. I'm going to use your files in my installation to see if I can break it. edit: Arvin's files work fine on my server  2. invisible characters from a cut 'n' paste out of these forum pages. I'll do a character-by-character comparison of your files to mine. edit: files are identical with the exception of a single bracket. Based on location, I don't expect that to make any difference.
Troubleshooting will continue...
|
|
|
|
« Last Edit: March 27, 2008, 10:07:42 AM by sparky672 »
|
Logged
|
Did you update the paths in ttxcfg.cgi after moving TTX to your new location? To those seeking help.... please report back when you figure it out. 
|
|
|
|
|
arvin
Sr. Member
  
Karma: 10
Posts: 400
Yeah thats right !
|
 |
« Reply #26 on: March 28, 2008, 12:32:47 PM » |
|
Amazing!
Thank you Sparky for you're time spent on this issue. It is very much appreciated
it works great! I hope this helps other users in the future
Once again ..Thank you
Arv
|
|
|
|
|
Logged
|
|
|
|
|