vb.org Archive

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

weaver 03-29-2004 11:06 PM

parse error?
 
Quote:

Parse error
Quote:

: parse error, unexpected T_CASE in /home3/shb4_003/mysite.com/public_html/forums/includes/functions_online.php on line 703

What does this error mean? I was installing a new hack when my server went down last night. Now I'm getting an error when I try to view member profiles or view who's online. How do I figure out where line 703 is?

lasto 03-29-2004 11:09 PM

sounds like u missing a ; on line 703 in the file functions_online.php

recheck what hack u was doing and make sure u added the code correct - if not revert to a backup

to find out what line 703 is use a program like Ultra edit which is better for php files anyway

http://www.ultraedit.com/

Good for php files :)

weaver 03-29-2004 11:17 PM

Thanks... I think it is something that happened when installing the new hack because now I am getting this error and also my bot is no longer replying to posts. I am installing Ultra Edit and hoping it will pinpoint the problem.

When you say revert to a backup... I did a backup yesterday and have a SQL file. Do you mean I should do something with that?

lasto 03-29-2004 11:48 PM

no m8 when u doing hacks u supposed to backup the files so u always have a copy to go back to incase soemthing goes wrong.So in this case u would of had a backup of functions_online.php.If not just retrace your steps and in future always save a copy of the file u are editing (BEFORE EDITING :) )to a seperate folder on your H/D so if anything goes wrong u can always use the file that u backedup

weaver 03-30-2004 12:54 AM

Thanks... Unfortunately I had to learn your advice the hard way since I didn't back anything up. But I will remember to do this in the future! I was able to get the other program reverted and fixed the issues with viewing profiles... but the other program it affected is still not working correctly. *sigh*


All times are GMT. The time now is 01:01 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.01076 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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