Google+

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problema pagina parteneri
#1
Am adaugat pagina de parteneri exact cum este in tutorialul acesta Pagina Parteneri, dar cand am verificat si uite ce mi-a aparut :
[Image: eroare.jpg]

http://postimage.org/image/131g4mb1g/

Din ce cauza ?
#2
Nu se vede nimic din poza... E prea mica...
Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.
#3
am modificat poza si am adaugat un link suplimentar .
#4
Vrifica la noua pagina de parteneri daca ai lasat vre-un spatiu inainte de tag-ul de deschidere al PHP, mai precis inainte de <?php sa nu ai spatiu sau vre-o linie goala, asta ar fi unul din motive pentru care ti-ar putea aparea problema aia.
#5

PHP Code:
1
2
3
4
5
6
7
<center><?php
define('IN_MYBB', 1);
require "./global.php";
add_breadcrumb("Parteneri", "parteneri.php");
eval("\$parteneri = \"".$templates->get("parteneri")."\";");
output_page($parteneri);
?></center>


asa arata pagina parteneri.php

#6
Cauta te rog templateul "parteneri" din sectiunea Templates and Styles si ataseaza aici continutul lui...
Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.
#7
Acele tag-uri <center> si </center> nu au ce cauta acolo, stergele, sunt aproape sigur ca ele sunt cauza acelei erori, nu asa se centreaza ceva in php.
Ai grija deasemeni ca inaintea tag-ului de deschidere <?php sa nu fie niciun spatiu gol sau niciun fel de HTML, nimic.
#8

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html>
<head>
<title>{$mybb->settings[bbname]}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<table width="100%" border="0">
<thead>

<tr>
<th>Parteneri</th>
</tr>
<tbody>

<tr>
<td><center><a href="http://www.PortalMuzica.com" title="Muzica noua" target="_blank"><img src="http://www.PortalMuzica.com/images/bannere/banner88x31.gif" border="0" alt="Muzica noua"></a></center></td>
</tr>

<tr>
<td><a href="#">Partener 2</a></td>
</tr>

<tr>
<td><a href="#">Partener 3</a></td>
</tr>

<tr>
<td><a href="#">Partener 4</a></td>
</tr>

</tbody>
</table>
{$footer}
</body>
</html>

#9
(01-29-2011, 12:44 PM)absirt Wrote: Acele tag-uri <center> si </center> nu au ce cauta acolo, stergele, sunt aproape sigur ca ele sunt cauza acelei erori, nu asa se centreaza ceva in php.
Ai grija deasemeni ca inaintea tag-ului de deschidere <?php sa nu fie niciun spatiu gol sau niciun fel de HTML, nimic.
Nici eu nu am mai văzut aşa ceva... Trebuie scoasă centrarea aia chiar dacă s-ar putea să meargă...
(01-29-2011, 09:54 PM)S0wL Wrote:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html>
<head>
<title>{$mybb->settings[bbname]}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<table width="100%" border="0">
<thead>

<tr>
<th>Parteneri</th>
</tr>
<tbody>

<tr>
<td><center><a href="http://www.PortalMuzica.com" title="Muzica noua" target="_blank"><img src="http://www.PortalMuzica.com/images/bannere/banner88x31.gif" border="0" alt="Muzica noua"></a></center></td>
</tr>

<tr>
<td><a href="#">Partener 2</a></td>
</tr>

<tr>
<td><a href="#">Partener 3</a></td>
</tr>

<tr>
<td><a href="#">Partener 4</a></td>
</tr>

</tbody>
</table>
{$footer}
</body>
</html>

Oricum problema e ca la scriptul asta e o varabilă {$header} care de obicei conţine cod javascript sau linkuri către css-uri şi deci nu are ce căuta după body ci ar trebui înainte de </head> .

Users : collective term for those who use computers. Users are divided into three types : novice, intermediate and expert.
Novice users : people who are afraid that simply pressing a key might break their computer.
Intermediate users : people who don`t know how to fix their computer after they`ve just pressed a key that broke it.
Expert users : people who break other people`s computers.
#10
gata s-a rezolvat ! . multumesc mult de sfaturi .


Forum Jump:


Users browsing this thread: 1 Guest(s)