vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   user.php (https://vborg.vbsupport.ru/showthread.php?t=40442)

Boofo 06-29-2002 06:03 PM

user.php
 
I am still running vbulletin 2.2.5 but I did do the 3 file fix for 2.2.6 until I do the full upgrade. With a little help, that fixed the templates not all showing problem and I thought it fixed the editing users problem, but for some reason, I have a user that I can eidt just fine in the admin cp but the rest, I get the following error. Can anyone please tell me what this it and maybe how to fix it?

Code:

Database error in vBulletin Control Panel 2.2.5:

Invalid SQL: SELECT userid
                                        FROM user
                                        WHERE username='MarTinX'
                                                AND userid <>
mysql error: You have an error in your SQL syntax near '' at line 4

mysql error number: 1064

Date: Saturday 29th of June 2002 06:33:47 PM
Script: http://www.bearfacts2.com/forum/forum/admin/user.php
Referer: http://bearfacts2.com/forum/admin/us...edit&userid=11


FWC 06-29-2002 06:33 PM

See if you have this:
PHP Code:

SELECT *,FROM_UNIXTIME(joindate

If you do, change it to this:
PHP Code:

SELECT user.*,FROM_UNIXTIME(joindate

That fixed a similar problem on a board I tried it on. I'm not sure if you have the same problem, though.

Boofo 06-29-2002 06:52 PM

Well, once again you have proven to be the MASTER! That fixed my problem. :) The only thing is... now it won't let me view IPs for the users. When I try to view them in the View IPs, it doesn't return any IP addresses. Other than that, it works great! Thank you very much (again :))

FWC 06-29-2002 07:52 PM

Could you view IP's before you changed that query?

Boofo 06-29-2002 08:00 PM

No, that query didn't make a difference there. But it did help the other part. :)

tonytheboss 07-02-2002 12:56 PM

desoler jai aucune idée comment t'aidé


All times are GMT. The time now is 11:30 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.01073 seconds
  • Memory Usage 1,724KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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