TM600 cccaminfophp help please!

chutzpah

Inactive User
Joined
Oct 2, 2009
Messages
35
Reaction score
0
hi, thanks for looking here. hopefully you'll be able to assist.

im having a horrible issue for days now, i cant seem to get the cccaminfophp to connect to the tm600. ive done all the settings in config.php and also the config.cfg via DCC and i get the following:

Update failed : eyç}ÇB°×Ÿ.½


everytime i press update i get some funny code.

if i change the default port from 16001 to something else in the config.php and config.cfg i stop getting the code and i simply get:

Update failed : failed to connect to 192.168.x.x port xxxxx

dont know what to do. this is an upgrade from dm500 and was working fine a few weeks back.

any help or experienced advice would be gratefully appreciated here!
thanks to all in advance
 
usually happens if you dont have a work path set in you config.cfg, you also dont need to edit any php files.

$work_path = ""; // set this if you want working folder separate // Example $work_path = "/tmp/";

does you config.cfg have the same line? if it does change it to

$work_path = "/tmp/"; // set this if you want working folder separate // Example $work_path = "/tmp/";


Never used a TM only dreambox and linux server, so some else might have another solution.

Si
 
si, thanks for the response. ive been online for 2 days now and that the most promising thing ive seen so thanks.

i changed it as sugested and now i dont get the weird code which is good.

however i get the following at the top:

The file /tmp/192.168.xx.xx/download/caminfo.data is not writable

and the usual: Update failed : Unable to connect to 192.168.xx.xx:16001

where exactly am i supposed to change the perms here?
 
already is.

there are only a few single files within /tmp anyway

no sign of /tmp/192.168.71.44/download/caminfo.data
 
Sorry i mean the whole lot of files in the /var/www/ (cccaminfophp files)

also you could try and loose the '/tmp/' to 'tmp' see if that helps.

Am pretty sure either one will sort it out.

Si
 
Where have you placed the files for cccaminfophp? do you have them on the tm600? Your computer?

Si
 
If you have windows i would get cccaminfophp win v3.2 it comes with the lamp install packaged ready for use.

The error your getting now also appears when when you have not chmod the files in the cccaminfophp package.

Can you tell me what cccaminfophp package you are using, you say it was working until you moved from a dm500 to your tm600.

Si
 
yeh was working before i upgraded.. i tried lots of versions, eneded up going back to 0.8.2 as this was the most reliable in the past.

yes its windows. do you suggest using the verson you mentioned? if so any idea where i can get a reliable download?
thanks
 
I use this version if i want to connect to a reciver it takes the load of the reciever, if you run a linux server you would use the standard version.

you only need to make changes to the config.php

and the splash screen password is 'dreambox'

Si
 
ok tried it (the cccaminfophp WIN32 version) and get the same results here:

The file /tmp/192.168.xxxxx/download/caminfo.data is not writable

this is my config.php content:

PHP]<?php
$CCCamWebInfo[] = array("192.168.xxxxx","16001","root","xxxxxxx"); // for CCcam webinterface with user and pass
#$CCCamWebInfo[] = array("localhost","12345"); // for CCcam webinterface with different port than default and without user and pass
#$CCCamWebInfo[] = array("localhost"); // for CCcam webinterface with all defaults
$work_path = "/tmp/"; // set this if you want working folder separate // Example $work_path = "/tmp/";
$update_from_button = true; // set to true if you want Update button ( usefull if update is from remote server and takes too long)
$fullReshare = true; // shows maximum reshare if more than one route for same node // set to true to see actual reshare instead of YES/NO
$country_whois = true; // use whois for country detection
include("includes/functions.php");
$CCcam_path = "/var/etc/";
$CCcam_path1 = "/var/etc/";
?> [/PHP]



if i change the $work_path = "/tmp/" to $work_path = tmp i just get scammbled code when i update for e.g. Update failed : ãå$1 Ê’lõ³¤i¼


so im not sure where to go frm here...
 
take out the 'tmp' so its back to "" like the original..

$work_path = ""; // set this if you want working folder separate // Example $work_path = "/tmp/";

you are using the following line..

$CCCamWebInfo[] = array("192.168.xxxxx","16001","root","xxxxxxx"); // for CCcam webinterface with user and pass

when you type into you webbrowser

http://ipaddress:16001

does it ask for as user an password?

Si
 
sounds like cccam is not running because when you type in

ipaddress:16001

you should get the cccam web gui this is where cccaminfophp pulls the info from. You need to get the cccam web gui working (start cccam) Then if it does not ask you for a password you need to use another line here

#$CCCamWebInfo[] = array("192.168.xxxxx","16001","root","xxxxxxx"); // for CCcam webinterface with user and pass
$CCCamWebInfo[] = array("192.168.xxxxx","16001"); // for CCcam webinterface with different port than default and without user and pass
#$CCCamWebInfo[] = array("localhost"); // for CCcam webinterface with all defaults

Si
 
now i just get plain: Update failed : Unable to connect to 192.168.xxx.xxx:16001

seems like it not talking to the box
what version cccam should be started?
 
The tm600 you are trying to connect to needs cccam running it doesnt matter what version it just needs to be on and you to be able to access the cccam webgui on port 16001.

Si
 
Last edited:
fixed - i started 2.0.10 and it came up. dont know how or why but can connect now.

many thanks for your help!!!:Clap:
 
Back
Top