Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> Nie działa mi strona php
marnin
post 13.12.2006, 23:07:54
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 13.12.2006

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


Witam!
Mam szablon strony php, który wysłałem przez FTP na serwer yoyo.pl (ten serwer obsługuje php) i kiedy wchodzę na swoją stronę to nic się nie pokazuje. Może trzeba jakoś inaczej wysyłać? Proszę o pomoc.
Go to the top of the page
+Quote Post
Cysiaczek
post 13.12.2006, 23:11:55
Post #2





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




A może tak powiesz do jakiego katalogu? Bo wysłać można, ale trzeba wiedzieć gdzie. Więcej info daj. Np. gdzie masz plik index.php?

Pozdrawiam.


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
marnin
post 13.12.2006, 23:16:00
Post #3





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 13.12.2006

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


index.php jest w głownym katalogu
Go to the top of the page
+Quote Post
Cysiaczek
post 13.12.2006, 23:19:55
Post #4





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Podaj adres, bo inaczej ciężko. Aha. Wklej zawartość pliku index.php


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
legorek
post 13.12.2006, 23:20:01
Post #5





Grupa: Zarejestrowani
Postów: 411
Pomógł: 35
Dołączył: 27.06.2004
Skąd: Kraków

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


A mi nie działa samochód.

Dla utrudnienia nie podam jaka to marka model i czy w ogóle ma silnik. Po prostu wsiadam i nie jedzie. Możecie coś poradzić?


Do autora tematu: pokaż kod strony, to może pomożemy.


--------------------
Go to the top of the page
+Quote Post
marnin
post 13.12.2006, 23:28:12
Post #6





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 13.12.2006

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


To jest kod strony głównej:
<html>
<head>
<title>
<? echo $site_name ?>
-
<? echo $site_title ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<? echo $meta_info ?>
<? echo $head_info ?>
<link rel="stylesheet" href="<? echo "theme/$theme/"; ?>style.css" type="text/css">
</head>
<body background="<? echo "theme/$theme/"; ?>gfx/bg.gif">
<div align="center">
<table cellspacing=0 cellpadding=0 width=760 border=0 align="center">
<tr>
<td bgcolor=#000000>
<table cellspacing=1 cellpadding=0 width="100%" border=0>

<tr>
<td bgcolor=#efefef>
<table cellspacing=0 cellpadding=0 border=0 width=758>
<tr>
<td bgcolor=#efefef width="4"><img height=4 alt="" src="gfx/separ.gif" width=4></td>
<td bgcolor=#efefef width="752"></td>
<td bgcolor=#efefef width="2"><img height=4 alt="" src="gfx/separ.gif" width=2></td>
</tr>
<tr>
<td bgcolor=#efefef width="4"></td>
<td valign=top width="752" align="center">
<? header_open();echo '<center>';banner('bannerA');echo '</center>';header_close();?>
</td>

<td width=2 bgcolor=#efefef></td>
</tr>
<tr>
<td bgcolor=#efefef width="4"><img height=4 alt="" src="gfx/separ.gif" width=4></td>
<td bgcolor=#efefef width="752"></td>
<td bgcolor=#efefef width="2"></td>
</tr>
<tr>
<td bgcolor=#efefef width="4"></td>
<td bgcolor=#efefef width="752" align="center" valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="100%">

<tr>
<td width="145" valign="top">
<? left_menu(); ?>
</td>
<td width="6"><img src="gfx/separ.gif" width="6"></td>
<td align="center" valign="top">
<? print_main() ?>
</td>
<td width="6"><img src="gfx/separ.gif" width="6"></td>
<td width="145" align="right" valign="top">

<? right_menu(); ?>
</td>
</tr>
</table>
</td>
<td bgcolor=#efefef width="2"></td>
</tr>
<tr>
<td bgcolor=#efefef width="4" height="4"><img height=4 alt="" src="gfx/separ.gif" width=4></td>

<td bgcolor=#efefef width="752"></td>
<td bgcolor=#efefef width="2"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>

</table>
<br>
<? footer($footer1, $footer2); ?>
</div>
</body>
</html>

A szablon pobrany jest ze strony:http://www.jportal.info/szablony.php
Go to the top of the page
+Quote Post
Cysiaczek
post 13.12.2006, 23:36:36
Post #7





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




No dobrze, ale gdzie jest silnik tej strony?
Skąd bierzesz wartości zmiennych?
Rozumiem, że to "twój pierwszy" raz ze stronami www?
Nic złego, ale....
Jeśli tak, to polecam Temat: Kursy dla poczatkujacych, bo inaczej nie ruszysz. : (

Pozdrawiam.


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
Go to the top of the page
+Quote Post
Sabistik
post 14.12.2006, 09:39:08
Post #8


Administrator wortalu


Grupa: Przyjaciele php.pl
Postów: 960
Pomógł: 39
Dołączył: 21.10.2003
Skąd: Kraków

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


1) Przenoszę na przedszkole.
2) Proszę poprawić temat na zgodny z regulamin oraz dodać tag zgodny z forum przedszkole.
3) Używaj bbcode!! (popraw w poprzednim poście)
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: 14.08.2025 - 08:05