Comments (25)
Try to uninstall and install from the plugin panel in the ACP.
Might be that the memberstatus row isn't added to the mybb_users table.
from tslink.
I still get the same 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"
from tslink.
Can you try to change line 280 & 281 from:
$$mybb_user_query = "SELECT * FROM $table WHERE HEX(lastip) = '$mybb_ip' LIMIT 1";
$mybb_users =
to:
$mybb_user_query = "SELECT * FROM $table WHERE HEX(lastip) = '$mybb_ip' LIMIT 1";
$mybb_users = $ConnectDB->query($mybb_user_query);
from tslink.
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
from tslink.
For testing, put the following between line 281 and 282 in tslinkfunctions.php
print_r($mybb_users->fetch_array(MYSQLI_ASSOC));
die();
So it will look like this: http://i.imgur.com/LFkipGg.png
After placing it, press the update groups button in the UserCP.
Tell me if you get back an array with a whole bunch of information like here: http://hastebin.com/timogekami.txt
or if you get an error.
from tslink.
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/5pnyj7 - screen of code so u know its right lulz
from tslink.
I think you're getting a sql error because the error you're getting means it doesn't have anything to work with.
Let's see if we're able to get the sql error visible. Try to change to block to this:
http://hastebin.com/inuxomuluz.php
from tslink.
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
im still getting this after changing that block, im sorry if this makes you mad i understand if u cant help any more.
from tslink.
im using mysql through xxamp btw
from tslink.
Probably some kind of caching going on.
Try to put this after line 282:
echo "test";
die();
so it will look like this:
http://i.imgur.com/9I3YIOM.png
from tslink.
:(
from tslink.
try putting the echo on line 282 and so line 282 becomes 283.
See if it gives the test in front of the error.
And try it from here:
http://nameless-community.com/usercp.php?action=tslink
from tslink.
from tslink.
from tslink.
die(); has to be underneath. http://i.imgur.com/bNMM5HK.png
Your webserver is caching. Restart it to clear the cache.
from tslink.
from tslink.
http://prntscr.com/5pojnm
ok now im getting "test"
from tslink.
What do you get if you change the echo "test";
to:
print_r($mybb_users);
Something like this?
http://i.imgur.com/ouzBYST.png
from tslink.
from tslink.
:(
from tslink.
If you change print_r($mybb_users); to:
echo $mybb_ip;
Does it give some hex code?
And if yes, is it the same as in the database -> mybb_users -> lastip
Are these the same?
Your user account is not being found in the database.
That's why you're getting an error.
from tslink.
http://prntscr.com/5ppibq
still this!
from tslink.
That's really really strange because that would mean that it's isn't getting results from the database because there isn't any ip address being used.
Are you sure you didn't forget to clear your cache?
What version of php are you running?
can you make a screenshot of the last part of the config.php? This is where the ip is being converted to hex.
from tslink.
from tslink.
Hi Fatboi, I don't know if you solved the issue but I've changed some things and fixed some minor bugs. Your issue of not getting results back from the database might also be solved with this.
It might be that your mybb database uses a other prefix than mybb_.
from tslink.
Related Issues (11)
- Incompatible with 1.8? HOT 3
- Error HOT 5
- Plugin errors whenever I change the status of a user HOT 8
- PHP Fatal Error
- Not working... HOT 1
- No way to enter TS3 UiD? HOT 9
- 1366 - Incorrect integer value: '' for column 'tid' at row 1 HOT 3
- Error connecting to query HOT 11
- Issues HOT 5
- Not showing any menu HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tslink.