Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php] PHPATM na php5
pitu
post
Post #1





Grupa: Zarejestrowani
Postów: 476
Pomógł: 96
Dołączył: 10.04.2008
Skąd: Koszalin

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


Cześć

Mam pytanie wgrałem skrypt phpatm naserwer z php5 i wyświetla mi jak wpisuję adres białą stronę, kiedyś jak wgrywałem go na innym serwerze był tam php4 to działał. Czy białe strony mogą być objawem niezgodności skryptu z php5? Jeśli tak to czy da się to w jakis łatwy sposób przerobić na php5.
Go to the top of the page
+Quote Post
Cezar708
post
Post #2





Grupa: Zarejestrowani
Postów: 1 116
Pomógł: 119
Dołączył: 10.05.2005
Skąd: Poznań

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


tak to może być "niezgodność" włącz logowanie błędów na ekran to PHP powie Ci co jest nie tak (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
pitu
post
Post #3





Grupa: Zarejestrowani
Postów: 476
Pomógł: 96
Dołączył: 10.04.2008
Skąd: Koszalin

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


A jak włączyć to "logowanie błędów"??
Go to the top of the page
+Quote Post
marcio
post
Post #4





Grupa: Zarejestrowani
Postów: 2 291
Pomógł: 156
Dołączył: 23.09.2007
Skąd: ITALY-MILAN

Ostrzeżenie: (10%)
X----


  1. <?php
  2. ?>
Go to the top of the page
+Quote Post
pitu
post
Post #5





Grupa: Zarejestrowani
Postów: 476
Pomógł: 96
Dołączył: 10.04.2008
Skąd: Koszalin

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


Hmmm wkleiłem ten kod do index.php w skrypt php ale nic nie wyświetliło ciągle biała strona (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Mam pytanie czy mógł by ktoś sprawdzić na swoim serwerze jak ma php5 czy działa mu ten skrypt PHPATM dokładny link do ściągnięcia: http://flavaclown.de/downloads/index.php?a...directory=&

Skrypt nie opiera się na bazie więc tylko wrzucić na ftp pliczki (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Pozdrawiam
Go to the top of the page
+Quote Post
nospor
post
Post #6





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




na samym poczatku glownego skryptu ma byc:
  1. <?php
  2. ini_set('display_errors','1');
  3. ?>

W poprzednim poscie zapomniano o wyswietlaniu (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
pitu
post
Post #7





Grupa: Zarejestrowani
Postów: 476
Pomógł: 96
Dołączył: 10.04.2008
Skąd: Koszalin

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


Wywal mi takie błędy, od czego one mogą być coś tam z plikiem conf.php ale nie znma się:

  1. <?php
  2. Notice: Undefined variable: HTTP_SERVER_VARS in /var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs/index.php on line 129
  3. function.main
  4. Warning: main() [function.main]: open_basedir restriction in effect. File(/include/conf.php) is not within the allowed path(s): (/var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs:/tmp) in /var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs/index.php on line 130
  5.  
  6. Warning: main(/include/conf.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs/index.php on line 130
  7.  
  8. Warning: main() [function.include]: Failed opening '/include/conf.php' for inclusion (include_path='.:.:') in /var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs/index.php on line 130
  9.  
  10. Notice: Undefined variable: phpExt in /var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs/index.php on line 131
  11.  
  12. Warning: main() [function.main]: open_basedir restriction in effect. File(/include/common.) is not within the allowed path(s): (/var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs:/tmp) in /var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs/index.php on line 131
  13.  
  14. Warning: main(/include/common.) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs/index.php on line 131
  15.  
  16. Warning: main() [function.include]: Failed opening '/include/common.' for inclusion (include_path='.:.:') in /var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs/index.php on line 131
  17.  
  18. Fatal error: Call to undefined function getFilesVar() in /var/www/vhosts/mojastrona.pl/subdomains/mojasubdomena/httpdocs/index.php on line 1199
  19. ?>


Dlate najlepiej jak by ktoś sprawdził na serwerze z php5 czy chodzi mu ten skrypt bo jak nie to będe musiał zmienić na inny (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Ponawiam prośbę czy mógł by ktoś wrzucić ten skrypt do siebie jeśli masz serwer z php5?
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 22.08.2025 - 17:49