Pagina Blijft wit?

Gestart doorJeffreyy14 reacties84 weergaven

15 berichten · pagina 1 van 1

Jeffreyy

Lid · Topicstarter

Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Mijn pagina blijft nu de hele tijd wit, terwijl hij het eerst wel gewoon deed?

Pagina:
http://www.mixedrap.nl/track?id=87

Code v/d Pagina:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/config.inc.php[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$core[/COLOR][COLOR= #007700]->[/COLOR]template[COLOR= #007700]->[/COLOR]boven[COLOR= #007700]([/COLOR][COLOR= #DD0000]Track beluisteren[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$colorcount[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700];[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<h3>Track beluisteren</h3>[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]])) {[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$core[/COLOR][COLOR= #007700]->[/COLOR]error[COLOR= #007700]([/COLOR][COLOR= #DD0000]Er is geen track opgegeven.[/COLOR][COLOR= #007700]);
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
    [COLOR= #0000BB]$qQuery[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$mysql[/COLOR][COLOR= #007700]->[/COLOR]query[COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM tracks WHERE id = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$mysql[/COLOR][COLOR= #007700]->[/COLOR]escape[COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$mysql[/COLOR][COLOR= #007700]->[/COLOR]num_rows[COLOR= #007700]([/COLOR][COLOR= #0000BB]$qQuery[/COLOR][COLOR= #007700]) <[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$core[/COLOR][COLOR= #007700]->[/COLOR]error[COLOR= #007700]([/COLOR][COLOR= #DD0000]Deze track bestaat niet.[/COLOR][COLOR= #007700]);
    }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
        [COLOR= #0000BB]$mysql[/COLOR][COLOR= #007700]->[/COLOR]query[COLOR= #007700]([/COLOR][COLOR= #DD0000]"UPDATE tracks SET views = views+1 WHERE id = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$mysql[/COLOR][COLOR= #007700]->[/COLOR]escape[COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700]);[/COLOR]
        [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$qFetch[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$mysql[/COLOR][COLOR= #007700]->[/COLOR]fetch[COLOR= #007700]([/COLOR][COLOR= #0000BB]$qQuery[/COLOR][COLOR= #007700])) {[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Je beluisterd een track van <b>[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]rapper[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000].</b><br />Deze track heeft [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]views[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000] views.<br /><br />[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<h3>YouTube -> [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]rapper[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000] - [/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]</h3><br />[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<center>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="320" id="single1" name="single1">
<param name="movie" value="[/COLOR][COLOR= #007700].[/COLOR]ROOT[COLOR= #007700].[/COLOR][COLOR= #DD0000]/jwplayer/player.swf">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="wmode" value="transparent">
<param name="flashvars" value="file=http://www.youtube.com/v/[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]youtube[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]&autostart=1&showinfo=0&ps=popup&use_native_controls=0&et=OEgsToPDskLk-TO0Ewc0J7SltcizkpRP&hl=nl_NL&el=popout&version=3&iv_load_policy=3&autohide=1&hd=1&vq=large&hidelogo=1">
<embed
  id="single2"
  name="single2"
  src="[/COLOR][COLOR= #007700].[/COLOR]ROOT[COLOR= #007700].[/COLOR][COLOR= #DD0000]/jwplayer/player.swf"
  width="100%"
  height="320"
  bgcolor="#000000"
  allowscriptaccess="always"
  allowfullscreen="false"
  flashvars="file=http://www.youtube.com/v/[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]youtube[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]&showinfo=0&ps=popup&use_native_controls=0&et=OEgsToPDskLk-TO0Ewc0J7SltcizkpRP&hl=nl_NL&el=popout&version=3&iv_load_policy=3&autohide=1&hd=1&vq=large&hidelogo=1"
/>
</object>[/COLOR][COLOR= #007700];[/COLOR]

                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</center><br /><br />[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<h3>Wat kan je nog meer...</h3>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<table border="0">[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<tr>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td width="250"><a href="rapper?rapper=[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]rapper[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]">Klik hier om terug te gaan</a></td>[/COLOR][COLOR= #007700];[/COLOR] 
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td>&nbsp;</td>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</tr>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<tr>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td width="250"><b>Download link:</b></td>[/COLOR][COLOR= #007700];[/COLOR] 
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td><a href="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]download[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" target="_blank">Download track</a></td>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</tr>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<tr>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td><b>Totaal aantal views:</b></td>[/COLOR][COLOR= #007700];[/COLOR] 
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td>[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]views[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]</td>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</tr>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<tr>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td><b>Doorsturen:</b></td>[/COLOR][COLOR= #007700];[/COLOR] 
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td><input type="text" readonly="readonly" value="[/COLOR][COLOR= #007700].[/COLOR]ROOT[COLOR= #007700].[/COLOR][COLOR= #DD0000]/track?id=[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" onclick="this.select()" style="width:350px;"></td>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</tr>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<tr>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td><b>Embed code:</b></td>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td><input type="text" onclick="this.select()" style="width:350px;" value=<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="320" id="single1" name="single1">
<param name="movie" value="[/COLOR][COLOR= #007700].[/COLOR]ROOT[COLOR= #007700].[/COLOR][COLOR= #DD0000]/jwplayer/player.swf">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="wmode" value="transparent">
<param name="flashvars" value="file=http://www.youtube.com/v/[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]youtube[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]&autostart=1&showinfo=0&ps=popup&use_native_controls=0&et=OEgsToPDskLk-TO0Ewc0J7SltcizkpRP&hl=nl_NL&el=popout&version=3&iv_load_policy=3&autohide=1&hd=1&vq=large&hidelogo=1">
<embed
  id="single2"
  name="single2"
  src="[/COLOR][COLOR= #007700].[/COLOR]ROOT[COLOR= #007700].[/COLOR][COLOR= #DD0000]/jwplayer/player.swf"
  width="100%"
  height="320"
  bgcolor="#000000"
  allowscriptaccess="always"
  allowfullscreen="true"
  flashvars="file=http://www.youtube.com/v/[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]youtube[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]&showinfo=0&ps=popup&use_native_controls=0&et=OEgsToPDskLk-TO0Ewc0J7SltcizkpRP&hl=nl_NL&el=popout&version=3&iv_load_policy=3&autohide=1&hd=1&vq=large&hidelogo=1"
/>
</object><br /><a href="http://www.mixedrap.nl/">Track van Mixedrap.nl</a>></td>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</tr>[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</table>[/COLOR][COLOR= #007700];
            }
    }
}[/COLOR]

[COLOR= #0000BB]$core[/COLOR][COLOR= #007700]->[/COLOR]template[COLOR= #007700]->[/COLOR]onder[COLOR= #007700]();[/COLOR]
?>
0
Berichten
1.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb deze fout ook, ik zoek ook een oplossing..
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
In je config / header zit een fout
Aangezien de output leeg is
0
Jeffreyy

Lid · Topicstarter

Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja, maar ik include de zelfde bestanden op elke pagina, en alleen op deze pagina blijft ie wit.
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
zet eens in je config:
error_reporting(E_ALL);
0
Jeffreyy

Lid · Topicstarter

Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dan krijg ik nog steeds niks..
0
Jeffreyy

Lid · Topicstarter

Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Iemand nog een idee?
0
Krm

Lid

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Door die player kan het komen had ik ook
0
Berichten
3.283
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
zet eens ob_start(); bovenaan
0
Jeffreyy

Lid · Topicstarter

Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Marijnnn schreef:
zet eens ob_start(); bovenaan
Werkt niet..
0
Krm

Lid

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jeffrey haal is de player embed code weg en kijk of ie dan werkt
0
Jeffreyy

Lid · Topicstarter

Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dan doet hij het wel, maar hoe krijg ik hem anders werkend?
0
Krm

Lid

Berichten
6.235
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
hmm ik zal vanavond even kijken

EDIT:
ik weet niet of het iets uitmaakt maar moet .ROOT. niet zo zijn .$ROOT.
0
Jeffreyy

Lid · Topicstarter

Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Dingen net als sitenaam en root define ik, vind ik makkelijker werken, en werkt volgens mij ook nog een sneller.
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren