These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

TEA (v1.3.1) - Member Management Mod for SMF 2, TeamSpeak 3 and Jabber

Author
Mike Vandenberg
School of Applied Knowledge
Caldari State
#421 - 2015-08-31 19:27:42 UTC
Civalk wrote:
Has other player failure, when he checked member in administration panel ?

He load and load so lowered

Quote:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Datei: /var/www/vhosts/eve-tv.de/forum.eve-tv.de/Sources/TEA.php
line: 2757


Has CCP the xml updated ?


No issues on my test server checking a member on admin panel. Maybe something specific to the user or your server.
Shisuka
Star Nation
Goonswarm Federation
#422 - 2015-09-02 07:46:44 UTC
This seems like a great project and all but normally there is an outline of what needs to be done to set this up with SMF, currently the git repo for this really is missing that. It has a 'readme.txt' file but that is even very not helpful.


"
This mod will add EVE Api linking and managing. They will be configurable in "Features and options". You can make people fill in there API when they sign up and they can change it under profile, they can be auto assigned a group based on there API info"
Mike Vandenberg
School of Applied Knowledge
Caldari State
#423 - 2015-09-02 14:21:47 UTC
Shisuka wrote:
This seems like a great project and all but normally there is an outline of what needs to be done to set this up with SMF, currently the git repo for this really is missing that. It has a 'readme.txt' file but that is even very not helpful.


"
This mod will add EVE Api linking and managing. They will be configurable in "Features and options". You can make people fill in there API when they sign up and they can change it under profile, they can be auto assigned a group based on there API info"


It is a package. You would install it like any other SMF Package. So first you need to install SMF, then install any desired packages.
Raven ThyKnight
Un-protected Plex
Pandemic Horde
#424 - 2015-09-13 01:49:17 UTC
Anyone having issues with SMF and this Module? Everytime I load the forum it loads a blank screen. IE, Fire Fox, Chrome, and Safari are all showing this on 3 different PCs. Trying to trouble shoot my hosting server as well but all of my other sites that use PHP and MySQL are loading fine.
Mike Vandenberg
School of Applied Knowledge
Caldari State
#425 - 2015-09-13 03:30:04 UTC
Raven ThyKnight wrote:
Anyone having issues with SMF and this Module? Everytime I load the forum it loads a blank screen. IE, Fire Fox, Chrome, and Safari are all showing this on 3 different PCs. Trying to trouble shoot my hosting server as well but all of my other sites that use PHP and MySQL are loading fine.


Seems the trend is that there are a lot of people who have issues, and then on the flip side of the coin, other people have no issues at all. Is this a new install or an existing install? Not sure what other information you can share. I assume the forum page loaded before you installed TEA and that it was only after the install that it stopped working?
Raven ThyKnight
Un-protected Plex
Pandemic Horde
#426 - 2015-09-13 18:41:29 UTC
Mike Vandenberg wrote:
Raven ThyKnight wrote:
Anyone having issues with SMF and this Module? Everytime I load the forum it loads a blank screen. IE, Fire Fox, Chrome, and Safari are all showing this on 3 different PCs. Trying to trouble shoot my hosting server as well but all of my other sites that use PHP and MySQL are loading fine.


Seems the trend is that there are a lot of people who have issues, and then on the flip side of the coin, other people have no issues at all. Is this a new install or an existing install? Not sure what other information you can share. I assume the forum page loaded before you installed TEA and that it was only after the install that it stopped working?



