Cytat(Turson @ 14.02.2014, 21:10:08 )

Wklej po prostu swój kod
Opisze od początku wszystko jeszcze raz.
W zainstalowanym skrypcie w pliku profil.php dokonałem drobnych zmian
Poniżej fragment kodu pliku oryginalnego profil.php
while($w = $q->fetch()) {
echo '<h4><a href="./profil,'.$w['u_id'].','.koduj
($w['login']).'.html" style="color:#FC9;">'.$w['login'].'</a>'.mod_profil
($this->u_id).'</h4>';
if(id()!==$this->u_id) {
echo '<div style="padding:0px 0px 0px 0px;margin:0px;height:30px;"><strong>Oceń:</strong>'; for($i=1; $i<11; $i++) {
echo '<a title="Ocena '.$i.'" id="v'.$i.'" style="margin:3px;">'.$i.'</a>'; }
</span>
<span class="ocena">Ocena: '.ocena_print($this->u_id).' ('.glosow_print($this->u_id).' głosów)</span>
<span class="ocena2"></span>
</div>
<a id="friend" style="float:left;padding:0px 9px 0px 9px;color:#000;margin-top:0px;">Dodaj do znajomych</a>
<a id="fav" style="float:left;margin-top:0px;padding:0px 9px 0px 9px;color:#000;">Dodaj do ulubionych</a>
<a id="confirm" style="float:left;margin-top:0px;padding:0px 9px 0px 9px;color:#F00;"></a>
<div class="clear"></div>
';
} else {
echo '<span class="ocena">Ocena: '.ocena_print
($this->u_id).' ('.glosow_print
($this->u_id).' głosów)</span><br/>'; }
echo '<a href="./profil,'.$w['u_id'].','.koduj
($w['login']).'.html"><img src="'.awatar
($w['awatar']).'" class="photo"/></a>'; echo '<br/><a href="msg_write,'.$w['u_id'].','.koduj
($w['login']).'.html" style="font-size:11px;">Napisz wiadomość</a><br><br>'; if(!empty($w['status_desc'])) { echo '<p class="status">"'.$w['status_desc'].'"</p>'; }
a to są moje zmiany
while($w = $q->fetch()) {
echo '<h4><a href="./profil,'.$w['u_id'].','.koduj
($w['login']).'.html" style="color:#FC9;">'.$w['login'].'</a>'.mod_profil
($this->u_id).'</h4>';
if(id()!==$this->u_id) {
echo '<div style="padding:0px 0px 0px 0px;margin:0px;height:30px;"><strong>Oceń:</strong>'; for($i=1; $i<11; $i++) {
echo '<a title="Ocena '.$i.'" id="v'.$i.'" style="margin:3px;">'.$i.'</a>'; }
</span>
<span class="ocena">Ocena: '.ocena_print($this->u_id).' ('.glosow_print($this->u_id).' głosów)</span>
<span class="ocena2"></span>
</div>
<div class="clear"></div>
';
} else {
echo '<span class="ocena">Ocena: '.ocena_print
($this->u_id).' ('.glosow_print
($this->u_id).' głosów)</span><br/>'; }
echo '<a href="./profil,'.$w['u_id'].','.koduj
($w['login']).'.html"><img src="'.awatar
($w['awatar']).'" class="photo"/></a>'; echo '<br/><a href="msg_write,'.$w['u_id'].','.koduj
($w['login']).'.html" style="font-size:11px;"><img src="./img/email16.gif" /> Napisz wiadomość</a><br><br>';
if(id()!==$this->u_id) {
<div style="padding:0px 0px 0px 0px;margin:0px;height:30px;">
<a id="friend" style="float:left;padding:0px 9px 0px 9px;color:#000;margin-top:0px;"><img src="./img/group.png" /> Dodaj do znajomych</a>
<a id="fav" style="float:right;margin-top:0px;padding:0px 9px 0px 9px;color:#000;"><img src="./img/sercex.jpg" /> Dodaj do ulubionych</a>
<a id="confirm" style="float:left;margin-top:0px;padding:0px 9px 0px 9px;color:#F00;"></a><br><br>
</div>
<div class="clear"></div>
';
}
if(!empty($w['status_desc'])) { echo '<p class="status">"'.$w['status_desc'].'"</p>'; }
W efekcie tych zmian gdy chce sie zarejestrować jako nowy uzytkownik to juz wyświetla sie taki komunikat.
Warning: Cannot modify header information - headers already sent by (output started at /public_html/ilove14/register.php:1) in /public_html/ilove14/register.php on line 184
Skrypt wysłał email na skrzynke pocztową
Klikam w link aktywacyjny i pojawia się :
Warning: Cannot modify header information - headers already sent by (output started at /public_html/ilove14/loguj_aktywuj.php:1) in /public_html/ilove14/loguj_aktywuj.php on line 14
Pytanie teraz do Fachowca - Czy popełniłem jakiś błąd w kodzie pliku profil.php
Czy wkleić i jeśli tak to który kod pliku z pojawiajacych się scieżek błędów ?
Pozdrawiam