vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Registration error (https://vborg.vbsupport.ru/showthread.php?t=283397)

Hawk7173 05-23-2012 11:48 PM

Registration error
 
I received a e-mail from someone that just now registered on my forum and they stated that they received the following error

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [path]/register.php(338) : eval()'d code on line 39

vBulletin Message
Unable to add cookies, header already sent.
File: /home/mraforum/public_html/upload/includes/class_core.php
Line: 5417

This would be the confirmation that registration is complete. Any thoughts onn this?

Thanks in advabce.

kh99 05-23-2012 11:57 PM

The problem is in a mod, one that uses hook register_addmember_process.

Hawk7173 05-24-2012 12:10 AM

I've disabled all mods associated with registration and still get the same error when testing registration.

Any ideas on what I should do next?

kh99 05-24-2012 12:13 AM

Hmm...maybe check the plugin manager for a plugin that's not part of a mod?

As a test you can temporarily disable all plugins by editing your config.php file and adding:

Code:

define('DISABLE_HOOKS', true);

at the top just under the <?php line. If the problem goes away then it's caused by a plugin.

Hawk7173 05-24-2012 12:32 AM

after doing that, it does appear to be one of the mods that is causing the error. Will troublshoot further by adding back one mod at a time.

Thanks for your help. It is much appreciated.

--------------- Added [DATE]1337826525[/DATE] at [TIME]1337826525[/TIME] ---------------

Found the mod.... now to see if there is an updated version.

Thanks again!


All times are GMT. The time now is 01:11 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.01035 seconds
  • Memory Usage 1,712KB
  • 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_code_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