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-21-2002 02:39 AM

Line 1286:
PHP Code:

$warntype checkwarnlink($bbuserinfo[usergroupid], 0); 

Dark shogun

Dark Shogun 10-21-2002 02:42 AM

Now we are back to the original error:

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

Dark Shogun

Dark Shogun 10-21-2002 02:44 AM

If I send you both member.php files (modded and original) do you think that will help?

Dark Shogun

Erwin 10-21-2002 02:44 AM

Makes no sense to me. :) Something is very wrong in the way you installed the warning's hack. I suggest you remove it, and reinstall it. You are missing something essential in your members.php. Try posting in that thread itself to see if you get a response.

Erwin 10-21-2002 02:44 AM

Okay, just PM me your members.php and I will have a look at them.

Erwin 10-21-2002 03:05 AM

You completely installed the warning hack wrong in your member.php - next time read the installation text for the hack properly. You put the code in the wrong place and as a result had 2 occurences of the line that calls the same template.

I have PMed you the member.php that I fixed.

Dark Shogun 10-21-2002 03:06 AM

Ok I uploaded that member.php and now I get this error:

Quote:

Parse error: parse error, unexpected $ in /web/dark/public_html/testvb/member.php on line 1680
Dark Shogun

Dark Shogun 10-21-2002 03:24 AM

OMEG. I got it up. :) Thanks Erwin. After I put up the member.php file you gave me it didn't work but then I changed the " to ' and added another }

Dark Shogun

Erwin 10-21-2002 03:27 AM

Ok. You misread gforce2k's instruction - the 2 chunks of code for member.php is in 2 separate places. I just copied your code to where it's supposed to be. Obviously the code you had was not completely original. :) Good to hear it works now. If you look at your original member.php you can see how your code is located too high up - it should have been at the end - as a result you had to lines with the same code - one at the top, the other at the end. You were meant to add code BELOW the template line, not add the whole thing below the templatesused line. :)


All times are GMT. The time now is 03:23 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.01937 seconds
  • Memory Usage 1,728KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete