Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 02 Feb 2019, 13:05
BulliM's Avatar
BulliM BulliM is offline
 
Join Date: Oct 2017
Cannot understand why this not work

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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Reply With Quote
  #2  
Old 03 Feb 2019, 04:52
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
What table did you specify? Not all tables have a column named "userid".
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
  #3  
Old 03 Feb 2019, 07:40
BulliM's Avatar
BulliM BulliM is offline
 
Join Date: Oct 2017
Originally Posted by noypiscripter View Post
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.

Last edited by BulliM; 03 Feb 2019 at 07:46.
Reply With Quote
  #4  
Old 03 Feb 2019, 18:10
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
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.
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
  #5  
Old 03 Feb 2019, 18:40
BulliM's Avatar
BulliM BulliM is offline
 
Join Date: Oct 2017
Originally Posted by noypiscripter View Post
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.


Last edited by BulliM; 03 Feb 2019 at 19:18.
Reply With Quote
  #6  
Old 03 Feb 2019, 21:03
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
Enable debug mode in the root config and core config to see the error stack trace.
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
  #7  
Old 03 Feb 2019, 21:10
BulliM's Avatar
BulliM BulliM is offline
 
Join Date: Oct 2017
Originally Posted by noypiscripter View Post
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?

Last edited by BulliM; 04 Feb 2019 at 11:41.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:08.

Layout Options | Width: Wide Color: