Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Diskussionsthread zum How-To OScamInfoPHP

    Nobody is reading this thread right now.
AW: Diskussionsthread zum How-To OScamInfoPHP

Kann ja sein, dass Du curl installiert hast. Dann fehlt aber bestimmt noch das entsprechende PHP-Modul

Code:
apt-get install php5-curl

Cya
paramite
 
AW: Diskussionsthread zum How-To OScamInfoPHP

Habe es genauso wie in der Anleitung installiert + konfiguriert auf meinem Igel Debian Server. OscaminfoPHP startet auch, zeigt mir allerdings gar keine Daten an.

Hier meine configs:

config.global.php

<?php
/* Autorefresh in seconds for OSCam Info */
DEFINE('REFRESH_SECS',30);

/* Language de=german / en=english */
DEFINE('LANGUAGE','de');

/* A custom notice in the header (empty if no message should be displayed)*/
DEFINE('CUSTOM_NOTICE','Welcome to OScam Info');

/* A custom stlye for the main grid, available are 'blue' and 'gray' */
DEFINE('OSCAM_STYLE','blue');

/* The width (in px) of the mainwindow(s), full screen size can be set with 'full' */
DEFINE('SCREEN_SIZE','1000');

/* The Adminuser */
DEFINE('ADM_USER','admin');

/* The Adminpassword */
DEFINE('ADM_PASS','abcd');

/* Connect through proxyserver, if no proxy is needed just leave blank */
DEFINE('PROXY_URL','');
DEFINE('PROXY_PORT','');
DEFINE('PROXY_USER','');
DEFINE('PROXY_PASS','');

/* Lower than this percent the values will cumulated */
DEFINE('LOWER_THAN','1,5');

/* Available entries per page */
DEFINE('ENTRIES_PER_PAGE','10,20,30,40,50');

/* Default entries per page */
DEFINE('ENTRIES_PER_PAGE_DEFAULT','30');

/* Channel picons update every XX days */
DEFINE('CHANNEL_PICONS','14');

/* Enable logging */
DEFINE('LOG_ENABLE',false);

/* Logging path of file oscaminfophp.log */
DEFINE('LOG_PATH','/var/log');

/* Logging deep, what should be logged (comma seperared): logins,tabs,stats,search */
DEFINE('LOG_DEEP','logins,tabs,stats,search');
?>

config.oscam.php


<?php
/*
Define your OSCam Servers here. For each Server one
block must be defined. If you need more just dupicate
a block and edit the settings.

Below you see a example with three server with the names
Server1, Server2 and Server3
*/

$server["Server1"] = array(
"url" => "192.168.2.100",
"port" => "19555",
"user" => "abcd",
"pass" => "abcd",
"ssl" => false
);
?>

config.user.php

<?php
/*
Here your users must be defined. For each user must be
one block defined. If you need more just dupicate a block
and edit the settings.

In the tabs section you have to define which tabs of OSCam Info
the user can be access. Avaiable are: clients, readers, pairs, log

In the onlyclients section you can define which conncted clients the
user will see. You can set a unique clientname or a protocol. If you
set a protocol all users which are using this protocol will be shown.
To allow to see all clients just uncomment the section or delete it,
like user bill in the example config.

In the onlyreaders section you can define which conncted readers the
user will see. You can set a unique readername or a protocol. If you
set a protocol all readers which are using this protocol will be shown.
To allow to see all readers just uncommend the section or delete it,
like user bill in the example config.

In the oscam section you have to define which oscam servers (defined
in config.oscam.php) the user can access.

In the sort section the default sorting can be defined after logging
in. Possible values are:
identname_asc,identname_desc,country_asc,country_desc,protocol_asc,
protocol_desc,request_asc,request_desc,ecmtime_asc,ecmtime_desc,
loggedin_asc,loggedin_desc,lastactivity_asc,lastactivity_desc,
connection_asc,connection_desc

Below you see a example with three users with the usernames
john, james and bill.

*/


$user["abcd"] = array(
"password" => "abcd",
"tabs" => "clients,readers,pairs,log",
// "onlyclients" => "newcamd,peer1,peer2",
// "onlyreaders" => "mouse,reader1",
"oscam" => "Server",
"sort" => ""
);
?>

oscam.conf

[global]
logfile = /var/log/ipc/OScam.log
nice = 0
maxlogsize = 2480

[newcamd]
port = xxxxxxxxx
key = 0102030405060708091011121314
keepalive = 1

[cccam]
port = xxxxxxx
nodeid = xxxxxx
version = 2.2.1
reshare = 1

