← PHP

ShoutCast Server (Linux) - Painel de Administração/AutoDJ Freeware

Lida 138776 vezes

Offline

killer_val 
Membro
Mensagens 29 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Seventh year Anniversary

Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

killer_val, em que página (ou páginas) do painel te aparece esse erro?
Offline

killer_val 
Membro
Mensagens 29 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Seventh year Anniversary

xml
String could not be parsed as XML
Warning: Cannot modify header information - headers already sent by (output started at /var/www/core/classes/ShoutTrans.class.php:170) in /var/www/core/functions/functions.inc.php on line 542

Warning: Cannot modify header information - headers already sent by (output started at /var/www/core/classes/ShoutTrans.class.php:170) in /var/www/core/functions/functions.inc.php on line 543

Warning: Cannot modify header information - headers already sent by (output started at /var/www/core/classes/ShoutTrans.class.php:170) in /var/www/core/functions/functions.inc.php on line 544

Warning: Cannot modify header information - headers already sent by (output started at /var/www/core/classes/ShoutTrans.class.php:170) in /var/www/core/functions/functions.inc.php on line 545

Warning: Cannot modify header information - headers already sent by (output started at /var/www/core/classes/ShoutTrans.class.php:170) in /var/www/core/functions/functions.inc.php on line 546


nas abas
Endpoints
Media Library
Jingles
sao essas abas com erro
Events
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

No ficheiro teste.php, coloca:

Código: (php) [Seleccione]
<?php
 
define
'_CONF_CONFIG_FILE_''../../config.inc.php' );
 
require ( 
'../loader.inc.php' );
 
$ad = new Admin();
 
defined('_IS_ADMIN_') or $ad->redirect_CONF_SITE_URL_ '/' _CONF_ADMIN_PANEL_ '/login.php' );
 
echo 
'<pre>' $st->api_cmd'listevents' ) , '</pre>';

?>

E coloca aqui o resultado sff.
Offline

killer_val 
Membro
Mensagens 29 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Seventh year Anniversary

Ele volta no login.php
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

Então faz login e acede novamente à página.
Offline

killer_val 
Membro
Mensagens 29 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Seventh year Anniversary

mesmos erros

xml
String could not be parsed as XML
Warning: Cannot modify header information - headers already sent by (output started at /var/www/core/classes/ShoutTrans.class.php:170) in /var/www/core/functions/functions.inc.php on line 542

Warning: Cannot modify header information - headers already sent by (output started at /var/www/core/classes/ShoutTrans.class.php:170) in /var/www/core/functions/functions.inc.php on line 543

Warning: Cannot modify header information - headers already sent by (output started at /var/www/core/classes/ShoutTrans.class.php:170) in /var/www/core/functions/functions.inc.php on line 544

Warning: Cannot modify header information - headers already sent by (output started at /var/www/core/classes/ShoutTrans.class.php:170) in /var/www/core/functions/functions.inc.php on line 545

Warning: Cannot modify header information - headers already sent by (output started at /var/www/core/classes/ShoutTrans.class.php:170) in /var/www/core/functions/functions.inc.php on line 546


nas abas
Endpoints
Media Library
Jingles
sao essas abas com erro
Events
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

Não te pode dar esse erro no ficheiro teste.php

Já agora, coloca aqui também o conteúdo do ficheiro calendar.xml
Offline

killer_val 
Membro
Mensagens 29 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Seventh year Anniversary

<?xml version="1.0" encoding="UTF-8" ?>
<eventlist>
<event type="dj">
<dj archive="0">neil</dj>
<calendar  starttime="00:00:00" />
</event>
</eventlist>
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

Tens de te certificar que o ficheiro teste.php não te dá aquele erro, é que não pode dar esse erro nessa ficheiro.

Por isso verifica se colocaste no ficheiro o que escrevi e se estás mesmo a aceder ao teste.php
Offline

killer_val 
Membro
Mensagens 29 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Seventh year Anniversary

meu sc_trans ta assim

;; VU Images
vuimagedirectory=/home/media/shoutcast/vuimages
fileconverterdebug=0
flashpolicyfile=/home/media/shoutcast/crossdomain.xml
flashpolicyserverdebug=0
flashpolicyserverport=0
gaindebug=0
calendardebug=0
calendarfile=/home/media/shoutcast/calendar.xml
calendarrewrite=1

;; ENCODER OPTIONS
encoder=mp3
bitrate=80000
samplerate=44100
channels=2

;;; NETWORK OPTIONS
outprotocol=1
serverip=
serverport=
password=


;;;; LOGGING OPTIONS:
;where does the log file go
logfile=/home/media/shoutcast/log/sc_trans.log
; 1 to do screen logging else 0
screenlog=1

;;;;;; METADATA CONTROL
; my stream name
streamtitle=Killer Brasil Radio ONline
; url related to my stream
streamurl=http://killerbrasil.com.br
; my genre
genre=Musicas Variadas
; other assorted stuff
;aim=myaimaddr
;irc=myirc
;icq=myicq
; register with yp
public=1
      
;;;; PLAYLIST CONTROL
; your playlist   
playlistfile=/home/media/audio/playlists/Playlist.lst
; by default we shuffle the playlist. Lets turn that off
shuffle=1
; set our crossfade time to 2 seconds. zero means no xfade
xfade=2      
; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
playlists=/home/media/audio/playlists/priority/
; where finished priority playlists get copied
archive=/home/media/audio/playlists/archive/

;;;   LIVE CAPTURE:
; don't capture
capture=1   
; set capture parameters
;capturedevice=Sound Blaster
;captureinput=Line-In
;capturesamplerate=44100
;capturechannels=2

;;;; DJ SUPPORT:
; dj listen port
djport=8002
; dj password
djpassword=138951
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=/home/media/audio/recorded/
   
;; REPLAY GAIN CONTROL:
applyreplaygain=1
calculatereplaygain=1
         
;;; OTHER:      
adminport=8085
adminuser=killerbr
adminpassword=138951

;; MP3 LICENSE
; unlockkeyname=
; unlockkeycode=
Offline

killer_val 
Membro
Mensagens 29 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Seventh year Anniversary

O teste.php ta legal aparece o usuario e a senha tranquilo
entro dentro do script o problema ta dentro nas abinha nao fora
ta abrindo normal o programa mais aparece aquele erro que esta descrito ai
com esse erro nao da para fazer nada dentro dele
a unica coisa que consigo fazer e startar o shoutcast
e tipo fazer upload das musicas nao esta dando devido ao erro..
e consigo ouvir as musicas mais do resto nao funciona nada entende agora o que esta acontecendo.. nao sei
mais o que fazer ja tentei de tudo e nao tive soluçao se puder dar mais uma dica agradeço..
e OBRIGADAO POR TUDO QUE VC ESTA FAZENDO VALEU MESMO ICE
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

O teste.php ta legal aparece o usuario e a senha tranquilo
entro dentro do script o problema ta dentro nas abinha nao fora
ta abrindo normal o programa mais aparece aquele erro que esta descrito ai
com esse erro nao da para fazer nada dentro dele
a unica coisa que consigo fazer e startar o shoutcast
e tipo fazer upload das musicas nao esta dando devido ao erro..
e consigo ouvir as musicas mais do resto nao funciona nada entende agora o que esta acontecendo.. nao sei
mais o que fazer ja tentei de tudo e nao tive soluçao se puder dar mais uma dica agradeço..
e OBRIGADAO POR TUDO QUE VC ESTA FAZENDO VALEU MESMO ICE


Não pode aparecer o username e a password.

Repara que eu mudei o conteúdo do ficheiro teste.php e estou a tentar ajudar-te mas ainda não alteraste o ficheiro teste.php para eu poder ver os resultados. É isso que eu preciso que faças conforme referi acima.

Offline

killer_val 
Membro
Mensagens 29 Gostos 0
Troféus totais: 16
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 3 Level 2 Level 1 10 Posts First Post Karma Seventh year Anniversary

em que pasta eu coloco o teste.php?
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

No mesmo local onde colocaste anteriormente, só muda o conteúdo do ficheiro.