Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]PHP NEWS SYSTEM
foggy
post
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 30.01.2011

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


WItam

(IMG:style_emoticons/default/withstupidsmiley.gif)
Znalazłem coś takiego php news http://newsphp.sourceforge.net/downloads.php
najprostsza i dzialajaca instalka jaka dostalem. Wszystko przeszlo bez problemu jednak pojawil sie wtedy gdy news nie wyswietlaly sie w ogole na stronie.
W poradniku pisalo ze wystarczy wkleic wiersz
  1. <?php
  2. include("path/to/phpnews/news.php");
  3. ?>

Tak zrobiłem do index.php (przerobiony z html - na zasadzie otworz zapisz jako php w adobe dreamweaver cs5)
dodalem ten wiersz, na stronce wpisalem newsa i wyskoczył nastepujacy błąd

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /virtual/pl/h2/nazwastrony/index.php on line 17

Warning: include(http://mojastrona/h2.pl/phpnews/news.php) [function.include]: failed to open stream: no suitable wrapper could be found in /virtual/pl/h2/mojsatrona/index.php on line 17

Warning: include() [function.include]: Failed opening 'http://mojastrona/h2.pl/phpnews/news.php' for inclusion (include_path='.:/usr/lib64/php5:/usr/share/pear:/usr/share/php:/usr/share/php5:/usr/share/php/smarty') in /virtual/pl/h2/nazwastrony/index.php on line 17
FAIL (the browser should render some flash content, not this).
Username Passwor
Go to the top of the page
+Quote Post

Posty w temacie
- foggy   [PHP]PHP NEWS SYSTEM   30.01.2011, 04:25:22
- - yevaud   nie podawaj calego url w include, tylko sciezke do...   30.01.2011, 05:35:02
- - foggy   Dzieki wielki   30.01.2011, 15:59:09


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 - 23:35