Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] Warning:
Day Walker
post
Post #1





Grupa: Zarejestrowani
Postów: 29
Pomógł: 0
Dołączył: 14.03.2007

Ostrzeżenie: (0%)
-----


  1. <?php
  2. Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:Program FilesWebServhttpdpsaaa.php:8) in C:Program FilesWebServhttpdpsstrona1.php on line 1
  3.  
  4. Warning: Cannot modify header information - headers already sent by (output started at C:Program FilesWebServhttpdpsaaa.php:8) in C:Program FilesWebServhttpdpsstrona1.php on line 4
  5.  
  6. Warning: Cannot modify header information - headers already sent by (output started at C:Program FilesWebServhttpdpsaaa.php:8) in C:Program FilesWebServhttpdpsstrona1.php on line 5
  7.  
  8. Warning: Cannot modify header information - headers already sent by (output started at C:Program FilesWebServhttpdpsaaa.php:8) in C:Program FilesWebServhttpdpsstrona1.php on line 6
  9.  
  10. Warning: Cannot modify header information - headers already sent by (output started at C:Program FilesWebServhttpdpsaaa.php:8) in C:Program FilesWebServhttpdpsstrona1.php on line 7
  11.  
  12. Warning: Cannot modify header information - headers already sent by (output started at C:Program FilesWebServhttpdpsaaa.php:8) in C:Program FilesWebServhttpdpsstrona1.php on line 8
  13.  
  14. Warning: Cannot modify header information - headers already sent by (output started at C:Program FilesWebServhttpdpsaaa.php:8) in C:Program FilesWebServhttpdpsstrona1.php on line 9
  15.  
  16. Warning: Cannot modify header information - headers already sent by (output started at C:Program FilesWebServhttpdpsaaa.php:8) in C:Program FilesWebServhttpdpsstrona1.php on line 26
  17. ?>


Robię strone w edytorze PHP Maker i mam dwa panele na stronie jeden do wyświetlania treści a drugi jako np. Najnopwsze tutoriale (wyświuetlane tam bedą 10 ost. rekordów dodanych do bazy tutoriali) i gdy klikne na Tytuł danego tutka w tym panelu przeniesie mnie do Własciwej pozycji (tego kliknietego Tutoriala)

Ten błąd pokazuje mi sie gdy: zaincluduje ten skrypt panelu "Najnowsze Tutoriale" na strone... Powiem ze to jest oparte o system templatek (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Ktoś pomoże ? jesli chcecie mogę powiedzieć więcej, jezeli wyżej jest napisane niezrozumiale (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

To mi zostało do zrobienia i ruszam ze stronką (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Proszę o Helpa!
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Day Walker
post
Post #2





Grupa: Zarejestrowani
Postów: 29
Pomógł: 0
Dołączył: 14.03.2007

Ostrzeżenie: (0%)
-----


Cytat(tansky @ 21.03.2007, 23:16:14 ) *
No, po raz wtóry deklarujesz basicsearchsql()... przecież pisze. Jeśli nie rozumiesz komunikatów z debuggera to raczej nie zaczynaj przygody z pehape.

Zatem niech będzie (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
  1. <?php
  2. Straszliwy błąd: Nie można raz jeszcze zadeklarować basicsearchsql() (poprzednio deklarowana w C:Program FilesWebServhttpdpsdownloadlist.php:404) w C:Program FilesWebServhttpdpsCustomView1list.php w linii 380
  3. ?>


Więc jak to naprawić ? Pozmieniać nazwy Funkcji na inne ? Chyba pliki z Funkjami tez będe musiał skopiowac i zmienic nazwe...

w jednym pliku bedize:

  1. <?php 
  2. ?>
  3. <?php include ("ewconfig.php") ?>
  4. <?php include ("db.php") ?>
  5. <?php include ("CustomView1info.php") ?>
  6. <?php include ("advsecu.php") ?>
  7. <?php include ("phpmkrfn.php") ?>
  8. <?php include ("ewupload.php") ?>
  9. <?php
  10. if (!IsLoggedIn()) {
  11. header("Location: login.php");
  12. exit();
  13. }
  14. ?>


a w drugim:

  1. <?php 
  2. ?>
  3. <?php include ("1ewconfig.php") ?>
  4. <?php include ("1db.php") ?>
  5. <?php include ("1CustomView1info.php") ?>
  6. <?php include ("1advsecu.php") ?>
  7. <?php include ("1phpmkrfn.php") ?>
  8. <?php include ("1ewupload.php") ?>
  9. <?php
  10. if (!IsLoggedIn()) {
  11. header("Location: login.php");
  12. exit();
  13. }
  14. ?>


I z reszta tez (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)

np:

Kod
basicsearchsql

na
Kod
1basicsearchsql


Ten post edytował Day Walker 21.03.2007, 23:25:18
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 15.10.2025 - 08:31