TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,234
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 263
  • Total: 264
  • lurkalot

Problem installing the teamspeak block!

Started by biggsy, August 10, 2007, 10:53:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

biggsy

Hi all, i installed the ts block, awesome piece of kit, created a php block and entered the code as suggested, by on my site where the teamspeak block should be i get this error....

Parse error: syntax error, unexpected '&' in /home/utclan/public_html/Sources/Load.php(1735) : eval()'d code(35) : eval()'d code on line 1

If i type the exact url of the ts_viewer.php it shows fine but just not in my block

Any ideas guy and gals???


Many Many Thanks

bigs

IchBin


biggsy

thanks for your reply, the code i am using is

include ("teamspeak/ts_viewer.php");

my files are inside teamspeak folder in the root, and the forum/tp are installed into the root


biggsy

#3
I fixed that problem, the post where i copied the code used " instead of ' to enclose the path.

Now it seems to be working but it just says OFFLINE...

/* ---------- Teamspeak-Viewer - Anfang ---------------*/

   $ts_viewer->set_Viewer(".:CUT3:.", "http://www.clan-ut3.com/");
   $ts_viewer->set_Channels();
   $ts_viewer->show_ts_viewer("195.149.21.133", 12080, 51234, "");
   
/* ---------- Teamspeak-Viewer - Ende ---------------*/

the ports are correct, i used a website to find the correct query port by changing my web post url.

is there any way to tell if the port used is closed on my webspace? could this be the issue?

many many thanks

bigs

IchBin

Yes, that is what I think is the problem. Ask your host if they are blocking the ports. Not your webhost, but the team speak host.

biggsy

hmm i would say my ts host wouldnt do that but i have asked the question anyway, is there any possibility that my webhost could be blocking the port?

thanks

biggsy

IchBin

It shouldn't matter what the host is doing. The script calls the TS server port, not the webserver port.

Zetan

We have our 128k stream stats blocked by our webhost.. it's rather annoying as I can only display stats from their hosted 64k stream.
They either ignore the request or say no. If they opened that port for us, it would probably open that port for every website hosted on the same server.

Thats the conclusion I came to.. I would move hosts, but apart from that little gripe.. I'm happy with the service they provide.

Prophecy

Hello,

I always get these error after installing the teamspeakviewer in my implemented TS-Block:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in .../teamspeak/config.php on line 78

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in .../teamspeak/config.php on line 146

I created a new teamspeak block about the tinyportal admin panel and implemented the viewer correctly . Underneath these error, the teamspeak channel is displayed correctly, too. I already changed the php.ini to allow_call_time_pass_reference = On!
I don't really know what to do now.

Thx,
Prophecy

IchBin

You'll need to ask your host if they can enable allow_call_time_pass_reference in the php.ini file on the server.

This website is proudly hosted on Crocweb Cloud Website Hosting.