Fresh install. I host the server myself. She's a virtual server and shares space with other sites. None of which have any PHP or MySQL load issues as they're all Wordpress sites. I'll blow away this install shortly and see if it was an issue with SMF before the module was added and report back. The virtual server has 8GB of RAM with 4 processing cores. Per linux commands I'm only using 3GB of RAM right now. I've been trying to find the command to increase memory allocation to MySQL but my Google skills seem to be off these days.
Mike Vandenberg
School of Applied Knowledge
Caldari State
#427 - 2015-09-13 19:04:22 UTC
Raven ThyKnight wrote:
Mike Vandenberg wrote:
Raven ThyKnight wrote:
Anyone having issues with SMF and this Module? Everytime I load the forum it loads a blank screen. IE, Fire Fox, Chrome, and Safari are all showing this on 3 different PCs. Trying to trouble shoot my hosting server as well but all of my other sites that use PHP and MySQL are loading fine.


Seems the trend is that there are a lot of people who have issues, and then on the flip side of the coin, other people have no issues at all. Is this a new install or an existing install? Not sure what other information you can share. I assume the forum page loaded before you installed TEA and that it was only after the install that it stopped working?



Fresh install. I host the server myself. She's a virtual server and shares space with other sites. None of which have any PHP or MySQL load issues as they're all Wordpress sites. I'll blow away this install shortly and see if it was an issue with SMF before the module was added and report back. The virtual server has 8GB of RAM with 4 processing cores. Per linux commands I'm only using 3GB of RAM right now. I've been trying to find the command to increase memory allocation to MySQL but my Google skills seem to be off these days.


More than enough RAM. We use recommend 2gb ram vps to run smf, ts3, jabber, evew, and SEAT. Just smf with TEA shouldn't use all that much
Raven ThyKnight
Un-protected Plex
Pandemic Horde
#428 - 2015-09-13 22:07:02 UTC
Mike Vandenberg wrote:
Raven ThyKnight wrote:
Mike Vandenberg wrote:
Raven ThyKnight wrote:
Anyone having issues with SMF and this Module? Everytime I load the forum it loads a blank screen. IE, Fire Fox, Chrome, and Safari are all showing this on 3 different PCs. Trying to trouble shoot my hosting server as well but all of my other sites that use PHP and MySQL are loading fine.


Seems the trend is that there are a lot of people who have issues, and then on the flip side of the coin, other people have no issues at all. Is this a new install or an existing install? Not sure what other information you can share. I assume the forum page loaded before you installed TEA and that it was only after the install that it stopped working?



Fresh install. I host the server myself. She's a virtual server and shares space with other sites. None of which have any PHP or MySQL load issues as they're all Wordpress sites. I'll blow away this install shortly and see if it was an issue with SMF before the module was added and report back. The virtual server has 8GB of RAM with 4 processing cores. Per linux commands I'm only using 3GB of RAM right now. I've been trying to find the command to increase memory allocation to MySQL but my Google skills seem to be off these days.


More than enough RAM. We use recommend 2gb ram vps to run smf, ts3, jabber, evew, and SEAT. Just smf with TEA shouldn't use all that much


Its a shared server so I have 12 sites on its all at once. What is the price to get the suite but I host it myself?
Raven ThyKnight
Un-protected Plex
Pandemic Horde
#429 - 2015-09-13 22:10:29 UTC
Raven ThyKnight wrote:
Mike Vandenberg wrote:
Raven ThyKnight wrote:
Mike Vandenberg wrote:
[quote=Raven ThyKnight]Anyone having issues with SMF and this Module? Everytime I load the forum it loads a blank screen. IE, Fire Fox, Chrome, and Safari are all showing this on 3 different PCs. Trying to trouble shoot my hosting server as well but all of my other sites that use PHP and MySQL are loading fine.


Seems the trend is that there are a lot of people who have issues, and then on the flip side of the coin, other people have no issues at all. Is this a new install or an existing install? Not sure what other information you can share. I assume the forum page loaded before you installed TEA and that it was only after the install that it stopped working?



Fresh install. I host the server myself. She's a virtual server and shares space with other sites. None of which have any PHP or MySQL load issues as they're all Wordpress sites. I'll blow away this install shortly and see if it was an issue with SMF before the module was added and report back. The virtual server has 8GB of RAM with 4 processing cores. Per linux commands I'm only using 3GB of RAM right now. I've been trying to find the command to increase memory allocation to MySQL but my Google skills seem to be off these days.


More than enough RAM. We use recommend 2gb ram vps to run smf, ts3, jabber, evew, and SEAT. Just smf with TEA shouldn't use all that much


Ok. Someone try my site. http://de-14.bigracktech.com I've reinstalled SMF and TEA with the same issue locally. If you can get to the main page, try to register and see if that goes through. So far every browser and PC I've used hated both SMF and SMF with TEA. I've tried searching the SMF forums for a fix as well but my google skills still aren't up to par.
Mike Vandenberg
School of Applied Knowledge
Caldari State
#430 - 2015-09-13 23:14:54 UTC  |  Edited by: Mike Vandenberg
Raven ThyKnight wrote:


Ok. Someone try my site. http://de-14.bigracktech.com I've reinstalled SMF and TEA with the same issue locally. If you can get to the main page, try to register and see if that goes through. So far every browser and PC I've used hated both SMF and SMF with TEA. I've tried searching the SMF forums for a fix as well but my google skills still aren't up to par.


I get a blank page like you. when I view source, there is nothing there. Did SMF work prior to installing TEA? So you install TEA and load the forums and the page loaded? I assume yes since TEA is a plugin/add-on to SMF but figured I would ask. Do you have root access on your server?

Edit: after I wrote this I clicked the link a couple more times. It popped up 2x out of like 10-12 attempts. See screenshot:
Screencapture

Edit#2: I would google: "smf blank page sometimes" and go through what you find and see if any of those might help. Since this is an intermittent problem, must be something with your server or server & install combination. good luck. Let us know what you find.
Mike Vandenberg
School of Applied Knowledge
Caldari State
#431 - 2015-09-13 23:43:07 UTC
Raven ThyKnight wrote:


Its a shared server so I have 12 sites on its all at once. What is the price to get the suite but I host it myself?


On a brand new VPS (nothing on it) we can do installs for between 3.5-4.5 bil. On an existing server the price is more due to how we install our images and more work to ensure we don't mess anything up.
Raven ThyKnight
Un-protected Plex
Pandemic Horde
#432 - 2015-09-14 01:54:51 UTC
Mike Vandenberg wrote:
Raven ThyKnight wrote:


Ok. Someone try my site. http://de-14.bigracktech.com I've reinstalled SMF and TEA with the same issue locally. If you can get to the main page, try to register and see if that goes through. So far every browser and PC I've used hated both SMF and SMF with TEA. I've tried searching the SMF forums for a fix as well but my google skills still aren't up to par.


I get a blank page like you. when I view source, there is nothing there. Did SMF work prior to installing TEA? So you install TEA and load the forums and the page loaded? I assume yes since TEA is a plugin/add-on to SMF but figured I would ask. Do you have root access on your server?

Edit: after I wrote this I clicked the link a couple more times. It popped up 2x out of like 10-12 attempts. See screenshot:
Screencapture

Edit#2: I would google: "smf blank page sometimes" and go through what you find and see if any of those might help. Since this is an intermittent problem, must be something with your server or server & install combination. good luck. Let us know what you find.


Ok so I've shut Compressed Output off - no change, I've set the database connection to persistent - no change.

Could this be a CentOS thing? I see you run Ubuntu. I doubt it cares what Linux distro I'm using.

I'm going to build a VPS with nothing on it and install from scratch tomorrow night and see what happens then. Pretty strange that this is an issue that dates clear back to 2004 with SMF. Anyone else have any ideas to try out? Would love to have this software running for my corp and alliance.
Mike Vandenberg
School of Applied Knowledge
Caldari State
#433 - 2015-09-14 02:30:13 UTC
Raven ThyKnight wrote:


Ok so I've shut Compressed Output off - no change, I've set the database connection to persistent - no change.

Could this be a CentOS thing? I see you run Ubuntu. I doubt it cares what Linux distro I'm using.

