vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=327072

Cannot understand why this not work
by BulliM
02 Feb 2019 13:05

Can anyone explain, why this works:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and this not:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

nor:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

nor:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Going crazy with vB5 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

noypiscripter 03 Feb 2019 04:52

What table did you specify? Not all tables have a column named "userid".

BulliM 03 Feb 2019 07:40

Quote:

Originally Posted by noypiscripter (Post 2598350)
What table did you specify? Not all tables have a column named "userid".

My table has. userid is the primary key in an added table (same database!). Different is, the searched column wasn't username but user_name. Surely I used that, too. Still cannot understand, why this won't work.

noypiscripter 03 Feb 2019 18:10

What is the SQL error? You would get an email with the SQL error if you've added your email in the dbtechnicalemail (or something like that) in the core config.

BulliM 03 Feb 2019 18:40

Quote:

Originally Posted by noypiscripter (Post 2598364)
What is the SQL error? You would get an email with the SQL error if you've added your email in the dbtechnicalemail (or something like that) in the core config.

I get no email, because development server has no access to email services.

I get "That action could not be completed. Please try again, and if this occurs again please contact the system administrator and tell them how you got this message. "

This works:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


noypiscripter 03 Feb 2019 21:03

Enable debug mode in the root config and core config to see the error stack trace.

BulliM 03 Feb 2019 21:10

Quote:

Originally Posted by noypiscripter (Post 2598368)
Enable debug mode in the root config and core config to see the error stack trace.

Result:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--------------- Added 04 Feb 2019 at 11:41 ---------------

I know now, why this not work. User delicjous helps me to found out. My table was not defined in querydefs.php. Since it is defined in, I get no errors anymore by using function getDbAssertor().

How should anyone know this?


All times are GMT. The time now is 12:49.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.