Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Jun 2017, 17:58
devoidfeast devoidfeast is offline
 
Join Date: Jun 2014
Abstract API Init Problem

Ciao,

i am trying to integrate an external php script with vbulletin 5, i searched the forum and web for possible solutions and i found some but i think either they were incomplete or i was not good enough to understand.

here is the code snippet from vbulletin official post.


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

in my case everything works ok until the config file is loaded. the last line always greet me with the following error


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

vbulletin Ver: 5.3.0

am i doing it right?

thanks!!
Reply With Quote
  #2  
Old 13 Jun 2017, 21:04
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
Enable debug mode to see the actual error.

http://vb5support.com/reference/debug_mode
__________________
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 13 Jun 2017, 21:44
devoidfeast devoidfeast is offline
 
Join Date: Jun 2014
Originally Posted by noypiscripter View Post
Enable debug mode to see the actual error.

http://vb5support.com/reference/debug_mode
nailed it. thanks vergara!!!
Reply With Quote
  #4  
Old 14 Jun 2017, 20:34
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
Glad to help. But what was the error? This might help others if you mention what the error was and how you fixed it.
__________________
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 15 Jun 2017, 01:25
devoidfeast devoidfeast is offline
 
Join Date: Jun 2014
Originally Posted by noypiscripter View Post
Glad to help. But what was the error? This might help others if you mention what the error was and how you fixed it.
Ciao vergara,
it was a stupid error, i was running lampp as my test server and i was running the custom script using the local php where mysql extension was missing. debug mode told me that mysql_init() is what.. and i quickly resolved the problem but then again things got restrained back to their normal state and everything was chaos and still it is.



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

OutPut:


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

here is the output of $logingInfo.


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

any help??
Reply With Quote
  #6  
Old 16 Jun 2017, 07:15
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
Did it show the error stack trace showing the file and line number where that unexpected_error is coming from?
__________________
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 16 Jun 2017, 16:20
devoidfeast devoidfeast is offline
 
Join Date: Jun 2014
Originally Posted by noypiscripter View Post
Did it show the error stack trace showing the file and line number where that unexpected_error is coming from?
ciao vergara,
thank you for the response,no it do not show in fact when i access the script through a browser every thing works well, the table entries are created, but it fails in terminal. do i need to set extra bits in input data? because in terminal the script fails to execute the login call and return an unexpected error.

cheers!
Reply With Quote
  #8  
Old 19 Jun 2017, 21:27
devoidfeast devoidfeast is offline
 
Join Date: Jun 2014
finally i made it work...here is how i did it..


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


Last edited by devoidfeast; 19 Jun 2017 at 21:36.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Abstract Custom Avatars Shazz vBulletin Avatar Sets 7 04 Oct 2008 03:11



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 10:40.

Layout Options | Width: Wide Color: