Drukowana wersja tematu

Kliknij tu, aby zobaczyć temat w orginalnym formacie

Forum PHP.pl _ Gotowe rozwiązania _ Dziwne ...

Napisany przez: Anonymous 25.06.2002, 20:48:39

Dlaczego skrypt działa u mnie na localhoscie a na serwerze qmpla nie działa ? Co może być tego przyczyną ?

Napisany przez: Seth 25.06.2002, 20:57:15

Moze zupa byla za slona, zaczelo padac, skonczyl sie papier toaletowy... konkrety prosze:
Jaki skrypt (opis),
jaki masz serwer (+ jakie uslugi),
a jaki ma twoj qmpel. :?:

Napisany przez: Anonymous 25.06.2002, 21:22:57

Skrypt Profile
Mój serwer Apache
Qmpla serwer enterpol.pl

Napisany przez: Anonymous 25.06.2002, 21:57:30

Apacha mam z zaintalowanym php 3 i 4 a serwer qmpla (enterpol.pl) ma obsługe php posieda mySQL itd.
Dokładnie pokazuje sie taki błąd przy zakładaniu profilu:

Warning: fopen("profile/ZLOTY.php","w+") - Permission denied in /home/users/znajomi/lukasz/public_html/profile/index.php on line 140

Warning: Supplied argument is not a valid File-Handle resource in /home/users/znajomi/lukasz/public_html/profile/index.php on line 144

Warning: Cannot add header information - headers already sent by (output started at /home/users/znajomi/lukasz/public_html/profile/index.php:140) in /home/users/znajomi/lukasz/public_html/profile/include.php on line 12

Warning: Cannot add header information - headers already sent by (output started at /home/users/znajomi/lukasz/public_html/profile/index.php:140) in /home/users/znajomi/lukasz/public_html/profile/include.php on line 13

Warning: Cannot add header information - headers already sent by (output started at /home/users/znajomi/lukasz/public_html/profile/index.php:140) in /home/users/znajomi/lukasz/public_html/profile/include.php on line 14

Warning: Cannot add header information - headers already sent by (output started at /home/users/znajomi/lukasz/public_html/profile/index.php:140) in /home/users/znajomi/lukasz/public_html/profile/include.php on line 15

Napisany przez: Seth 25.06.2002, 22:09:23

Wiec tak:

Cytat
Warning: fopen("profile/ZLOTY.php","w+") - Permission denied in /home/users/znajomi/lukasz/public_html/profile/index.php on line 140

nie mozesz odczytywac plikow bo nie masz do tego uprawnien (twoj skrypt nie ma) ustaw to chmod'em

Cytat
Warning: Supplied argument is not a valid File-Handle resource in /home/users/znajomi/lukasz/public_html/profile/index.php on line 144

Ten blad powstaje z przyczyny tego bledu ktory masz wyzej w lini 140

Cytat
Warning: Cannot add header information - headers already sent by (output started at /home/users/znajomi/lukasz/public_html/profile/index.php:140) in /home/users/znajomi/lukasz/public_html/profile/include.php on line 12

Warning: Cannot add header information - headers already sent by (output started at /home/users/znajomi/lukasz/public_html/profile/index.php:140) in /home/users/znajomi/lukasz/public_html/profile/include.php on line 13

Warning: Cannot add header information - headers already sent by (output started at /home/users/znajomi/lukasz/public_html/profile/index.php:140) in /home/users/znajomi/lukasz/public_html/profile/include.php on line 14

Warning: Cannot add header information - headers already sent by (output started at /home/users/znajomi/lukasz/public_html/profile/index.php:140) in /home/users/znajomi/lukasz/public_html/profile/include.php on line 15

header musi byc wyslany zanim wyslesz cos innego.

Napisany przez: Anonymous 25.06.2002, 23:07:33

A co to jes header ? biggrin.gif

Napisany przez: Anonymous 25.06.2002, 23:09:14

A wiesz to jest bardziej dziwne, że na free.komrelu ten skrypt działa - nawet bez ustawień chmoda ..

Napisany przez: Anonymous 25.06.2002, 23:17:11

Dobra dzieki stary za pomoc juz wszystko działa ... Prosze o usunięcie juz posta smile.gif

Napisany przez: Sir Blade 25.06.2002, 23:24:46

tu automatyczna gabka....wymazuje dane....error... skontaktuj sie z administratorem sieci.... :wink:

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)