Help - Search - Members - Calendar
Full Version: Trackback [internal server error]
Movable Type Community Forum > Using Movable Type > TrackBacks and Pings
btrott
Is mt-tb.cgi set to 755 permissions?
svanstrom
QUOTE
"The server encountered an internal error or misconfiguration and was unable to complete your request. "

[URL=http://www.aroundmyroom.com/mt/mt-tb.cgi?mode=view&entry_id=824[/URL]

I'll add the tb code to the category templates (used for archive)

What can be the problem?
Just copied pasted the code

I had the same problem myself, and so far I haven't had the time to really track it down, but here's what I got so far...

When using an older version of perl there's a lil thing in the code that isn't "strict" enough, updating perl or removing the warnings (-w) will fix that problem; but just takes me to the second one, which is...

"Build error in template 'TrackBack Listing Template': Error in <MTPings> tag: No TrackBacks associated with this entry."


Like I said, I haven't had the time to fix it all, so for now I don't know if this is a problem with the template (which is identical to the one on this website), if I messed up when I upgraded or whatever...  sad.gif
svanstrom
QUOTE
"Build error in template 'TrackBack Listing Template': Error in <MTPings> tag: No TrackBacks associated with this entry."


'twas a stupid lil problem, turns out I had (by mistake, although I kinda want this "feature") put the <MTEntryIfAllowPings> within a <MTEntryIfAllowComments>; resulting in it always being "on".

Problem solved.  smile.gif

Might be a good idea to warn people with pre5.6.x that they should upgrade to the latest perl before upgrading though.
svanstrom
QUOTE
svanstrom, re: the latest perl--why? "require lib;" should work in much older versions of perl. I really don't know why it's not working, though we are going to switch it back to using unshift.

Why? Well, the answer to that is in your own words "it's not working"...

Oh well, you're fixing it anyways, so I guess no warning is needed.  :)
aroundmyroom
@ my cobalt-server I've setup MT 2.2 right now and installed the trackback feature

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

[URL=http://www.aroundmyroom.com/mt/mt-tb.cgi?mode=view&entry_id=824[/URL]

I'll add the tb code to the category templates (used for archive)

What can be the problem?
Just copied pasted the code
aroundmyroom
Yup.
755 all cgi files in my mt folder have 755

(I was also thinking that that could be the case for the DB -2 MYSQL ) but those 2 new files do create server error

dennis
aroundmyroom
Although Ben did not reply to it yet:

the cause is due to the

CODE
unshift @INC, $MT_DIR . 'lib';
  unshift @INC, $MT_DIR . 'extlib';


not being used anymore

See This thread at this forum
btrott
svanstrom, re: the latest perl--why? "require lib;" should work in much older versions of perl. I really don't know why it's not working, though we are going to switch it back to using unshift.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.