I'm going to build a VPS with nothing on it and install from scratch tomorrow night and see what happens then. Pretty strange that this is an issue that dates clear back to 2004 with SMF. Anyone else have any ideas to try out? Would love to have this software running for my corp and alliance.


I would be surprised if it is a CentOS thing. You never answered the question whether the forums (SMF) worked prior to installing TEA. That would be pretty helpful. That would tell us if it is an SMF issue or TEA issue. I'm thinking SMF.

The symptoms go back to 2004. Doesn't mean your specific issues does. Narrow your search by using SMF 2.0...see what comes up. You should try some different searches to see what else you can come up with. I didn't really look very close, just that there was some stuff out there you could try.
Raven ThyKnight
Un-protected Plex
Pandemic Horde
#434 - 2015-09-19 23:13:55 UTC
Mike Vandenberg wrote:
Raven ThyKnight wrote:


Ok so I've shut Compressed Output off - no change, I've set the database connection to persistent - no change.

Could this be a CentOS thing? I see you run Ubuntu. I doubt it cares what Linux distro I'm using.

I'm going to build a VPS with nothing on it and install from scratch tomorrow night and see what happens then. Pretty strange that this is an issue that dates clear back to 2004 with SMF. Anyone else have any ideas to try out? Would love to have this software running for my corp and alliance.


I would be surprised if it is a CentOS thing. You never answered the question whether the forums (SMF) worked prior to installing TEA. That would be pretty helpful. That would tell us if it is an SMF issue or TEA issue. I'm thinking SMF.

The symptoms go back to 2004. Doesn't mean your specific issues does. Narrow your search by using SMF 2.0...see what comes up. You should try some different searches to see what else you can come up with. I didn't really look very close, just that there was some stuff out there you could try.



Sorry I haven't replied. Looks like SMF went to version 2.0.11 - I've done a complete reinstall of SMF. By itself I get the blank screen errors. trying to find the PHP Error reporting on my control panel to see what information it provides. At this time I have not installed TEA.
Raven ThyKnight
Un-protected Plex
Pandemic Horde
#435 - 2015-09-22 19:05:45 UTC
I've been working with my Control Panel support all weekend and we can't figure it to be an issue on our side.

What are the requirements for TEA? What PHP and MySQL versions are needed? I also cannot get anywhere with SMF Support. Anyway this module could be ported to MyBB or something that works better?
Raven ThyKnight
Un-protected Plex
Pandemic Horde
#436 - 2015-09-22 23:07:09 UTC
Raven ThyKnight wrote:
I've been working with my Control Panel support all weekend and we can't figure it to be an issue on our side.

What are the requirements for TEA? What PHP and MySQL versions are needed? I also cannot get anywhere with SMF Support. Anyway this module could be ported to MyBB or something that works better?



Updating my Control Panel OS to CentOS 7.1 x64 to see if the newer versions of PHP and stuff help any. Will report back in a couple days.
Mike Vandenberg
School of Applied Knowledge
Caldari State
#437 - 2015-09-23 07:10:00 UTC
Raven ThyKnight wrote:



Sorry I haven't replied. Looks like SMF went to version 2.0.11 - I've done a complete reinstall of SMF. By itself I get the blank screen errors. trying to find the PHP Error reporting on my control panel to see what information it provides. At this time I have not installed TEA.


If you get errors with just SMF, then the issue doesn't have to do with TEA. I can tell you we don't use control panels for our installs and do everything on Ubuntu 14.04 LTS 64x. I am sure that doesn't help much aside to know that it does work for people. Let us know if you figure out the issue or make any progress. If I haven't suggest this already, I might recommend spinning up a temporary test server somewhere (like amazon ec2, or digital ocean) and running the install there to see if it works. If it works, you know the process you are following is correct and it is your configuration. If it doesn't work it could be the steps you use to install, or something unrelated (on smf's side).
Raven ThyKnight
Un-protected Plex
Pandemic Horde
#438 - 2015-09-23 18:17:46 UTC
One of the support techs found this:

