vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Runtime Error (https://vborg.vbsupport.ru/showthread.php?t=35364)

Rose 02-23-2002 07:46 PM

Hello Everybody! *Dr. Nick wave*


I'm having some runtime errors and I can't manage to fix it. In the admin cp, I get a popup box that says

Quote:

A Runtime Error has occured
Do you wish to Debug?

Line: 15
Error: Unterminated string constant
Then when you click on either yes/no, it comes up again with the Line: 164 - same error.

We have been adding a lot of hacks and upgrades, so I don't know which file the error is in, nor do I know where to start looking. When I clicked 'yes' to debug, I was taken to what almost looked like the "HEADER" template (or something close to it).

Any ideas? This is kinda important. :)

Thanks!!!


Rose

Admin 02-24-2002 05:06 AM

*obvious question :)* What's line 15? And 164?

fordinglife 02-24-2002 06:18 AM

Hey Rose. Thanks for asking for me. :)

Here's Line 15:
Code:

$redirect=ereg_replace("\\?s=[a-z0-9]{32}","",$redirect);
Line 164:
Code:

?>

Admin 02-24-2002 06:23 AM

I mean the lines of the HTML code. :)

fordinglife 02-24-2002 06:30 AM

HTML code? Sorry? :)

Do you mean the couple of lines after lines 15 and 164 in the admin/index.php?

Admin 02-24-2002 06:41 AM

Right click => View source.

fordinglife 02-24-2002 06:55 AM

Ok, I dunno if this is what you wanted.

Lines 12-16
Code:

href="http://www.jelsoft.com/">Jelsoft Enterprises Limited</a></font></p>

<script language="Javascript">
if ('2.2.2' < vb_version) {
        document.write("<div align=\"center\" class=\"tblhead\"

Lines 162-166
Code:

<p align="center"><font size='1'>?2000,2001 Jelsoft Enterprises Ltd.<br>
<script language="JavaScript">
        if ('2.2.2'==vb_version) {
                document.write("You are running the latest version of vBulletin (<a
href=\"http://vbulletin.com/forum/showthread.php?postid="+vb_announcementid+"\">"+vb_version+"</a>)");

Exact Line 15

Code:

if ('2.2.2' < vb_version) {
Exact Line 164

Code:

if ('2.2.2'==vb_version) {
(By the way, the vb version I am running is 2.2.2)

Admin 02-24-2002 07:02 AM

It's probably a problem with Jelsoft's server, you could't require the javascript file from there and that's why you get an error whenever you try to use the vb_version string.

(BTW do you like the new code/quote boxes? :D)

Rose 02-24-2002 04:09 PM

Chen - I love the new quote boxes. Very professional like. :D


But, are you saying the error can't be fixed? *lol* Or do we need to go in and edit the html? *doesn't know how the code got changed in the first place*


All times are GMT. The time now is 11:10 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.01225 seconds
  • Memory Usage 1,725KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete