![]() |
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. Code:
$vbpath = '/var/www/html'; HTML Code:
<head> am i doing it right? thanks!! |
|
Quote:
|
Glad to help. But what was the error? This might help others if you mention what the error was and how you fixed it.
|
Quote:
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..:p 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. Code:
$vbpath = "/var/www/html"; Code:
PHP Notice: Undefined index: host in /var/www/html/core/vb/request/web.php on line 272 Code:
Array |
Did it show the error stack trace showing the file and line number where that unexpected_error is coming from?
|
Quote:
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! |
finally i made it work...here is how i did it..
PHP Code:
|
All times are GMT. The time now is 03:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|