Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> PSNews
misieko
post 18.08.2006, 15:14:50
Post #1





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 18.08.2006

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


witam mam problem z psnews poniewaz na stronie mojej pojawił sie taki błąd co zle zrobiłem.

Warning: main(news\PSNews 1.1 ews/show.php): failed to open stream: No such file or directory in /var/www/sites/yoyo.pl/g/a/garuo/index1.php on line 89

Warning: main(): Failed opening 'news\PSNews 1.1 ews/show.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/sites/yoyo.pl/g/a/garuo/index1.php on line 89

dziękuje za pomoc.
Go to the top of the page
+Quote Post
-Wieviór-
post 18.08.2006, 15:20:41
Post #2





Goście







Prosta interpretacja błędu, nawet php nie trzeba umieć, brakuje pliku show.php
Go to the top of the page
+Quote Post
misieko
post 18.08.2006, 17:16:32
Post #3





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 18.08.2006

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


sprawdziłem na serweze jest ten plik
Go to the top of the page
+Quote Post
Ive
post 18.08.2006, 18:00:44
Post #4





Grupa: Zarejestrowani
Postów: 352
Pomógł: 1
Dołączył: 17.07.2003
Skąd: Kazanów

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


ale zapewne folder sie inaczej nazywa... nie mozesz dawac normalnej spacji tylko trzeba pisac %20 ... tak mi sie przynajmniej wydaje
Go to the top of the page
+Quote Post
-Wieviór-
post 18.08.2006, 18:02:27
Post #5





Goście







Cytat(misieko @ 18.08.2006, 16:14 ) *
Warning: main(): Failed opening 'news\PSNews 1.1 ews/show.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/sites/yoyo.pl/g/a/garuo/index1.php on line 89


Nie wiem jak to tam wygląda z kodu, ale to wygląda mi na błąd.

Ten post edytował Wieviór 18.08.2006, 18:03:02
Go to the top of the page
+Quote Post
misieko
post 18.08.2006, 18:29:27
Post #6





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 18.08.2006

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


juz poprawiłem ale madal jest ten błąd.

Warning: main(news/functions.php): failed to open stream: No such file or directory in /var/www/sites/yoyo.pl/g/a/garuo/news/pliki/news/show.php on line 8

Warning: main(): Failed opening 'news/functions.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/sites/yoyo.pl/g/a/garuo/news/pliki/news/show.php on line 8

Fatal error: Call to undefined function: confload() in /var/www/sites/yoyo.pl/g/a/garuo/news/pliki/news/show.php on line 9

a skrypt na stronie wygląda tak
<?
$newspath = "news";
include("news/pliki/news/show.php");
?>
Go to the top of the page
+Quote Post
loonger
post 18.08.2006, 18:34:36
Post #7





Grupa: Zarejestrowani
Postów: 104
Pomógł: 0
Dołączył: 19.06.2006
Skąd: Wrocław

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


a czy przypadkiem nie powinno byc:
  1. <?php
  2. $newspath="news/pliki/news/"
  3. ?>

strzelam biggrin.gif
Go to the top of the page
+Quote Post
-Wieviór-
post 18.08.2006, 18:49:45
Post #8





Goście







Cytat(loonger @ 18.08.2006, 19:34 ) *
a czy przypadkiem nie powinno byc:
  1. <?php
  2. $newspath="news/pliki/news/"
  3. ?>

strzelam biggrin.gif


To nie to, z tego co pamiętam z psnews, to akurat jest dobrze.

Masz tam functions.php na serwerze? show.php go potrzebuje i jakby go nie może znaleść.

EDIT: Prawda, prawda, prawda!

Ten post edytował Wieviór 18.08.2006, 19:20:11
Go to the top of the page
+Quote Post
misieko
post 18.08.2006, 18:53:25
Post #9





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 18.08.2006

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


nie tak nie moze być poniewaz nie pokazuje się nic tak jak bym nic nie dodał.
a to kawałek instrukcji .

Aby
umieścić skrypt na stronie, należy wkleić na niej poniższy fragment kodu:

<?
$newspath = "news";
include("$newspath/show.php");
?>
Go to the top of the page
+Quote Post
-Wieviór-
post 18.08.2006, 18:55:15
Post #10





Goście







hmn, czyli show.php już Ci działa, a masz w katalogu news functions.php?
Go to the top of the page
+Quote Post
misieko
post 18.08.2006, 19:02:39
Post #11





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 18.08.2006

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


tak mam
tu jest moje gg 1567592 zeby nie zaśmiecać forum

Ten post edytował misieko 18.08.2006, 19:04:50
Go to the top of the page
+Quote Post

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 Wersja Lo-Fi Aktualny czas: 8.07.2025 - 06:28