vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Please help. Bad error. (https://vborg.vbsupport.ru/showthread.php?t=44736)

Dark Shogun 10-18-2002 11:59 PM

Ok just to let you know this happens everytime I try to view a persons profile.

Dark Shogun

Velocd 10-19-2002 12:07 AM

Even after the fix you continue to recieve the errors, hmm.

Well, I'm not sure what to say, since the line references aren't helping.

If I were you I'd replace my member.php with the original. Either that, or work back from the last hacks you installed and figure out what's missing.

Try backing up your member.php, then replacing it with the original unmodified. See if the page will load without errors, and if it does then you know it's an error in member.php. If it doesn't, then it could be external like in functions.php. But if it does load, then you'll have to figure it out somehow.

Regards,
Velocd

Dark Shogun 10-21-2002 01:30 AM

Ok I just check when I replace it with the original it works BUT when I check both the hacked and original side by side in Beyond compare I don't see any code missing at all. Then I add the hacks to the member.php file and it goes back to the orginal error:

PHP Code:

Fatal errorCall to undefined function: gettemplate() in /web/dark/public_html/testvb/member.php on line 1282 

Please help :( If I don't finish hacking my forum tomorrow I will not beable to do so for 6-months to 1 year. :(

Dark Shogun

Erwin 10-21-2002 01:57 AM

In your member.php, this line is incomplete:


PHP Code:


eval("\$customfields .= \"".gettemplate 

This is why you get this error:

Quote:


Fatal error: Call to undefined function: gettemplate() in /web/dark/public_html/testvb/member.php on line 1297

Reinstall g2force's warning hack again, making sure you complete that line of PHP code.

Dark Shogun 10-21-2002 01:59 AM

PHP Code:

    eval("\$customfields .= \"".gettemplate("getinfo_customfields")."\";");
  } 

Thats not the full line?

Dark Shogun

Erwin 10-21-2002 02:04 AM

I was referring to your post here:

https://vborg.vbsupport.ru/showthrea...330#post311330

12th line in the code you posted.

Dark Shogun 10-21-2002 02:06 AM

Oh I am sorry. For some reason when I posted it, it didn't come out on one line like it was supposed to.

Dark Shogun

PS. Post number 15 is the right line.

http://www.thatfinalfantasysite.com/...tinfo&userid=6

Erwin 10-21-2002 02:17 AM

Try this:

Change this:

PHP Code:


eval("\$customfields .= \"".gettemplate("getinfo_customfields")."\";"); 

to this:

PHP Code:


eval("\$customfields .= \"".gettemplate('getinfo_customfields')."\";"); 


Dark Shogun 10-21-2002 02:19 AM

Didn't work. I tried that.

Dark Shogun

Erwin 10-21-2002 02:24 AM

Are you sure? The error is telling you that what is between the gettemplate() brackets are in error - make sure that template exists, and you use ' instead of " because using " confuses the code with the other " in that line.


All times are GMT. The time now is 08:13 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.01689 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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