vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Profiles don't work after installing store hack. (https://vborg.vbsupport.ru/showthread.php?t=51008)

OrcSlayer 03-30-2003 08:23 PM

Profiles don't work after installing store hack.
 
I installed the Store Hack from this site and now my profiles don't work. I get this message:

Fatal error: Call to a member function on a non-object in /home/worldofh/public_html/forum/member.php on line 1171

Please help.

JulianD 03-31-2003 12:58 AM

What's on line 1171?

OrcSlayer 03-31-2003 06:18 PM

It's this:

$DB_site->query("select FROM customavatar WHERE userid=$bbuserinfo[userid]");

Dpcows 03-31-2003 08:07 PM

try:

$DB_site->query("select FROM customavatar WHERE userid='$bbuserinfo[userid]'");

JulianD 03-31-2003 09:23 PM

I'm not sure about it, but I think SELECT FROM customavatar is not a valid query. It should be something like SELECT * FROM customavatar...

Now back to your problem, I guess that line is inside a function. Try to put

PHP Code:

global $DB_site

just before that line.

I'd suggest to recheck the hack you just installed, it looks like buggy to me.

OrcSlayer 04-11-2003 12:00 AM

Nope, those things you reccomended did not work. The HAck I used was the same one, The Store Hack by Lesane, that so many people have had no trouble with.

Lesane 04-11-2003 09:02 AM

That line has nothing to do with my store hack neither is modified by the store hack. Be sure that you didn't installed any other hacks wich modified the file members.php and re-check the store instructions, alot of people replace the wrong things and they will miss a } or {.


All times are GMT. The time now is 12:16 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.00956 seconds
  • Memory Usage 1,717KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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