[webif]
httpport = 19555
httpuser = abcd
httppwd = abcd
httprefresh = 15
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255.255,172.16.0.0-172.31.255.255

Am Igel habe ich 3 Karten lokal angeschlossen und will das mir diese angezeigt werden. Nach der Installation / Einrichtung, habe ich Apache neu gestartet mit dem Befehl:

/etc/init.d/apache2 restart

Das klappt einwandfrei. Ich bekomme also keine Fehlermeldung. Nur woran kann es liegen ?

Dem Ordner /var/www/oscaminfo habe ich die richtigen Rechte (755) vergeben.

EDIT: Fehler gefunden.

config.oscam.php


$server["Server1"] = array(

und in der config.user.php stand:

"oscam" => "Server",

Beides auf "Server1" geändert und sofort lief es
 
Zuletzt bearbeitet:
AW: Diskussionsthread zum How-To OScamInfoPHP

Hallo zusammen,


ich habe die Anleitung befolgt und OscamInfoPHP auch am laufen, doch leider wird nichts angezeigt.
Weiß einer warum?

Configglobal.phü

<?php
/* Autorefresh in seconds for OSCam Info */
DEFINE('REFRESH_SECS',30);

/* Language de=german / en=english */
DEFINE('LANGUAGE','de');

/* A custom notice in the header (empty if no message should be displayed)*/
DEFINE('CUSTOM_NOTICE','Welcome to OScam Info');

/* A custom stlye for the main grid, available are 'blue' and 'gray' */
DEFINE('OSCAM_STYLE','blue');

/* The width (in px) of the mainwindow(s), full screen size can be set with 'full' */
DEFINE('SCREEN_SIZE','1000');

/* The Adminuser */
DEFINE('ADM_USER','admin');

/* The Adminpassword */
DEFINE('ADM_PASS','password!');

/* Connect through proxyserver, if no proxy is needed just leave blank */
DEFINE('PROXY_URL','');
DEFINE('PROXY_PORT','');
DEFINE('PROXY_USER','');
DEFINE('PROXY_PASS','');

/* Lower than this percent the values will cumulated */
DEFINE('LOWER_THAN','1,5');

/* Available entries per page */
DEFINE('ENTRIES_PER_PAGE','10,20,30,40,50');

/* Default entries per page */
DEFINE('ENTRIES_PER_PAGE_DEFAULT','30');

/* Channel picons update every XX days */
DEFINE('CHANNEL_PICONS','14');
?>

config.oscam

<?php
/*
Define your OSCam Servers here. For each Server one
block must be defined. If you need more just dupicate
a block and edit the settings.

Below you see a example with three server with the names
Server1, Server2 and Server3
*/








$server["Server"] = array(
"url" => "192.168.178.150",
"port" => "80",
"user" => "admin",
"pass" => "password!",
"ssl" => false
);


?>

config.user.php

<?php
/*
Here your users must be defined. For each user must be
one block defined. If you need more just dupicate a block
and edit the settings.

In the tabs section you have to define which tabs of OSCam Info
the user can be access. Avaiable are: clients, readers, pairs, log

In the onlyclients section you can define which conncted clients the
user will see. You can set a unique clientname or a protocol. If you
set a protocol all users which are using this protocol will be shown.
To allow to see all clients just uncomment the section or delete it,
like user bill in the example config.

In the onlyreaders section you can define which conncted readers the
user will see. You can set a unique readername or a protocol. If you
set a protocol all readers which are using this protocol will be shown.
To allow to see all readers just uncommend the section or delete it,
like user bill in the example config.

In the oscam section you have to define which oscam servers (defined
in config.oscam.php) the user can access.

In the sort section the default sorting can be defined after logging
in. Possible values are:
identname_asc,identname_desc,country_asc,country_desc,protocol_asc,
protocol_desc,request_asc,request_desc,ecmtime_asc,ecmtime_desc,
loggedin_asc,loggedin_desc,lastactivity_asc,lastactivity_desc,
connection_asc,connection_desc

Below you see a example with three users with the usernames
john, james and bill.

*/


$user["admin"] = array(
"password" => "password",
"tabs" => "clients,readers,pairs,log",
"oscam" => "Server",
"sort" => ""
);
?>

WebIf Port ist richtig gesetzt...

Vielen Dank für eure Hilfe! :)

- - - - - - - - - -

Hallo zusammen,


ich habe die Anleitung befolgt und OscamInfoPHP auch am laufen, doch leider wird nichts angezeigt.
Weiß einer warum?

Configglobal.phü

<?php
/* Autorefresh in seconds for OSCam Info */
DEFINE('REFRESH_SECS',30);

/* Language de=german / en=english */
DEFINE('LANGUAGE','de');

/* A custom notice in the header (empty if no message should be displayed)*/
DEFINE('CUSTOM_NOTICE','Welcome to OScam Info');

/* A custom stlye for the main grid, available are 'blue' and 'gray' */
DEFINE('OSCAM_STYLE','blue');

/* The width (in px) of the mainwindow(s), full screen size can be set with 'full' */
DEFINE('SCREEN_SIZE','1000');

/* The Adminuser */
DEFINE('ADM_USER','admin');

/* The Adminpassword */
DEFINE('ADM_PASS','password!');

/* Connect through proxyserver, if no proxy is needed just leave blank */
DEFINE('PROXY_URL','');
DEFINE('PROXY_PORT','');
DEFINE('PROXY_USER','');
DEFINE('PROXY_PASS','');

/* Lower than this percent the values will cumulated */
DEFINE('LOWER_THAN','1,5');

/* Available entries per page */
DEFINE('ENTRIES_PER_PAGE','10,20,30,40,50');

/* Default entries per page */
DEFINE('ENTRIES_PER_PAGE_DEFAULT','30');

/* Channel picons update every XX days */
DEFINE('CHANNEL_PICONS','14');
?>

config.oscam

<?php
/*
Define your OSCam Servers here. For each Server one
block must be defined. If you need more just dupicate
a block and edit the settings.

Below you see a example with three server with the names
Server1, Server2 and Server3
*/








$server["Server"] = array(
"url" => "192.168.178.150",
"port" => "80",
"user" => "admin",
"pass" => "password!",
"ssl" => false
);


?>

config.user.php

<?php
/*
Here your users must be defined. For each user must be
one block defined. If you need more just dupicate a block
and edit the settings.

In the tabs section you have to define which tabs of OSCam Info
the user can be access. Avaiable are: clients, readers, pairs, log

In the onlyclients section you can define which conncted clients the
user will see. You can set a unique clientname or a protocol. If you
set a protocol all users which are using this protocol will be shown.
To allow to see all clients just uncomment the section or delete it,
like user bill in the example config.

In the onlyreaders section you can define which conncted readers the
user will see. You can set a unique readername or a protocol. If you
set a protocol all readers which are using this protocol will be shown.
To allow to see all readers just uncommend the section or delete it,
like user bill in the example config.

In the oscam section you have to define which oscam servers (defined
in config.oscam.php) the user can access.

In the sort section the default sorting can be defined after logging
in. Possible values are:
identname_asc,identname_desc,country_asc,country_desc,protocol_asc,
protocol_desc,request_asc,request_desc,ecmtime_asc,ecmtime_desc,
loggedin_asc,loggedin_desc,lastactivity_asc,lastactivity_desc,
connection_asc,connection_desc

Below you see a example with three users with the usernames
john, james and bill.

*/


$user["admin"] = array(
"password" => "password",
"tabs" => "clients,readers,pairs,log",
"oscam" => "Server",
"sort" => ""
);
?>

WebIf Port ist richtig gesetzt...

Vielen Dank für eure Hilfe! :)
 
AW: Diskussionsthread zum How-To OScamInfoPHP

Kann ich den Port irgendwo ändern?
Bei mir sagt er bei Port 80:
[h=1]It works![/h] This is the default web page for this server.

The web server software is running but no content has been added, yet.

Momentan ruf ich den intern über 192.168.x.x/oscaminfo auf. Was muss ich ändern, damit ich kein oscaminfo schreiben muss, sondern den port?
 
AW: Diskussionsthread zum How-To OScamInfoPHP

Hy,

also laufen tuts. ich seh allerdings nur 2 von 10 clients und bei readers oder logs gar nix.
in der config.global.php hab ich nur das adminpw geändert.
wenn ich mich aber dann mit admin/meinpasswort einloggen möchte schreibt er das es falsch ist.

welche rechte muss man denn vergeben? irgendwo hier steht 775 und woanders 755.

mein testuser funktioniert, aber zeigt wie gesagt irgendwie nur 2 user an.


EDIT: anleitung lesen hilft :D
 
Zuletzt bearbeitet von einem Moderator:
AW: Diskussionsthread zum How-To OScamInfoPHP

Hallo,

ich habe mir OScamInfoPHP auch gerade auf IPC installiert. Soweit hat alles geklappt, ich habe die Webif Daten auf der "oscam.conf" in die "config.oscam.php" von OScamInfoPHP, dann die Benutzer angelegt, und mich eingeloggt, klappt per User und per Admin, aber ich sehe weder Reader noch Clients, alles ist leer.

