vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Please Help Error Problem (https://vborg.vbsupport.ru/showthread.php?t=38685)

hypertextmark 05-16-2002 05:16 AM

Please Help Error Problem
 
ok i dont understand.. i didnt have this problem then
all of a sudden i started gettin this error

Parse error: parse error in /home/hiphopic/public_html/forums/index.php on line 78

i checked the line.. and i see nothing wrong... any suggestions?

Thanks

Mark Hensler 05-16-2002 05:39 AM

Can we see the line?

Has anyone modified that file lately?

hypertextmark 05-16-2002 05:45 AM

it started happening after i installed the welcome hack on top..
i mean it was working, the hack that is. and the entire site in general next thing you know i refresh to check up on somethin
and it gave me that error

here the line from 78-79

if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];

<^>

whats weird is that i re-uploaded the original index.php file
with no edits and it gave me this

Parse error: parse error, expecting `']'' in /home/hiphopic/public_html/forums/index.php(336) : eval()'d code on line 39

and heres that line 39

$numbermembers=number_format($numbersmembers['users']);

i just dont understand.. if you can help me i'll gladly appreciate it
thanks

Logician 05-16-2002 08:34 AM

Quote:

Originally posted by hypertextmark
here the line from 78-79

if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];

There is nothing wrong with this code. (provided that { is closed with a } below)..

Very likely you accidently deleted ; (or a }) in the line 77, check that out..

I suggest reverting to your original index.php and then reapply hack carefully..


All times are GMT. The time now is 01:37 AM.

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.01011 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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