Hi!
Everyone who appears when you run Simple Machine Forum white page, see this post!

Problem:
You tried installing Simple Machines Forum software (SMF) either from the source website or using Sentastico, but it shows as a blank page when you try to access it. No issues are seen in the ZpanelX or Sentora Error Log and all other configurations appear to be correct.

Solution :
This issue is caused by suhosin security module which blocks the PHP function shell_exec() from being used. However, SMF appears to call this function in the Sources/Subs.php file, around line 3538 (line 3737 on version 2.0.11):

// Try the Linux host command, perhaps?

if (!isset($host) && (strpos(strtolower(PHP_OS), ‘win’) === false || strpos(strtolower(PHP_OS), ‘darwin’) !== false) && mt_rand(0, 1) == 1)
{
if (!isset($modSettings[‘host_to_dis’]))
$test = @shell_exec(‘host -W 1 ‘ . @escapeshellarg($ip));
else
$test = @shell_exec(‘host ‘ . @escapeshellarg($ip));
// Did host say it didn’t find anything?
if (strpos($test, ‘not found’) !== false)
$host = ”;
// Invalid server option?
elseif ((strpos($test, ‘invalid option’) || strpos($test, ‘Invalid query name 1′)) && !isset($modSettings[‘host_to_dis’]))
updateSettings(array(‘host_to_dis’ => 1));
// Maybe it found something, after all?
elseif (preg_match(‘~\s([^\s]+?)\.\s~’, $test, $match) == 1)
$host = $match[1];
}

This code block should be commented out by adding PHP comment tags :

// Try the Linux host command, perhaps?

/* if (!isset($host) && (strpos(strtolower(PHP_OS), ‘win’) === false || strpos(strtolower(PHP_OS), ‘darwin’) !== false) && mt_rand(0, 1) == 1)
{
if (!isset($modSettings[‘host_to_dis’]))
$test = @shell_exec(‘host -W 1 ‘ . @escapeshellarg($ip));
else
$test = @shell_exec(‘host ‘ . @escapeshellarg($ip));
// Did host say it didn’t find anything?
if (strpos($test, ‘not found’) !== false)
$host = ”;
// Invalid server option?
elseif ((strpos($test, ‘invalid option’) || strpos($test, ‘Invalid query name 1′)) && !isset($modSettings[‘host_to_dis’]))
updateSettings(array(‘host_to_dis’ => 1));
// Maybe it found something, after all?
elseif (preg_match(‘~\s([^\s]+?)\.\s~’, $test, $match) == 1)
$host = $match[1];
} */

This will fix the issue and allow SMF to work properly. The function is not necessary for the normal operation of the script, as other means are available to SMF to accomplish the same thing.

Source: http://www.supportpro.com/blog/2013/09/smf-forum-showing-blank-screen-not-working/


and this is working for me so far!
Mike Vandenberg
School of Applied Knowledge
Caldari State
#439 - 2015-09-23 19:02:37 UTC
Awesome! glad you figured it out. Thanks for posting the resolution.
Salli Nerval
Viziam
Amarr Empire
#440 - 2015-10-03 17:34:20 UTC  |  Edited by: Salli Nerval
i am a bit confused. i set up a new smf2 and an openfire 3.10.2.

the integration with ts is running fine and even with openfire if i use the Users Service plugin. now i noticed for some options / extensions i have to use the REST API from openfire.
if i check the tea_jabber_of.php i see urls to the Rest API and i see the get_rest function on the teac.php.

but if i deactivate the Users Service Plugin in openfire and activate the REST API, no users will be added anymore.

can somone give me some hints here?

the problem behind is that openfire can't assing groups as members to group chats. so i wanted to add the users to the rooms directly after it get created via User Service / Rest API.


update: the file in the package was oder than on my deskop download