config.oscam.php:
Code:
<?php

$server["Server1"] = array(
"url" => "SERVER_IP",
"port"        => "WEBIF_PORT",
"user"        => "WEBIF_USER",
"pass"        => "WEBIF_PASS",
"ssl"        => false
);


?>

config.user.php:
Code:
<?php

$user["USER"] = array(
"password"    => "PASSWORT",
"tabs"        => "clients,readers,pairs,log",
//"onlyclients"     => "",
//"onlyreaders"     => "",
"oscam"    => "Server1",
"sort"    => ""
);


?>
edit:

Jetzt geht es. Ich musste in der oscam.conf bei "httpallowed =" noch den IP Bereich anpassen.

Noch eine Frage, sind das alle Tabs die es gibt?: clients,readers,pairs,log
 
Zuletzt bearbeitet von einem Moderator:
AW: Diskussionsthread zum How-To OScamInfoPHP

Hi,

meister85, kann es sein das in deinem Code ein "-" fehlt.

Code:
 apt-get update && apt-get install php5 curl

Zumindest funktionierte es dann bei mir, als ich von paramite folgenden Code eingegeben habe.

Code:
apt-get install php5-curl

Vielleicht magst Du das bei Gelegenheit mal korrigieren, falls ich richtig liegen sollte. Danke+Gruß
 
AW: Diskussionsthread zum How-To OScamInfoPHP

Denke für den Hinweis. Hab es natürlich angepasst.

Gesendet von meinem GT-I9300 mit Tapatalk 4
 
AW: Diskussionsthread zum How-To OScamInfoPHP

Hallo,

bleibe bereits bei "apt-get install php5-curl" hängen.

Der meint er hat nicht genügend speicherplatz im /tmp ordner.

Der /Tmp ordner hat bei mir max 20 MB Frei warum auch immer. Habe den tmp Ordner geleert aber sobald ich "
apt-get install php5-curl" mache, ist der Ordner komplett voll mit 20 MB. Kann ich das irgendwo erhöhen?
 
AW: Diskussionsthread zum How-To OScamInfoPHP

Hallo Leute

Habe einen igel mit debian Debian GNU/Linux 7.4 (wheezy) und bekomme das oscaminfo nicht zum laufen.
(Oscam 1.20-unstable_svn buildr9578)

Hier meine configs:
config.user.php:
$user["user"] = array(
"password" => "pass",
"tabs" => "clients,readers,pairs,log",
// "onlyclients" => "newcamd,peer1,peer2",
// "onlyreaders" => "mouse,reader1",
"oscam" => "Server1,Server2,Server3",
"sort" => ""

config.oscam.php:
$server["Server1"] = array(
"url" => "192.168.178.4",
"port" => "899",
"user" => "user",
"pass" => "pass",
"ssl" => false
);

config.global.php:
/* The Adminuser */
DEFINE('ADM_USER','admin');
/* The Adminpassword */
DEFINE('ADM_PASS','password');


oscam.conf:
[webif]
httpport = 899
httpuser = user
httppwd = pass
httprefresh = 7
httpallowed = 127.0.0.1,192.168.178.0-192.168.178.255



Ich habe alle Daten korrekt eingegeben, sprich die Angaben aus der Oscam.conf richtig eingetragen und auch der Server ist korrekt eingegeben, jedoch immer dasselbe Bild, nur weißer Inhalt und komische Zeichen ganz unten . Woran kann das liegen?

getOscams(false);?> isTab("clients")):?> sortable();?> pagination="true"> [TABLE="class: cms_table_easyui-datagrid"]
[TR]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[/TR]
[/TABLE]


isTab("readers")):?> sortable(false);?> pagination="true"> [TABLE="class: cms_table_easyui-datagrid"]
[TR]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[TH][/TH]
[/TR]
[/TABLE]


isTab("pairs")):?> [TABLE="class: cms_table_easyui-datagrid"]
[TR]
[TH][/TH]
[TH][/TH]
[/TR]
[/TABLE]


isTab("log")):?>

Muss man vielleicht noch irgendwelche Pakete installieren??
Vieleicht kann ja jemand helfen
 
AW: Diskussionsthread zum How-To OScamInfoPHP

Versuchs mal mit sudo apt-get install php5-curl
Das Paket wird benötigt
 
AW: Diskussionsthread zum How-To OScamInfoPHP

also curl ist installiert geht aber trotzdem nicht
 
AW: Diskussionsthread zum How-To OScamInfoPHP

oscaminfophpVersion 1.9 hab aber auch schon andere Versionen probiert geht trotzdem nicht
 
Zurück
Oben