fonta / tslink Goto Github PK
View Code? Open in Web Editor NEWServergroup control on TeamSpeak from MyBB forum
License: GNU General Public License v3.0
Servergroup control on TeamSpeak from MyBB forum
License: GNU General Public License v3.0
Whenever I try to manually update my group I get HTTP Error 500 and this shows in the error log.
PHP Fatal error: Call to a member function fetch_array() on a non-object in /var/www/html/sites/sdforum/inc/plugins/tslink/tslinkfunctions.php on line 322, referer: https://forum.socialdistrict.net/usercp.php?action=tslink
Whenever a user attempts to update their status or an admin or mod attempts to change a user's status, the plugin causes this error:
Warning [2] mysql_fetch_array() expects parameter 1 to be resource, boolean given - Line: 236 - File: inc/plugins/tslink/tslinkfunctions.php PHP 5.5.3 (Darwin)
File | Line | Function |
---|---|---|
[PHP] | errorHandler->error | |
/inc/plugins/tslink/tslinkfunctions.php | 236 | mysql_fetch_array |
/inc/plugins/tslink/tslinkfunctions.php | 76 | tslink_doupdategroups |
/inc/class_plugins.php | 139 | tslink_admin |
/admin/index.php | 595 | pluginSystem->run_hooks |
I'm using version 1.0.2
It's probably worth noting that the user's status does actually change (on the forum only) despite the error.
ok i set everything again and still this error
"Fatal error: Call to a member function fetch_array() on a non-object in C:\xampp\htdocs\inc\plugins\tslink\tslinkfunctions.php on line 282"
http://prntscr.com/5pn0f2 - screenshot of my conf file.
any help would be awesome, i followed your tutorial part for part and nothing still .
I downloaded the latest version (1.0.1) from http://community.mybb.com/mods.php?action=view&pid=186, but after uploading to my forum, it says it's incompatible with MyBB 1.8.0...
In the plugin file, it says "compatibility" => "1.8"
, so I'm not sure what's wrong. Any ideas?
Every time i try this plugin i get this error,
"Fatal error: Call to a member function fetch_array() on a non-object in C:\xampp\htdocs\inc\plugins\tslink\tslinkfunctions.php on line 282"
The line is about my table name but i changed it in the config and it still does not work please help me.
I have everything installed however I have no way of entering a UiD in the User Cp?
If I activate the plugin in the Admin CP I will get following error:
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1366 - Incorrect integer value: '' for column 'tid' at row 1
Query:
INSERT INTO mybb_templates (
tid,
title,
template,
sid,
version) VALUES ('','tslink_usercp_menu','\n<tr>\n<td class=\"tcat smalltext\">\n <div class=\"expcolimage\">\n <img src=\"{$theme[\'imgdir\']}/collapse{$collapsedimg[\'usercptslink\']}.png\" id=\"usercptslink_img\" class=\"expander\" alt=\"[-]\" title=\"[-]\" />\n </div>\n <div>\n <span>\n <strong>{$lang->tslink_menu_title}</strong>\n </span>\n </div>\n</td>\n</tr>\n<tbody style=\"{$collapsed[\'usercptslink_e\']}\" id=\"usercptslink_e\">\n <tr>\n <td class=\"trow1 smalltext\">\n <a href=\"usercp.php?action=tslink\" class=\"usercp_nav_item usercp_nav_tslink\">{$lang->tslink_menu_link}</a>\n </td>\n </tr>\n</tbody>\n<style type=\"text/css\">\n.usercp_nav_tslink {\n background: url(\'images/tslink/teamspeak3-icon.png\') no-repeat left center;\n}\n</style>','-2',1)
Screenshot: http://i.imgur.com/jkyNnaC.png
MySQL Version: 5.6.34
I'm sure that I configured the config.php
right.
I have installed version 1.2. I have no menus. Also, activated all parts in the configuration. Everything says installation successfully. I tested it 10 times or more with reinstalling the plugin, using older version deactivate/active. Nothing helped. I am sure to do everything right.
Any Ideas?
MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1366 - Incorrect integer value: '' for column 'tid' at row 1
Query:
INSERT INTO mybb_templates (tid
,title
,template
,sid
,version
) VALUES ('','tslink_usercp_menu','\n\n<td class="tcat smalltext">\n <div class="expcolimage">\n <img src="{$theme['imgdir']}/collapse{$collapsedimg['usercptslink']}.png" id="usercptslink_img" class="expander" alt="[-]" title="[-]" />\n \n
What can i do at this point?
Every time i upload the Plugin, this error happens:
http://prntscr.com/aq1xzw
(Yes i edited the config file and renamed it, i created a extra Teamspeak Query User and i created a database.)
Please help! :c
Error in connect() on line 4485 error: connection failed!
i have tried with 2 different query configs and it still shows the same error
ip's and passwords are blanked out for protection
Config
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.